Changes

stoney core: OpenLDAP directory data organisation

2 bytes added, 12:21, 24 July 2013
/* Customers People */
==== Customers People ====
The sub tree '''ou=people,uid=40000004000001,ou=resellercustomers,dc=stoney-cloud,dc=org''' contains the all the people belonging to the reseller customer '''Reseller Customer Ltd.''' (all the people, including the employees, with the the attribute sstBelongsToResellerUIDsstBelongsToCustomerUID=40000004000001). With the attribute labeledURI we use the functionality of the [http://www.openldap.org/doc/admin24/overlays.html#Dynamic%20Lists dynamic lists overlay] to automatically give us a list of employees belonging to this reseller. The number of people is always the same or larger than the number of employees belonging to a reseller.
dn: ou=people,uid=40000004000001,ou=resellercustomers,dc=stoney-cloud,dc=org
objectclass: top
objectclass: organizationalUnit
objectclass: labeledURIObject
ou: employees
labeledURI: ldap:///ou=people,dc=stoney-cloud,dc=org??one?(sstBelongsToResellerUIDsstBelongsToCustomerUID=40000004000001)
member: uid=4000002,ou=people,dc=stoney-cloud,dc=org
member: uid=4000064,ou=people,dc=stoney-cloud,dc=org
member: uid=4000069,ou=people,dc=stoney-cloud,dc=org
In this example, four people the reseller customer '''Reseller Customer Ltd.''' (including the employee with the uid=4000002).
The following table describes the different attributes:
SLB, editor, reviewer
3,368
edits