| 
 | 
 
 | 
No.  ldapsearch(1), itself, does not encrypt values of any attribute.
However, ldapsearch(1) will present values of some attributes, such
as userPassword, using LDIF's base64 encoding form.  For example,
a userPassword value of "secret" is presented as follows:userPassword:: c2VjcmV0One may use any base64 decoder to obtain the represented value.  | |
The following demonstrates how to one could decode the above base64 encoded value using perl.
echo "c2VjcmV0" | perl -MMIME::Base64 -ne 'print decode_base64($_) . "\n"'Executing this command prints "secret" followed by a newline.  | |
| [Append to This Answer] | 
| Previous: | 
 | 
| Next: | 
 | 
  | ||||||||