Debian Sarge, Samba 2.2.12 (legacy install), openLDAP 2.2.17, connecting =
to a PDC running Samba 2.2.8a. The machine in question failed DIAGNOSIS.txt=
step 3.

I've got a really odd issue -- a Samba server that can "smbclient -L" =
everyone but itself. Samba still serves shares and PDC authentication =
works fine, but this failure is annoying, and as such, must be fixed.

--

issued from boothost.1230.good-sam.com with IP 172.21.23.1 [local machine =
querying remote machine]:

boothost:/opt/samba/var# smbclient -L boothost.0010.good-sam.com -Uaccount1=

Password:=20
added interface ip=3D172.21.23.1 bcast=3D172.21.23.255 nmask=3D255.255.255.=
0
Domain=3D[GSS] OS=3D[Unix] Server=3D[Samba 2.2.8a]

Sharename Type Comment
--------- ---- -------
# SNIP: list of shares


--

issued from boothost.1230.good-sam.com with IP 172.21.23.1 [local machine =
querying itself]:

boothost:/opt/samba/var# smbclient -L boothost.1230.good-sam.com -Uaccount1=

added interface ip=3D172.21.23.1 bcast=3D172.21.23.255 nmask=3D255.255.255.=
0
Password:
session setup failed: Call timed out: server did not respond after 20000 =
milliseconds


--

NMBLookup fails for all hosts. I can ping the PDC but "nmblookup $any_host_=
including_PDC" fails.

boothost:/opt/samba/var# nmblookup boothost.1230.good-sam.com
querying boothost.1230.good-sam.com on 172.21.23.255
name_query failed to find name boothost.1230.good-sam.com


--


[global]
workgroup =3D GSS
netbios name =3D BOOTHOST-1230
server string =3D 1230 Boothost Server
password server =3D [anonymized for the Intarweb but the value is known =
good * RP]
encrypt passwords =3D Yes
security =3D domain
log file =3D /opt/samba/var/log/%m.log
log level =3D 0
max log size =3D 0
socket options =3D TCP_NODELAY SO_RCVBUF=3D8192 SO_SNDBUF=3D8192
domain logons =3D No
os level =3D 75
preferred master =3D True
domain master =3D False
dns proxy =3D No
wins support =3D No
wins server =3D 172.16.102.41
name resolve order =3D wins bcast host


--

boothost.1230.good-sam.com is listed as master browser for this subnet in =
log.nmbd, but another interesting note: every time I restart Samba, it =
goes through this battle to get there:

Log level 0:

[2005/12/05 15:23:18, 0] nmbd/nmbd.c:terminate(59)
Got SIGTERM: going down...
[2005/12/05 15:23:21, 0] nmbd/nmbd.c:main(795)
Netbios nameserver version 2.2.12 started.
Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/12/05 15:23:21, 0] nmbd/nmbd_nameregister.c:register_name_response(10=
9)
register_name_response: server at IP 172.16.102.41 rejected our name =
registration of BOOTHOST-1230<20> with error code 5.
[2005/12/05 15:23:21, 0] nmbd/nmbd_mynames.c:my_name_register_failed(40)
my_name_register_failed: Failed to register my name BOOTHOST-1230<20> on =
subnet UNICAST_SUBNET.
[2005/12/05 15:23:21, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(290)=

standard_fail_register: Failed to register/refresh name BOOTHOST-1230<20>=
on subnet UNICAST_SUBNET
[2005/12/05 15:23:21, 0] nmbd/nmbd_nameregister.c:register_name_response(10=
9)
register_name_response: server at IP 172.16.102.41 rejected our name =
registration of BOOTHOST-1230<03> with error code 5.
[2005/12/05 15:23:21, 0] nmbd/nmbd_mynames.c:my_name_register_failed(40)
my_name_register_failed: Failed to register my name BOOTHOST-1230<03> on =
subnet UNICAST_SUBNET.
[2005/12/05 15:23:21, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(290)=

standard_fail_register: Failed to register/refresh name BOOTHOST-1230<03>=
on subnet UNICAST_SUBNET
[2005/12/05 15:23:21, 0] nmbd/nmbd_nameregister.c:register_name_response(10=
9)
register_name_response: server at IP 172.16.102.41 rejected our name =
registration of BOOTHOST-1230<00> with error code 5.
[2005/12/05 15:23:21, 0] nmbd/nmbd_mynames.c:my_name_register_failed(40)
my_name_register_failed: Failed to register my name BOOTHOST-1230<00> on =
subnet UNICAST_SUBNET.
[2005/12/05 15:23:21, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(290)=

standard_fail_register: Failed to register/refresh name BOOTHOST-1230<00>=
on subnet UNICAST_SUBNET
[2005/12/05 15:23:55, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(=
404)
*****

Samba name server BOOTHOST-1230 is now a local master browser for =
workgroup GSS on subnet 172.21.23.1

*****


Does the PDC rejecting my name registration have anything to do with my =
smbclient trouble? And for that matter, why is the PDC rejecting my name =
registration? Does anyone have any ideas?

Thanks!
Ryan

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba