[Date Prev][Date Next]
Re: Base DN questions
> Two of them.
> 1) Coudn't find this in the FAQ, but I've talked to LDAP servers before
> where I did not have to specify a base DN. I recall that there is a way
> for a client to trivially determine a reasonable base search DN.
> Anyways, is there a way to configure my server such that clients need
> not specify a base DN?
is used whenever the search base is "" and scope is not "base";
otherwise, for the last database, you may want to use
suffixAlias "" "dc=your,dc=org"
which yields the same result.
> 2) Can I alias a base DN, such that:
> o=tellme.com -> dc=tellme,dc=com
> ou=People,o=tellme.com -> ou=People,dc=tellme,dc=com
> uid=*,ou=People,o=tellme.com -> uid=*,ou=People,dc=tellme,dc=com
suffixAlias "o=tellme.com" "dc=tellme,dc=com"
> Basically, I'd like to set it up so that if some foggy old client starts
> doing searches with a base DN of o=tellme.com that it ends up getting
> the goods on things in dc=tellme,dc=com. I'd like to just "alias" the
> base DN, or whatever, not create a shadow o=tellmew.com where every
> object is a reference to its real counterpart in dc=tellme,dc=com.
Dr. Pierangelo Masarati | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
Politecnico di Milano | mailto:email@example.com
via La Masa 34, 20156 Milano, Italy | http://www.aero.polimi.it/~masarati