[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldapsearch with -y option
- To: openldap-technical@openldap.org
- Subject: ldapsearch with -y option
- From: "Angel L. Mateo" <amateo@um.es>
- Date: Tue, 02 Oct 2012 08:40:42 +0200
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1
Hello,
Maybe it's a silly question, but I'm going crazy and I don't found the
solution. I want to use the -y option in a ldapsearch command, so I have
write my password in a file (plain text file with the password in plain
text), then I run the
ldapsearch -y <mypasswordfile> <other options>
and I get an invalid credential error. I have checked several times
that the password is correct. I have debuged the request with wireshark
and I have checked that the only difference in the bind request is that
-y option is adding a final 0x0a char to the password.
Any idea?
PS: if this could help, I'm using ubuntu 12.04 and I have created the
password file with vi (I have also tried creating it with gedit and with
echo "..." > <file>)