[Samba] pam_winbind: Internal module error

Axel Suppantschitsch as at suit.at
Mon Oct 13 13:16:43 GMT 2003


I'm using Fedora Test 2 and Samba 3.0.0-15 packages from Redhat/Fedora rawhide
with a Windows 2003 Server. wbinfo -u and wbinfo -g work without any errors,
entries to nsswitch.conf were made.

I edited /etc/system-auth and added all necessary lines for pam_winbind as
described in the samba documentation.

Anyway, users that only exist within the Windows domain can't log on. Each logon
creates following errors in /var/log/messages:

Oct 13 14:56:07 samba30srv pam_winbind[12775]: request failed: Unexpected
information received, PAM error was 4, NT error was NT_STATUS_INVALID_PARAMETER
Oct 13 14:56:07 samba30srv pam_winbind[12775]: internal module error (retval =
4, user = `NOUSER'
Oct 13 14:56:07 samba30srv sshd(pam_unix)[12775]: check pass; user unknown
Oct 13 14:56:07 samba30srv sshd(pam_unix)[12775]: authentication failure;
logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=fh.fh-joanneum.at

My /etc/system-auth looks like this:

auth        required      /lib/security/$ISA/pam_env.so
auth        sufficient    /lib/security/$ISA/pam_winbind.so
auth        sufficient    /lib/security/$ISA/pam_unix.so likeauth nullok
auth        required      /lib/security/$ISA/pam_deny.so

account     required      /lib/security/$ISA/pam_winbind.so
account     required      /lib/security/$ISA/pam_unix.so

password    required      /lib/security/$ISA/pam_cracklib.so retry=3 type=
password    sufficient    /lib/security/$ISA/pam_unix.so nullok use_authtok md5
password    required      /lib/security/$ISA/pam_deny.so

session     required      /lib/security/$ISA/pam_limits.so
session     required      /lib/security/$ISA/pam_mkhomedir.so skel=/etc/skel
session     required      /lib/security/$ISA/pam_unix.so

Any suggestions?

Cheers, Axel.

More information about the samba mailing list