Koozali.org: home of the SME Server

LDAP hierarchy customization

Sebastian

LDAP hierarchy customization
« on: January 10, 2003, 09:50:48 PM »
I have a couple of questions with regard to the LDAP configuration on the SME server v5.5.

First, I see that SME users are created right off the root, as in "dn: uid=guest,dc=domain,dc=com". I would like introduce an OU to the tree, and have users created under the organizational unit, such as "dn: uid=guest,ou=Users,dc=domain,dc=com.

This would allow me to use other OU's for other things, like personal address books, bookmarks, etc, without muddying the waters.

Hay anyone else done this?

I see in util.pm (/usr/lib/perl5/site_perl/esmith/util.pm, line 714, in the "ldapBase" function), that there appears to be a system-wide base DN configured as "dc=domain,dc=com".

Assuming I have created the ou=Users manually, is it safe to modify this line to read
    return "ou=Users,dc=" . $domainName;
and will it break any other component of the SME server?

Thanks in advance.