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

slapd asserts when ADSI connects with invalid auth method (ITS#831)

Full_Name: John Birrell
Version: 2.0.3
OS: Solaris
Submission from: (NULL) (

Line 397 of servers/slapd/result.c (in 2.0.3) asserts if err is in the
LDAP_API_ERROR() range. When a client (in our case ADSI) binds with an unknown
method (ADSI tries 137), the code in do_bind() tries to return LDAP_AUTH_UNKNOWN
which trips up the assertion in send_ldap_result(). 8-(