RE: [squid-users] RE: User with Chinese LDAP CN does not work

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 28 Jul 2004 19:54:00 +0200 (CEST)

On Wed, 28 Jul 2004, Huang, David wrote:

> user filter '(&(sAMAccountName=yke0155)(objectclass=user))', searchbase 'dc=mtuzhuhai,dc=com'
> attempting to bind to user 'CN=???,OU=IT,DC=mtuzhuhai,DC=com'
> ERR

Ok. so the search of the users DN works just fine, but then it can not
bind to this DN.

Here is a few different cases which could explain this

 a) Wrong password
 b) LDAP server returns incorrecly formatted DN. Should be UTF-8
 c) LDAP server does not correctly handle UTF-8 DNs
 d) LDAP library does not correctly handle UTF-8 DNs

> 1) User CN is all 6 octets, then mean user DN will not be short than 256 octets.

Is the DN printed by the helper correct in debug mode, or has the chineese
UTF-8 characters been substituted by something else?

Regards
Henrik
Received on Wed Jul 28 2004 - 11:54:03 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:03 MDT