[Bug 582812] Re: ldapsearch -y option does not work

Adam Sommer asommer at ubuntu.com
Mon May 24 20:49:21 BST 2010


Thank you for reporting this bug and making Ubuntu better.  Did you
create the /etc/ldap.secrets file using a text editor such as Vim or
nano?  If so the editor probably added a CR or LF to the end of the
line.  If there is such characters the ldap utilities won't recognize
the string as a legit password.

Can you try creating /etc/ldap.secrets using:

  sudo sh -c "echo -n 'secret' > /etc/ldap.secrets"

Replacing 'secret' with your correct password.  Then retry your
ldapsearch commands.  Using echo with the -n will not add new line
characters.

-- 
ldapsearch -y option does not work
https://bugs.launchpad.net/bugs/582812
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.



More information about the Ubuntu-server-bugs mailing list