Hi,
I would like to configure samba with PEM (with LDAP). I've already found, on the server, configured the PAM Authentication(with LDAP) for ssh. I wanted to know if it was possible to configure PAM for to authenticate to another LDAP only for SAMBA.
Is possibile duplicate the /etc/pam_ldap.conf
let it point to another LDAP and then configure SAMBA to use this new file?
The /etc/pam_ldap.conf
#####################
uri ldap://server1
uri ldap://server2
base group ou=esercizio,ou=Groups,dc=soc
base passwd ou=esercizio,ou=People,dc=soc
base shadow ou=esercizio,ou=People,dc=soc
scope passwd onelevel
#filter passwd (eraccountpamstatus=0)
scope group onelevel
scope shadow onelevel
base dc=soc
#uid nslcd
#gid ldap
ssl start_tls
tls_cacertdir /etc/openldap/cacerts
#####################
Thanks
Marcello