martin.schretzmeier@chello.at
2004-Jul-15 07:46 UTC
[Samba] Samba 3.0.2 on HPUX 11i with winbind; Get_Pwnam_internals didn't find user + NT_STATUS_NO_SUCH_USER
Hey, I've troubles with a samba-installation ( version 3.0.2, HP-CIFS-Technologie Preview ) on HPUX 11i. I want to setup a fileserver within a customerenvironment connecting into a windows 2000 domain, which contains a lot of trusted domains. I have joined the domain already and wbinfo brings me the list of users and groups. Also within the winbind_imap.tdb I see some entrys which seems to map some windows-ids to unix ids. But when I try to connect to the share I always gets asked for a password and even with the correct pw entered the connection fails. Here are some outputs from the logs Log.%m [Tue Jul 13 16:00:44 2004, 5] lib/username.c:Get_Pwnam_internals(251) Get_Pwnam_internals didn't find user [q904700]! [Tue Jul 13 16:00:44 2004, 0] auth/auth_util.c:make_server_info_info3(1100) make_server_info_info3: pdb_init_sam failed! [Tue Jul 13 16:00:44 2004, 5] auth/auth.c:check_ntlm_password(270) check_ntlm_password: winbind authentication for user [q904700] FAILED with error NT_STATUS_NO_SUCH_USER [Tue Jul 13 16:00:44 2004, 2] auth/auth.c:check_ntlm_password(310) check_ntlm_password: Authentication for user [q904700] -> [q904700] FAILED with error NT_STATUS_NO_SUCH_USER log.winbindd [Tue Jul 13 16:00:44 2004, 5] nsswitch/winbindd_pam.c:winbindd_pam_auth_crap(454) NTLM CRAP authentication for user [AUSTRIA]\[q904700] returned NT_STATUS_OK (PAM: 0) [Tue Jul 13 16:00:44 2004, 3] nsswitch/winbindd_acct.c:winbindd_create_user(875) [24834]: create_user: user=>(q904700), group=>() [Tue Jul 13 16:00:44 2004, 5] nsswitch/winbindd_acct.c:wb_getgrnam(521) wb_getgrnam: Did not find group (nobody) [Tue Jul 13 16:00:44 2004, 5] nsswitch/winbindd.c:winbind_client_read(463) read failed on sock 28, pid 24834: EOF I also found some errors within log.smbd, but that errors are moving from smbd to winbindd, depending which daemon is started first, the second one has that: [Tue Jul 13 16:00:44 2004, 5] tdb/tdbutil.c:tdb_log(724) tdb(unnamed): tdb_brlock failed (fd=14) at offset 4 rw_type=2 lck_type=6: Permission denied Configuration: [global] workgroup = <Domainname> netbios name = CIFSTEST1 server string = Samba Test server security = DOMAIN encrypt passwords = Yes password server = * log file = /var/opt/samba/log.%m max log size = 20480 load printers = No dns proxy = No wins server = 10.1.20.1 winbind separator = + idmap uid= 5000-65000 idmap gid = 5000-65000 winbind enum users = yes winbind enum groups = yes template shell = /usr/bin/sh guest account = pcguest [shares] Valid users is in format "DOMAIN+USERNAME" or "@DOMAIN+GROUPNAME" Is there anybody who has seen this error and knows how to solve it? I also have the complete logs in debug-level 5 and 10 available, if they are usefull. Thx & br Martin Schretzmeier
eric roseme
2004-Jul-15 17:00 UTC
[Samba] Samba 3.0.2 on HPUX 11i with winbind; Get_Pwnam_internals didn't find user + NT_STATUS_NO_SUCH_USER
Hi artin, The version that you have does not currently support winbind. I am working on that right now. Eric Roseme Hewlett-Packard martin.schretzmeier@chello.at wrote:> Hey, > > I've troubles with a samba-installation ( version 3.0.2, HP-CIFS-Technologie > Preview ) on HPUX 11i. I want to setup a fileserver within a > customerenvironment connecting into a windows 2000 domain, which contains a > lot of trusted domains. I have joined the domain already and wbinfo brings > me the list of users and groups. Also within the winbind_imap.tdb I see some > entrys which seems to map some windows-ids to unix ids. But when I try to > connect to the share I always gets asked for a password and even with the > correct pw entered the connection fails. Here are some outputs from the logs > > Log.%m > > [Tue Jul 13 16:00:44 2004, 5] lib/username.c:Get_Pwnam_internals(251) > Get_Pwnam_internals didn't find user [q904700]! > [Tue Jul 13 16:00:44 2004, 0] auth/auth_util.c:make_server_info_info3(1100) > make_server_info_info3: pdb_init_sam failed! > [Tue Jul 13 16:00:44 2004, 5] auth/auth.c:check_ntlm_password(270) > check_ntlm_password: winbind authentication for user [q904700] FAILED with > error NT_STATUS_NO_SUCH_USER > [Tue Jul 13 16:00:44 2004, 2] auth/auth.c:check_ntlm_password(310) > check_ntlm_password: Authentication for user [q904700] -> [q904700] > FAILED with error NT_STATUS_NO_SUCH_USER > > log.winbindd > > [Tue Jul 13 16:00:44 2004, 5] > nsswitch/winbindd_pam.c:winbindd_pam_auth_crap(454) > NTLM CRAP authentication for user [AUSTRIA]\[q904700] returned > NT_STATUS_OK (PAM: 0) > [Tue Jul 13 16:00:44 2004, 3] > nsswitch/winbindd_acct.c:winbindd_create_user(875) > [24834]: create_user: user=>(q904700), group=>() > [Tue Jul 13 16:00:44 2004, 5] nsswitch/winbindd_acct.c:wb_getgrnam(521) > wb_getgrnam: Did not find group (nobody) > [Tue Jul 13 16:00:44 2004, 5] nsswitch/winbindd.c:winbind_client_read(463) > read failed on sock 28, pid 24834: EOF > > I also found some errors within log.smbd, but that errors are moving from > smbd to winbindd, depending which daemon is started first, the second one > has that: > > [Tue Jul 13 16:00:44 2004, 5] tdb/tdbutil.c:tdb_log(724) > tdb(unnamed): tdb_brlock failed (fd=14) at offset 4 rw_type=2 lck_type=6: > Permission denied > > > Configuration: > > [global] > workgroup = <Domainname> > netbios name = CIFSTEST1 > server string = Samba Test server > security = DOMAIN > encrypt passwords = Yes > password server = * > log file = /var/opt/samba/log.%m > max log size = 20480 > load printers = No > dns proxy = No > wins server = 10.1.20.1 > winbind separator = + > idmap uid= 5000-65000 > idmap gid = 5000-65000 > winbind enum users = yes > winbind enum groups = yes > template shell = /usr/bin/sh > guest account = pcguest > > > [shares] > Valid users is in format "DOMAIN+USERNAME" or "@DOMAIN+GROUPNAME" > > Is there anybody who has seen this error and knows how to solve it? I also > have the complete logs in debug-level 5 and 10 available, if they are > usefull. > > Thx & br > > Martin Schretzmeier >