I have a FC4 box acting as the PDC, using samba 3.0.23 The PCs are having trouble joining the domain/logging into the domain. I have traced this back to what I think is a problem with winbind knowing the name of the server. Immediately after a restart of samba, things work for a few minutes and I get this: [root@anserver ~]# wbinfo -N anserver 10.50.4.252 anserver after a few minutes, things stop working and I get this: [root@anserver ~]# wbinfo -N anserver Could not lookup WINS by name anserver However, it seems to work find for other computers [root@anserver ~]# wbinfo -N and_lin 10.50.4.3 and_lin My smb.conf [global] unix charset = LOCALE workgroup = ANDERSON netbios name = ANSERVER interfaces = eth0, lo bind interfaces only = Yes passdb backend = ldapsam:ldap://anserver.fnbanderson.com check password script = /usr/local/sbin/passwdcheck username map = /etc/samba/smbusers #log level = 2 vfs:2 log level = 5 # syslog = 0 # log file = /var/log/samba/%U.%m.log log file = /var/log/samba/%m.log max log size = 0 smb ports = 139 name resolve order = wins bcast hosts time server = Yes printcap name = cups show add printer wizard = No add user script = /usr/sbin/smbldap-useradd -m "%u" delete user script = /usr/sbin/smbldap-userdel "%u" add group script = /usr/sbin/smbldap-groupadd -p "%g" delete group script = /usr/sbin/smbldap-groupdel "%g" add user to group script = /usr/sbin/smbldap-groupmod -m "% u" "%g" delete user from group script = /usr/sbin/smbldap-groupmod - x "%u" "%g" set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u" add machine script = /usr/sbin/smbldap-useradd -w "%u" logon script = scripts\%U.logon.bat logon path = \\%L\profiles\%U logon drive = X: domain logons = Yes preferred master = Yes wins support = yes ldap admin dn = cn=Manager,dc=fnbanderson,dc=com ldap group suffix = ou=Groups ldap idmap suffix = ou=Idmap ldap machine suffix = ou=People ldap suffix = dc=fnbanderson,dc=com ldap user suffix = ou=People idmap backend = ldap:ldap://anserver.fnbanderson.com idmap uid = 10000-20000 idmap gid = 10000-20000 create mask = 0770 force create mode = 0660 directory mask = 02770 force directory mode = 02770 map acl inherit = Yes The logs from winbindd.log for a broken lookup [2006/07/19 12:26:30, 3] nsswitch/ winbindd_misc.c:winbindd_interface_version(474) [ 0]: request interface version [2006/07/19 12:26:30, 3] nsswitch/ winbindd_misc.c:winbindd_priv_pipe_dir(507) [ 0]: request location of privileged pipe [2006/07/19 12:26:30, 3] nsswitch/winbindd_wins.c:winbindd_wins_byname (194) [ 0]: wins_byname anserver [2006/07/19 12:26:30, 3] libsmb/namequery.c:resolve_wins(836) resolve_wins: Attempting wins lookup for name anserver<0x20> [2006/07/19 12:26:30, 4] lib/wins_srv.c:wins_srv_is_dead(111) wins_srv_is_dead: 127.0.0.1 is dead [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_KEEPALIVE = 0 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_REUSEADDR = 1 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_BROADCAST = 1 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(204) Could not test socket option TCP_NODELAY. [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(204) Could not test socket option TCP_KEEPCNT. [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(204) Could not test socket option TCP_KEEPIDLE. [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(204) Could not test socket option TCP_KEEPINTVL. [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option IPTOS_LOWDELAY = 0 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option IPTOS_THROUGHPUT = 0 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_SNDBUF = 107520 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_RCVBUF = 107520 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_SNDLOWAT = 1 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_RCVLOWAT = 1 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_SNDTIMEO = 0 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_RCVTIMEO = 0 [2006/07/19 12:26:30, 5] libsmb/nmblib.c:send_udp(777) Sending a packet of len 50 to (10.50.4.255) on port 137 [2006/07/19 12:26:30, 5] libsmb/nmblib.c:send_udp(777) Sending a packet of len 50 to (10.50.4.255) on port 137 [2006/07/19 12:26:31, 5] libsmb/nmblib.c:send_udp(777) Sending a packet of len 50 to (10.50.4.255) on port 137 [2006/07/19 12:26:31, 5] libsmb/nmblib.c:send_udp(777) Sending a packet of len 50 to (127.255.255.255) on port 137 [2006/07/19 12:26:31, 5] libsmb/nmblib.c:send_udp(777) Sending a packet of len 50 to (127.255.255.255) on port 137 [2006/07/19 12:26:32, 5] libsmb/nmblib.c:send_udp(777) Sending a packet of len 50 to (127.255.255.255) on port 137
I have a FC4 box acting as the PDC, using samba 3.0.23 The PCs are having trouble joining the domain/logging into the domain. I have traced this back to what I think is a problem with winbind knowing the name of the server. Immediately after a restart of samba, things work for a few minutes and I get this: [root@anserver ~]# wbinfo -N anserver 10.50.4.252 anserver after a few minutes, things stop working and I get this: [root@anserver ~]# wbinfo -N anserver Could not lookup WINS by name anserver However, it seems to work find for other computers [root@anserver ~]# wbinfo -N and_lin 10.50.4.3 and_lin My smb.conf [global] unix charset = LOCALE workgroup = ANDERSON netbios name = ANSERVER interfaces = eth0, lo bind interfaces only = Yes passdb backend = ldapsam:ldap://anserver.fnbanderson.com check password script = /usr/local/sbin/passwdcheck username map = /etc/samba/smbusers #log level = 2 vfs:2 log level = 5 # syslog = 0 # log file = /var/log/samba/%U.%m.log log file = /var/log/samba/%m.log max log size = 0 smb ports = 139 name resolve order = wins bcast hosts time server = Yes printcap name = cups show add printer wizard = No add user script = /usr/sbin/smbldap-useradd -m "%u" delete user script = /usr/sbin/smbldap-userdel "%u" add group script = /usr/sbin/smbldap-groupadd -p "%g" delete group script = /usr/sbin/smbldap-groupdel "%g" add user to group script = /usr/sbin/smbldap-groupmod -m "% u" "%g" delete user from group script = /usr/sbin/smbldap-groupmod - x "%u" "%g" set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u" add machine script = /usr/sbin/smbldap-useradd -w "%u" logon script = scripts\%U.logon.bat logon path = \\%L\profiles\%U logon drive = X: domain logons = Yes preferred master = Yes wins support = yes ldap admin dn = cn=Manager,dc=fnbanderson,dc=com ldap group suffix = ou=Groups ldap idmap suffix = ou=Idmap ldap machine suffix = ou=People ldap suffix = dc=fnbanderson,dc=com ldap user suffix = ou=People idmap backend = ldap:ldap://anserver.fnbanderson.com idmap uid = 10000-20000 idmap gid = 10000-20000 create mask = 0770 force create mode = 0660 directory mask = 02770 force directory mode = 02770 map acl inherit = Yes The logs from winbindd.log for a broken lookup [2006/07/19 12:26:30, 3] nsswitch/ winbindd_misc.c:winbindd_interface_version(474) [ 0]: request interface version [2006/07/19 12:26:30, 3] nsswitch/ winbindd_misc.c:winbindd_priv_pipe_dir(507) [ 0]: request location of privileged pipe [2006/07/19 12:26:30, 3] nsswitch/winbindd_wins.c:winbindd_wins_byname (194) [ 0]: wins_byname anserver [2006/07/19 12:26:30, 3] libsmb/namequery.c:resolve_wins(836) resolve_wins: Attempting wins lookup for name anserver<0x20> [2006/07/19 12:26:30, 4] lib/wins_srv.c:wins_srv_is_dead(111) wins_srv_is_dead: 127.0.0.1 is dead [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_KEEPALIVE = 0 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_REUSEADDR = 1 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_BROADCAST = 1 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(204) Could not test socket option TCP_NODELAY. [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(204) Could not test socket option TCP_KEEPCNT. [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(204) Could not test socket option TCP_KEEPIDLE. [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(204) Could not test socket option TCP_KEEPINTVL. [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option IPTOS_LOWDELAY = 0 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option IPTOS_THROUGHPUT = 0 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_SNDBUF = 107520 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_RCVBUF = 107520 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_SNDLOWAT = 1 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_RCVLOWAT = 1 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_SNDTIMEO = 0 [2006/07/19 12:26:30, 5] lib/util_sock.c:print_socket_options(206) socket option SO_RCVTIMEO = 0 [2006/07/19 12:26:30, 5] libsmb/nmblib.c:send_udp(777) Sending a packet of len 50 to (10.50.4.255) on port 137 [2006/07/19 12:26:30, 5] libsmb/nmblib.c:send_udp(777) Sending a packet of len 50 to (10.50.4.255) on port 137 [2006/07/19 12:26:31, 5] libsmb/nmblib.c:send_udp(777) Sending a packet of len 50 to (10.50.4.255) on port 137 [2006/07/19 12:26:31, 5] libsmb/nmblib.c:send_udp(777) Sending a packet of len 50 to (127.255.255.255) on port 137 [2006/07/19 12:26:31, 5] libsmb/nmblib.c:send_udp(777) Sending a packet of len 50 to (127.255.255.255) on port 137 [2006/07/19 12:26:32, 5] libsmb/nmblib.c:send_udp(777) Sending a packet of len 50 to (127.255.255.255) on port 137