[ 
https://issues.apache.org/jira/browse/DIRAPI-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13189733#comment-13189733
 ] 

Emmanuel Lecharny commented on DIRAPI-68:
-----------------------------------------

Forgot to mention that the server should reject BindRequest without any Dn.

This should be done in the BindHandler class, handleSimpleAuth method :
        // Stores the Dn of the user to check, and its password
        bindContext.setDn( bindRequest.getName() );  <== Here, if the getName() 
is null and if the String is not null, that means we have not received a valid 
Dn.



                
> Unable to bind on an Active Directory server using 'domain\userid'
> ------------------------------------------------------------------
>
>                 Key: DIRAPI-68
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-68
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M9
>            Reporter: Pierre-Arnaud Marcelot
>            Assignee: Pierre-Arnaud Marcelot
>            Priority: Critical
>             Fix For: 1.0.0-M10
>
>
> Unable to bind on an Active Directory server using 'domain\userid'. 
> The Apache Directory LDAP API doesn't currently handles this and expect a DN 
> as name for a bind request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to