[Samba] samba-3.0.22 -> samba-3.0.23 pam_winbind issue(s)

Rex Dieter rdieter at math.unl.edu
Wed Jul 12 15:16:39 GMT 2006


Previously had samba-3.0.22 on RedHat Enterprise 4 functioning happily,
using pam_winbind to authenticate against our campus active directory
(currently only doing password authentication, account info is still
retrieved via NIS).

/etc/pam.d/system-auth attached

After upgrading to 3.0.23
* I needed to add idmap options (I used idmap backend = rid), else winbind
would only start in "netlogon proxy mode", and basically, didn't work.  ): 
Since we're not using winbind for account info currently, I don't
necessarily blame samba here for that, but is there a better/recommended
configuration for this situation?

* login/authentication attempts now (most often) ask for a password
*twice*.  ??????

-- Rex
-------------- next part --------------
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth        required      /lib/security/$ISA/pam_env.so
auth        sufficient    /lib/security/$ISA/pam_unix.so likeauth nullok
auth        sufficient    /lib/security/$ISA/pam_winbind.so use_first_pass
auth        required      /lib/security/$ISA/pam_deny.so

account     required      /lib/security/$ISA/pam_unix.so broken_shadow
account     sufficient    /lib/security/$ISA/pam_succeed_if.so uid < 100 quiet
account     [default=bad success=ok user_unknown=ignore] /lib/security/$ISA/pam_winbind.so
account     required      /lib/security/$ISA/pam_permit.so

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

session     required      /lib/security/$ISA/pam_limits.so
session     required      /lib/security/$ISA/pam_unix.so


More information about the samba mailing list