Friday, November 22, 2013

ldapsearch OID 10.1.4 Find all groups an member belongs to

$ORACLE_HOME/bin/ldapsearch -h $ldapurl -p $ldapport -D "cn=orcladmin" -w $password -b "dc=acme,dc=nl" -s sub "(&(|(objectclass=orclgroup)(objectclass=orcladgroup))(uniquemember=cn={USER},cn=users,dc=acme,dc=nl))" displayname Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.

1 comment:

  1. here is the query which worked for me:

    ldapsearch -h [host] -p [port] -D cn=orcladmin -w [PASSWORD] -b cn=groups,dc=cap,dc=tst -s sub "objectclass=orclIDXGroup" "uniquemember=cn=gherbek,cn=external,cn=users,dc=cap,dc=tst"

    ReplyDelete

comment