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

I have read-only access to an LDAP server which only stores unix account information (no samba attributes). I’d like to grant the users in the LDAP directory access to the samba shares on my server.

So every time a user wants to access a share, my server should check with the LDAP server whether his credentials are correct. Is this possible?

If I understand correctly, samba accounts must in this case be stored in another backend with their own samba password hashes, etc. If this is correct, I would assume that it is not possible to populate this backend with the data from the LDAP server due to different hashing algorithms. So how can I keep the databases synced?

I found a few similar questions on this site, but, unfortunately, could not find a solution to my problem so far...

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.