14.02.2014 Views

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

OpenLDAP + SASL + P<strong>AM</strong><br />

1. Make sure the SASL database has been initialized (saslpasswd)<br />

2. Defined the SASL method for slapd (/usr/lib/sasl/slapd.conf)<br />

pwcheck_method: pam<br />

3. Define a P<strong>AM</strong> stack for the ldap service (/etc/pam.d/ldap)<br />

4. Reset the sasl-secprops to enable a clear text password.<br />

sasl-secprops none (/etc/openldap/slapd.conf)<br />

5. Reset the SASL_SECPROPS on the clients<br />

SASL_SECPROPS none (/etc/openldap/ldap.conf)<br />

TEST TEST TEST TEST TEST TEST TEST<br />

$ ldapsearch -x -L -s "base" -b "" supportedSASLMechanisms<br />

supportedSASLMechanisms: PLAIN<br />

supportedSASLMechanisms: LOGIN<br />

supportedSASLMechanisms: ANONYMOUS<br />

$ ldapsearch -d 2<br />

SASL/PLAIN authentication started<br />

Please enter your password:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!