SuSE SLES8 Samba 3.0 Beta1 Winbind

Ralf Luettgens ralf.luettgens at rheinland-versicherungen.de
Mon Jun 23 13:56:33 GMT 2003


Hi,

i've some problems with winbind in Samba 3.0 Beta1.

The configuration:

Samba 3.0 Beta1 installed under Sles8 on IBM z800 (s390)
compiled with gcc 3.2 and installed pam-devel-0.76-32
configure options: ./configure --with-pam --with-winbind 
--with-acl-support --with-tdbsam --with-libsmbclient --with-smbwrapper 
--with-utmp --with-quotas

NT PDC with SP6a

NT workstation with SP6a

i try some tests:


Test
Result
wbinfo -t
secret is ok
wbinfo -g
shows all unix and domain groups
wbinfo -u
shows all unix and domain users


getent group
shows only unix groups
getent passwd
shows only unix groups


net rpc user
ask for password and then fails (with password from normal domain user nad 
domain admin)
net rpc group
ask for password and then fails
(with password from normal domain user nad domain admin)
net rpc testjoin
Join to "domain" is ok



I try to show the shares of the samba server from the NT Workstation, the 
system ask for a user and password and fails with "wrong username or 
password"
The winbind log file shows the following:

[2003/06/16 13:02:59, 5] 
nsswitch/winbindd_pam.c:winbindd_pam_auth_crap(347)
  NTLM CRAP authentication for user [rhpr]\[165784] returned NT_STATUS_OK 
(PAM: 0)
[2003/06/16 13:02:59, 10] nsswitch/winbindd.c:client_write(469)
  client_write: wrote 1300 bytes.
[2003/06/16 13:02:59, 10] nsswitch/winbindd.c:client_write(514)
  client_write: need to write 1024 extra data bytes.
[2003/06/16 13:02:59, 10] nsswitch/winbindd.c:client_write(469)
  client_write: wrote 1024 bytes.
[2003/06/16 13:02:59, 10] nsswitch/winbindd.c:client_write(503)
  client_write: client_write: complete response written.
[2003/06/16 13:02:59, 10] nsswitch/winbindd.c:winbind_client_read(422)
  client_read: read 0 bytes. Need 1312 more for a full request.
[2003/06/16 13:02:59, 5] nsswitch/winbindd.c:winbind_client_read(429)
  read failed on sock 21, pid 7034: EOF

The machine log file shows th following:

[2003/06/16 13:02:59, 5] rpc_parse/parse_prs.c:prs_uint32s(861)
                  024c sub_auths : 00000015 03f74b13 6eb31787 5d312c77 
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam(288)
  Finding user RHPR\165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is rhpr\165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(230)
  Trying _Get_Pwnam(), username as given is RHPR\165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(247)
  Checking combinations of 0 uppercase letters in rhpr\165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals didn't find user [RHPR\165784]!
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam(288)
  Finding user 165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is 165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(247)
  Checking combinations of 0 uppercase letters in 165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals didn't find user [165784]!
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam(288)
  Finding user 165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is 165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(247)
  Checking combinations of 0 uppercase letters in 165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals didn't find user [165784]!
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam(288)
  Finding user RHPR\165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is rhpr\165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(230)
  Trying _Get_Pwnam(), username as given is RHPR\165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(247)
  Checking combinations of 0 uppercase letters in rhpr\165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals didn't find user [RHPR\165784]!
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam(288)
  Finding user 165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is 165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(247)
  Checking combinations of 0 uppercase letters in 165784
[2003/06/16 13:02:59, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals didn't find user [165784]!
[2003/06/16 13:02:59, 0] auth/auth_util.c:make_server_info_info3(949)
  make_server_info_info3: pdb_init_sam failed!
[2003/06/16 13:02:59, 5] auth/auth.c:check_ntlm_password(256)
  check_ntlm_password: winbind authentication for user [165784] FAILED 
with error NT_STATUS_NO_SUCH_USER
[2003/06/16 13:02:59, 2] auth/auth.c:check_ntlm_password(295)
  check_ntlm_password:  Authentication for user [165784] -> [165784] 
FAILED with error NT_STATUS_NO_SUCH_USER
[2003/06/16 13:02:59, 5] auth/auth_util.c:free_user_info(1086)
  attempting to free (and zero) a user_info structure
[2003/06/16 13:02:59, 10] auth/auth_util.c:free_user_info(1089)
  structure was created for 165784
[2003/06/16 13:02:59, 3] smbd/error.c:error_packet(94)
  error string = No such file or directory
[2003/06/16 13:02:59, 3] smbd/error.c:error_packet(113)
  error packet at smbd/sesssetup.c(749) cmd=115 (SMBsesssetupX) 
NT_STATUS_LOGON_FAILURE

Anybody any suggestions??


Ralf Lüttgens




More information about the samba-technical mailing list