Hi,
Kiran excuse me for attachements, i tried to provide for you a paste bin:
my java class: http://pastebin.com/m748ea714
my server.xml: http://pastebin.com/m1f899034
Hoping this can help...
As you see, I can authenticate successful using only uid (or cn), that is
"adminrosa". If, instead I use "cn=adminrosa,dc=example,dc=com", I get
following exception:
javax.naming.AuthenticationException: [LDAP: error code 49 -
INVALID_CREDENTIALS
: DIGEST-MD5: cannot acquire password for cn=adminrosa,dc=example,dc=com in
real
m : example.com]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3005)...
ayyagarikiran wrote:
>
>
>> It uses dn found, that isn't only cn. Can't I change this server
>> beahoviur
>> and execute bind with full dn?
>
> AFAIK, if you are using ApacheDS then the only way the authentication
> works is by specifying the full DN
> Isn't it in your case?
>
>> For more clarity I upload the entire java class.
>
> Attachments will be stripped by the spam filter may be you can use a paste
> bin and provide a link
>
> Kiran Ayyagari
>
>
--
View this message in context:
http://www.nabble.com/ApacheDs---DIGEST-MD5-tp22076098p22078642.html
Sent from the Apache Directory Project mailing list archive at Nabble.com.