[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6923) ldapsearch issue

Full_Name: Charles Merrick
Version: 2.1.29
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

I am trying to execute a ldapsearch command with a -w option for password.  The
problem occurs when I have an extended ASCII char in the password like the
British Pound symbol "£" (ascii number 163) embedded in the password string. 
Are extended ASCII chars allowed in password string?  I get the following error

ldap_bind: Invalid credentials (49)
additional info: 80090308: LdapErr: DSID-0C090334, comment:
AcceptSecurityContext error, data 52e, vece

I understand that this means that the password is invalid.  For example, if I
have userID "Guest_01" and password "Test" then ldapsearch will work, but if I
have userID "Guest_01" and passworrd "Test_£" then ldapsearch fails with above

I have tried putting the -w password  in double quotes and with no quotes.  When
password is -w Test or -w"Test" it works fine but when I use -w Test£ or
-w"Test£", it fails.

Thank you for your assistance.  I am a developer who fixes bugs and ldap stuff
is new to me for maintenance.