directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Commented: (DIRLDAP-51) Incorrect matched DN in the bind response (and others depending on the result code)
Date Sat, 24 Sep 2005 23:02:28 GMT
    [ ] 

Emmanuel Lecharny commented on DIRLDAP-51:

Jérôme is right. 
But I don't know if it is of some importance to keep the DN into the LdapResult. I bet that
no client will ever throw an error if this condition is not fulfilled ;)

Twix and Snickers codec will be fixed to handle the resultcodes that should not produce a

A valid test to do is to check what happens when one of the 4 given result code is returned
: is the added DN is correct wrt rfc 2251, then ?

> Incorrect matched DN in the bind response (and others depending on the result code)
> -----------------------------------------------------------------------------------
>          Key: DIRLDAP-51
>          URL:
>      Project: Directory LDAP
>         Type: Bug
>   Components: Common
>     Versions: 0.9.2
>     Reporter: Jérôme Baumgarten
>     Priority: Trivial

> According to RFC 2251 [1], section "4.1.10. Result Message", the matched DN for a bind
response should be a zero length string.
> I believe that other handlers should also be reviewed according to the following :
>    For result codes of noSuchObject, aliasProblem, invalidDNSyntax and
>    aliasDereferencingProblem, the matchedDN field is set to the name of
>    the lowest entry (object or alias) in the directory that was matched.
>    If no aliases were dereferenced while attempting to locate the entry,
>    this will be a truncated form of the name provided, or if aliases
>    were dereferenced, of the resulting name, as defined in section 12.5
>    of X.511. The matchedDN field is to be set to a zero length
>    string with all other result codes.
> Jérôme
> [1] :

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message