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

Reply via email to