Changes

stoney core: OpenLDAP directory data organisation

2 bytes added, 12:20, 24 July 2013
/* Customers Employees */
==== Customers Employees ====
The sub tree '''ou=employees,uid=40000004000001,ou=resellercustomers,dc=stoney-cloud,dc=org''' contains the employees belonging to the reseller '''Reseller Customer Ltd.''' (all the employees with the the attribute sstBelongsToEmployeeUID=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 resellercustomer. The number of employees is always the same or smaller than the number of people belonging to a reseller customer (they are a subset).
dn: ou=employees,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?(sstEmployeeOfUID=40000004000001)
member: uid=4000002,ou=people,dc=stoney-cloud,dc=org
In this example, the reseller customer '''Reseller Customer Ltd.''' has one employee (with the uid=4000002).
The following table describes the different attributes:
SLB, editor, reviewer
3,368
edits