Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Could you please tell me how did you enable samba authentication via LDAP ? I saw your post but could not find any steps :(

Thanks in advance.


share|improve this question

There are "ldap" options group in smb.conf. For example:

passdb backend = ldapsam:ldap://ldapserver.address/
ldap admin dn = cn=samba,ou=DSA,dc=MYDOMAIN,dc=ORG
ldap suffix = dc=MYDOMAIN,dc=ORG
ldap user suffix = ou=Users
... etc.

Then you have to use 'smbpasswd -w ldapppassword' to store password, which samba will use to connect to LDAP database. Google 'smbldap-tools' for more explanations.

share|improve this answer
Hey, you're not Tim. – sinping Nov 18 '10 at 13:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.