[Samba] Windows clients can not login to Samba PDC
Jim Berry
tandem.rider at cox.net
Thu Aug 26 01:43:04 GMT 2004
I have a Samba PDC set up on SuSE 9.1 with LDAP backend. I am trying to login
to the domain from Win2K/XP clients. The Windows clients easily joined the
domain, but can never login. Also, I can access all the Samba shares when
logged in locally on a Windows client.
I have omitted a copy of smb.conf as I have tried the things mentioned by
Samba Team members to no avail.
I have read the documentation and several newsgroup postings on this subject.
It seems to be a common occurrence for various reasons. I have attached a
dump of the smbd log. My take on this is that the Windows boxes are not
passing a user name (or the Samba box is not receiving it although it seems
to get everything else). My understanding is Windows first talks to Samba as
user nobody, then as the user that is logging in. Earlier portions of the log
confirm this.
I have looked at the LDAP server log and it shows queries for the user name
entered on the Windows client. However, the Samba logs always show a NULL
user name (see the NT user token below).
Does the 'socket receipt length < 0!' give a clue?
[2004/08/25 19:35:30, 6] lib/util_sock.c:write_socket(432)
write_socket(25,426)
[2004/08/25 19:35:30, 6] lib/util_sock.c:write_socket(435)
write_socket(25,426) wrote 426
[2004/08/25 19:35:30, 10] lib/util_sock.c:read_socket_data(361)
read_socket_data: recv of 4 returned 0. Error = Success
[2004/08/25 19:35:30, 10] lib/util_sock.c:receive_smb_raw(539)
receive_smb_raw: length < 0!
[2004/08/25 19:35:30, 3] smbd/process.c:timeout_processing(1129)
timeout_processing: End of file from client (client has disconnected).
[2004/08/25 19:35:30, 5] lib/gencache.c:gencache_shutdown(88)
Closing cache file
[2004/08/25 19:35:30, 5] libsmb/namecache.c:namecache_shutdown(79)
namecache_shutdown: netbios namecache closed successfully.
[2004/08/25 19:35:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/08/25 19:35:30, 5] auth/auth_util.c:debug_nt_user_token(486)
NT user token: (NULL)
[2004/08/25 19:35:30, 5] auth/auth_util.c:debug_unix_user_token(505)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2004/08/25 19:35:30, 5] smbd/uid.c:change_to_root_user(288)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2004/08/25 19:35:30, 2] smbd/server.c:exit_server(568)
Closing connections
[2004/08/25 19:35:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/08/25 19:35:30, 5] auth/auth_util.c:debug_nt_user_token(486)
NT user token: (NULL)
More information about the samba
mailing list