Results 1 to 1 of 1
I have been trying to setup PDC/BDC samba servers without much luck so far. I followed various HOWTOs , and as far as PAM autentication - everything worked like a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-20-2007 #1
- Join Date
- Mar 2006
Samba, Ldap with PAM user mapping, no Winbind possible?
I have been trying to setup PDC/BDC samba servers without much luck so far.
I followed various HOWTOs , and as far as PAM autentication - everything worked like a charm - but windows machines never joined the domain. All setups I tried involved group mapping and winbind.
In my requirements users are all local administrators and are mapped to their Unix uids by their username. The file security is provided by UNIX groups and everything is working fine. At the moment Samba is using a passwd file backend.
The need for LDAP arose from desire to have a BDC and failover.
Is it possible to replace PAM autentication with ldap on both servers (it is! Easy!) and Use Ldap backends for both Samba servers?
I do not think that even samba.schema will be necessary in my case. Am I right?
But I cannot get it to work It should work!!! Don't understand.
PS and another question: There is no /etc/samba/smbpasswd file with LDAP setup. Do we still need to "smbpasswd -a" users? Nothing seems to happen when you do.