(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) General LDAP FAQ : (Category) Public LDAP Services : (Category) OpenLDAP LDAP Root Service : (Answer) How do I setup DNS such that my LDAP service can be located?
To allow your Internet (DC) style DNs to be located, you must add a DNS RR to your zone. For "dc=example,dc=net" hosted at ldap://ldap.example.net:389, you would add the RR:
  _ldap._tcp.example.net IN SRV 0 0 389 ldap.example.net.
After loading the above, you should then be able to do:
  % ldapsearch -R -b "dc=example,dc=net" -h root.openldap.org "(objectclass=*)"
This should return:
  ldap_search: Partial results and referral received
        additional info: Referral:
  ldap://ldap.example.net:389

To configure with OpenLDAP slapd to redirect clients to this global root server, add the following to your slapd.conf file:

  referral        ldap://root.openldap.org:389


[Append to This Answer]
Previous: (Answer) Can I locate traditional X.500 style DNs using this service?
Next: (Answer) Where can I find technical references regarding this service?
This document is: http://www.openldap.org/faq/index.cgi?file=395
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org