[Samba] winbind working then not working !

James G. McIntyre jmcintyr at i-plus.net
Fri Mar 1 16:12:06 GMT 2002


having similar problems to others concerning winbindd. we got it up and
running on redhat 7.2, 2.4.9-21 kernal, rpm samba-2.2.3a-20020206. a few
problems to make it work. then rebooted machine and it no longer works.

smb and nmb appear to be working correctly. you can see the samba-server
from network neighborhood and select on the partitions. when you look at the
permissions, everything is owned by the samba-server\user+10000.

on reviewing the log winbindd can not connect to pdc. running ethereal i see
the samba server sending 2 udp packets to the pdc. but there is no response
from the pdc. part of the packet is below. both packets sent by the samba
server are the same.

    Queries
        PFC_DOM        <1c>: type NBSTAT, class inet
            Name: PFC_DOM        <1c> (Domain Controllers)
            Type: NBSTAT
            Class: inet

log.winbindd

[2002/03/01 16:39:02, 2] lib/interface.c:add_interface(81)
  added interface ip=190.100.4.66 bcast=190.100.7.255 nmask=255.255.252.0
[2002/03/01 16:39:02, 1] nsswitch/winbindd_util.c:get_domain_info(137)
  getting trusted domain list
[2002/03/01 16:39:02, 10] nsswitch/winbindd_cm.c:cm_get_dc_name(131)
  Creating get_dc_name_cache entry for PFC_DOM
[2002/03/01 16:39:02, 3] libsmb/namequery.c:resolve_lmhosts(752)
  resolve_lmhosts: Attempting lmhosts lookup for name pfcpdc<0x20>
[2002/03/01 16:39:02, 4] libsmb/namequery.c:getlmhostsent(518)
  getlmhostsent: lmhost entry: 127.0.0.1 localhost
[2002/03/01 16:39:02, 3] libsmb/namequery.c:resolve_hosts(792)
  resolve_hosts: Attempting host lookup for name pfcpdc<0x20>
[2002/03/01 16:39:02, 3] lib/util_sock.c:open_socket_in(798)
  bind succeeded on port 0
[2002/03/01 16:39:02, 5] libsmb/nmblib.c:send_udp(741)
  Sending a packet of len 50 to (190.100.4.13) on port 137
[2002/03/01 16:39:04, 5] libsmb/nmblib.c:send_udp(741)
  Sending a packet of len 50 to (190.100.4.13) on port 137
[2002/03/01 16:39:06, 3] nsswitch/winbindd_cm.c:cm_get_dc_name(174)
  Error looking up DC name for 190.100.4.13 in domain PFC_DOM
[2002/03/01 16:39:06, 3] nsswitch/winbindd_cm.c:cm_get_lsa_handle(372)
  Could not connect to a dc for domain PFC_DOM
[2002/03/01 16:39:30, 6] nsswitch/winbindd.c:new_connection(406)
  accepted socket 10

wbinfo -t
Secret is bad
0xc0000001 or e5
wbinfo -u
Error looking up domain users
wbinfo -g
Error looking up domain groups

appreciate any assistance.

jim mc....





More information about the samba mailing list