David Brodbeck
2004-Aug-31 20:06 UTC
[Samba] Can't authenticate after upgrade from 2.2.8a to 3.0.6 ..partial fix
> -----Original Message----- > From: David Brodbeck [mailto:DavidB@mail.interclean.com]> I upgraded one of our systems from 2.2.8a to 3.0.6. > Authentication via > winbindd is not working. "wbinfo -t" gives a good result, and 'getent > passwd' and 'getent group' work fine. But when I try to > access the server, > I'm prompted for a username and password. I get this error > in the log: > > auth/auth_util.c: make_server_info_info3(1122) > make_server_info_info3: pdb_init_sam failed! > > I also can no longer log in to this machine via ssh using my > Windows domain password. What am I missing?Okay, I tried the patches at http://samba.org/~jerry/patches/post-3.0.6/. Now I can connect fine via smb, but ssh authentication via PAM still doesn't work. I get the following errors: in /var/log/messages: Aug 31 16:02:45 gatekeeper pam_winbind[21172]: request failed: No such user, PAM error was 10, NT error was NT_STATUS_NO_SUCH_USER Aug 31 16:02:45 gatekeeper sshd(pam_unix)[21172]: check pass; user unknown Aug 31 16:02:45 gatekeeper sshd(pam_unix)[21172]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=152.160.178.15 in /usr/local/samba/var/log.winbindd: [2004/08/31 16:02:45, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(159) user 'NOUSER' does not exist [2004/08/31 16:02:45, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(159) user 'NOUSER' does not exist I'm using the same PAM configuration that works just fine with 2.2.8a.
David Brodbeck
2004-Sep-01 14:35 UTC
[Samba] Can't authenticate after upgrade from 2.2.8a to 3.0.6 ..partial fix
> -----Original Message----- > From: David Brodbeck [mailto:DavidB@mail.interclean.com]> Okay, I tried the patches at > http://samba.org/~jerry/patches/post-3.0.6/. > Now I can connect fine via smb, but ssh authentication via > PAM still doesn't > work.Finally I just gave up and went with 2.2.11 instead. It works fine. Since my immediate goal was XP compatibility, it'll do.