简体   繁体   中英

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

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.

在此处输入图像描述

for this user i want to add some custom properties在此处输入图像描述

but i ldap rejecting these changes

please help me how to add custom attribute properties

In order to do what you want, you would have to extend the .netOrgPerson class. Just as .netOrgPerson 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 .netOrgPerson (like carLicense), and use that instead for my own purposes. Very quick and dirty.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM