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.

Root Referrals<br />

To configure with OpenLDAP's slapd to redirect clients to this global root server, add the following<br />

to your slapd.conf file:<br />

referral ldap://root.openldap.org:389<br />

Other servers have similiar configuration directives. Check your server document under "default" or<br />

"superior" referral.<br />

To allow your Internet (DC) style DNs to be located, you must add a DNS RR to your zone. For<br />

"dc=example,dc=net" hosted at ldap://ldap.example.net:389, you would add the RR:<br />

_ldap._tcp.example.net IN SRV 0 0 389 ldap.example.net.<br />

After loading the above, you should then be able to do:<br />

% ldapsearch -R -b "dc=example,dc=net" -h root.openldap.org "(objectclass=*)"<br />

This should return:<br />

ldap_search: Partial results and referral received<br />

additional info: Referral:<br />

ldap://ldap.example.net:389<br />

To configure with OpenLDAP slapd to redirect clients to this global root server, add the following to<br />

your slapd.conf file:<br />

referral ldap://root.openldap.org:389<br />

http://www.openldap.org/faq/data/cache/393.html

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

Saved successfully!

Ooh no, something went wrong!