I have a Zimbra email server which contains a LDAP server housing all my users and their passwords. I would like to enable single signon for my linux machines. The only account details I'll be using from LDAP are the username and password.
The last time I did this, I did it the hard way and modified files in /etc/pam.d by hand. Using the authconfig command is much more convenient.
<!-- break -->
The following has been tested on Fedora 9.
First This will configure pam.d/* and make some changes to /etc/ldap.conf and /etc/openldap/*.
The Zimbra LDAP server requires a privileged bind to LDAP before comparing the passwords. I didn't see how to specifiy this with authconfig, but it is easy to do by hand.
In my case, the hostname (ldap.domain.com) does not match the CN in the certificate (mail.domain.com). It's not the most secure fix, but this can be worked around with the tls_checkpeer option.
And finally, add the LDAP password to /etc/ldap.secret
That password may be obtained like this:
Create users on the local system with the same username as found in Zimbra and logins just work.
As configured above the password from /etc/shadow will continue to work if one exists.
Recent comments
2 days 16 hours ago
29 weeks 10 hours ago
29 weeks 11 hours ago
41 weeks 4 days ago
48 weeks 2 days ago
48 weeks 3 days ago
48 weeks 4 days ago
49 weeks 4 days ago
49 weeks 4 days ago
1 year 5 weeks ago