Identity Management (MOSC)

MOSC Banner

OID: ldapsearch with (user and group membership)

edited Sep 14, 2017 3:37AM in Identity Management (MOSC) 3 commentsAnswered ✓

Hi all,

I have to compare OID and AD user information and have a question regarding OID: I can find user and / or group membership via:

*** Groups

ldapsearch -h $OIDhost -p $OIDport -D "cn=myname,cn=myCN,cn=Users,dc=example,dc=de" -w $OIDpwd -s sub  "(&(objectClass=groupOfUniqueNames)(uniqueMember=cn=myname,cn=myCN,cn=Users,dc=example,dc=de))"

*** Users

ldapsearch -h $OIDhost -p $OIDport -D "cn=myname,cn=myCN,cn=Users,dc=example,dc=de" -w $OIDpwd -b "cn=oam_oauth2, cn=accessusers, cn=Users, dc=bamf,dc=de" "(objectClass=*)"

But I need / have to create one ldapsearch-query to combine user information and his groupmembership. what have I missed?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center