SuSE SLES8 Samba 3.0 Beta1 Winbind

Ralf Luettgens ralf.luettgens at rheinland-versicherungen.de
Tue Jun 24 06:59:01 GMT 2003


Hi Volker,

you're right. There was the wrong file in /lib/. I tried it several times 
before and getent wörks every time fine, but not when i installed the 3.0 
beta1.  Sorry, my mistake. I have checked the complete installation again. 
Now getent passwd and getent group works fine, but the behavior when i try 
to connect to the share from the NT Workstation is the same as before. 

Here more informations:

etc/nsswitch.conf

passwd: files winbind
group           files winbind

etc/samba/smb.conf

# Samba config file created using SWAT
# from x.x.x.x (x.x.x.x)
# Date: 2003/06/12 10:05:22

# Global parameters
[global]
        workgroup = TEST
        server string = Samba Server %v %h
        security = DOMAIN
        log level = 10
        log file = /usr/local/samba/var/log.%m
        max log size = 2020
        wins server = x.x.x.x
        ldap ssl = no
        utmp = Yes
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        winbind enum users = yes
        winbind enum groups = yes

[homes]
        comment = Home Directories
        read only = No
        browseable = No

[printers]
        comment = All Printers
        path = /usr/spool/samba
        printable = Yes
        browseable = No

[test]
       comment = Test share
        path = /usr/local/share
        browseable = yes

The logfiles:

log.1234 (name of the ntclient)

[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam(288)
  Finding user RHPR\165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is rhpr\165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(230)
  Trying _Get_Pwnam(), username as given is RHPR\165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(247)
  Checking combinations of 0 uppercase letters in rhpr\165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals didn't find user [RHPR\165784]!
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam(288)
  Finding user 165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is 165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(247)
  Checking combinations of 0 uppercase letters in 165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals didn't find user [165784]!
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam(288)
  Finding user 165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is 165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(247)
  Checking combinations of 0 uppercase letters in 165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals didn't find user [165784]!
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam(288)
  Finding user RHPR\165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is rhpr\165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(230)
  Trying _Get_Pwnam(), username as given is RHPR\165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(247)
  Checking combinations of 0 uppercase letters in rhpr\165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals didn't find user [RHPR\165784]!
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam(288)
  Finding user 165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is 165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(247)
  Checking combinations of 0 uppercase letters in 165784
[2003/06/24 08:25:39, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals didn't find user [165784]!
[2003/06/24 08:25:39, 0] auth/auth_util.c:make_server_info_info3(949)
  make_server_info_info3: pdb_init_sam failed!
[2003/06/24 08:25:39, 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/24 08:25:39, 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/24 08:25:39, 5] auth/auth_util.c:free_user_info(1086)
  attempting to free (and zero) a user_info structure
[2003/06/24 08:25:39, 10] auth/auth_util.c:free_user_info(1089)
  structure was created for 165784
[2003/06/24 08:25:39, 3] smbd/error.c:error_packet(94)
  error string = No such file or directory
[2003/06/24 08:25:39, 3] smbd/error.c:error_packet(113)
  error packet at smbd/sesssetup.c(749) cmd=115 (SMBsesssetupX) 
NT_STATUS_LOGON_FAILURE

log.winbindd

[2003/06/24 08:25:39, 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/24 08:25:39, 10] nsswitch/winbindd.c:client_write(469)
  client_write: wrote 1300 bytes.
[2003/06/24 08:25:39, 10] nsswitch/winbindd.c:client_write(514)
  client_write: need to write 1024 extra data bytes.
[2003/06/24 08:25:39, 10] nsswitch/winbindd.c:client_write(469)
  client_write: wrote 1024 bytes.
[2003/06/24 08:25:39, 10] nsswitch/winbindd.c:client_write(503)
  client_write: client_write: complete response written.
[2003/06/24 08:25:39, 10] nsswitch/winbindd.c:winbind_client_read(422)
  client_read: read 0 bytes. Need 1312 more for a full request.
[2003/06/24 08:25:39, 5] nsswitch/winbindd.c:winbind_client_read(429)
  read failed on sock 18, pid 602: EOF

Do you have a suggestion?

Best regards

Ralf





Volker Lendecke <Volker.Lendecke at SerNet.DE>
23.06.2003 16:53
Bitte antworten an Volker.Lendecke

 
        An:     Ralf Luettgens <ralf.luettgens at rheinland-versicherungen.de>
        Kopie:  samba-technical at lists.samba.org
        Thema:  Re: SuSE SLES8 Samba 3.0 Beta1 Winbind


On Mon, Jun 23, 2003 at 03:56:33PM +0200, Ralf Luettgens wrote:
> getent group
> shows only unix groups
> getent passwd
> shows only unix groups

Sorry to ask, but you are sure that you have the correct 
/lib/libnss_winbind.so
installed and /etc/nsswitch.conf is correctly configured?

You need:

passwd: files winbind
group: files winbind

in /etc/nsswitch.conf.

Regards,

Volker



-------------- next part --------------
A non-text attachment was scrubbed...
Name: C.DTF
Type: application/octet-stream
Size: 249 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030624/199cad2e/C.obj


More information about the samba-technical mailing list