Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ldapsearch with a base64 encoded filter?

Mike FieldsNov 18 2014 — edited Nov 20 2014

I am trying to conduct an ldapsearch on an instance with the base64 encoded value of uid.

ldapsearch -v -T1 -e  -b "dc=example,dc=com" -p 389 -D "cn=directory manager" -j /ldap/tools/ldappwd uid=ZG1pcmFuMDLCoMKgwqDCoA==

I have attempted many different filters with zero luck.  Some of them are:

     uid:base64=ZG1pcmFuMDLCoMKgwqDCoA==

     uid:b64value=ZG1pcmFuMDLCoMKgwqDCoA==

     uid::base64=ZG1pcmFuMDLCoMKgwqDCoA==

     uid::b64value=ZG1pcmFuMDLCoMKgwqDCoA==

     uid=[ZG1pcmFuMDLCoMKgwqDCoA==]

     uid='ZG1pcmFuMDLCoMKgwqDCoA=='

The decoded value appears like this.

     uid=dmiran02Â Â Â Â

I was just curious if there was a method to search on the base64 encoded value of ZG1pcmFuMDLCoMKgwqDCoA==.  Some OID value that must be specified or something?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 18 2014
Added on Nov 18 2014
3 comments
3,151 views