how to add custem attribute properties for a ldap user in apache ds server

47 Views Asked by At

i am trying to learn about LDAP and basic server creation and authenticating from client completed.

now i want add custom attribute properties for an user like cn,uid or sn i want to add networkGrp, srcIp,DestIp like that but if i add apache ds studio ignoring.

enter image description here

for this user i want to add some custom properties enter image description here

but i ldap rejecting these changes

please help me how to add custom attribute properties

1

There are 1 best solutions below

0
Doug Grove On

In order to do what you want, you would have to extend the InetOrgPerson class. Just as InetOrgPerson extends organizationalPerson. See rfc2798.

Alternatively, for the very lazy.... I do not recommend this, but I have done it. I just find an attribute that I am not using in InetOrgPerson (like carLicense), and use that instead for my own purposes. Very quick and dirty.