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?