tiredofit / docker-openldap-fusiondirectory

Dockerized OpenLDAP server with FusionDirectory Schema Support
41 stars 15 forks source link

automatically fill the "ou" attribute of organizationalperson as memberof #16

Open mamiapatrick opened 4 years ago

mamiapatrick commented 4 years ago

Hello,

Do someone already succeed to automatically fill the "OU" an "O" attributes of users in the LDAP according to their DN. For example for a user with DN cn=marc, ou=people, ou=marketing, ou=commercial-division, dn=example, dn=org the OU atributes could be automatically fill with ou=marketing or ou=marketing/commercial-division ...or something like that

tiredofit commented 4 years ago

If you are referencing a user DN inside of a group it already showing the full DN not just the UID. You would simply need to change the filter from your application to give the full value. What application in question are you looking to integrate?