How to get group name of an user from OpenDJ? Skip to main content
https://support.okta.com/help/answers?id=906f0000000i05riac&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Subhajit DeySubhajit Dey 

How to get group name of an user from OpenDJ?

I need to get group values of a particular users stored in OpenDJ LDAP. I have group rdn as "cn=admins,ou=administraion,ou=ds,dc=ms,dc=com". I need "admins" under user attribute in group section during Okta LDAP agent configuration. I can find the full rdn as mentioned using "isMemberOf" attribute is extra attribute section.

Drew PadorDrew Pador (Okta, Inc.)
Hello Subhajit,

In order to extract the admins from the rdn, you will need to modify the attribute under the directory mappings using a custom expression. To change this, login to your Okta Admin and go to Directory>Profile Editor. Click the Mappings button under the OpenDJ Actions column. For the isMemberOf attribute, you will want to use one of the Okta Expression Language string functions to extract admins from the rdn value that is being imported from OpenDJ. 

Here is a link to the syntax for our expression language for your reference:
http://developer.okta.com/docs/api/getting_started/okta_expression_lang?_ga=1.34264105.903566425.1466117006


Regards,
Drew Pador
Technical Support Engineer
User-added image