Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am experimenting with LDAP. As I see it, apache uses the Unix password field to get the credentials and samba the field that is specific for samba.

I just use the LDAP server for a single server, LDAP runs in the same server. What I wanted is to use the same password for apache and samba (and mediawiki etc). Is it possible? If not, are there any alternatives?

Thanks!

share|improve this question

2 Answers 2

Apache can be setup to use an LDAP directory using mod_auth_ldap. (http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html). Samba, I guess you figured out, can use an external LDAP source.

Hope this helps,

share|improve this answer

Yes, just make the passwords the same. You can't have them all read from the same password attribute though, which seems to be what your thinking. They use different hashing algorithms to create their passwords.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.