Tomasz Chmielewski
2004-Oct-23 09:43 UTC
[Samba] Samba 3 + LDAP on SuSE - how (missing /etc/pam.d/system-auth)
Hello, I'm trying to configure Samba to work with SuSE 9.1. I followed The Linux Samba-OpenLDAP Howto (Revision: 1.6 ) from http://samba.idealx.org/smbldap-howto.en.html - but I'm stuck - in SuSE there is no /etc/pam.d/system-auth. Should I just add this file (I doubt it), or put these values into another files (which ones)? auth required /lib/security/pam_env.so auth sufficient /lib/security/pam_unix.so likeauth nullok auth sufficient /lib/security/pam_ldap.so use_first_pass auth required /lib/security/pam_deny.so account required /lib/security/pam_unix.so account sufficient /lib/security/pam_ldap.so password required /lib/security/pam_cracklib.so retry=3 typepassword sufficient /lib/security/pam_unix.so nullok use_authtok md5 shadow password sufficient /lib/security/pam_ldap.so use_authtok password required /lib/security/pam_deny.so session required /lib/security/pam_limits.so session required /lib/security/pam_unix.so session optional /lib/security/pam_ldap.so Tomek
rruegner
2004-Oct-23 14:12 UTC
[Samba] Samba 3 + LDAP on SuSE - how (missing /etc/pam.d/system-auth)
Hi, i am not exactly clear what you try to do wanna a pdc? then entries like this in /etc/nsswitch.conf may help you out passwd: ldap files group: ldap files shadow: ldap files then use yast to adjust the machine as ldap client Regards Tomasz Chmielewski schrieb:> Hello, > > I'm trying to configure Samba to work with SuSE 9.1. > > I followed The Linux Samba-OpenLDAP Howto (Revision: 1.6 ) from > http://samba.idealx.org/smbldap-howto.en.html - but I'm stuck - in SuSE > there is no /etc/pam.d/system-auth. > > Should I just add this file (I doubt it), or put these values into > another files (which ones)? > > > auth required /lib/security/pam_env.so > auth sufficient /lib/security/pam_unix.so likeauth nullok > auth sufficient /lib/security/pam_ldap.so use_first_pass > auth required /lib/security/pam_deny.so > > account required /lib/security/pam_unix.so > account sufficient /lib/security/pam_ldap.so > > password required /lib/security/pam_cracklib.so retry=3 type> password sufficient /lib/security/pam_unix.so nullok use_authtok > md5 shadow > password sufficient /lib/security/pam_ldap.so use_authtok > password required /lib/security/pam_deny.so > > session required /lib/security/pam_limits.so > session required /lib/security/pam_unix.so > session optional /lib/security/pam_ldap.so > > > Tomek