-
Notifications
You must be signed in to change notification settings - Fork 0
Create custom attribute
Bruno Bonfils edited this page Jul 13, 2013
·
3 revisions
While the default object may be enough, you'll probably need to add some attributs to the employee object. This page will describe all steps require to extend the default object.
IF the attribute you want to add is not on defined on inetOrgPerson objectClass, you must add the required objectClass in object_classes method:
def object_classes(cls):
return ['top', 'person', 'organizationalPerson','inetOrgPerson', 'my-employee-oc' ]
You must restart LBE.
Logon as administrator in LBE, click on Add attribute. The DisplayName field describe how this attribute is displayed on LBE. The Name field must match the name of your LDAP attribute.