directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nowhere <>
Subject Re: ApacheDs - DIGEST-MD5
Date Wed, 18 Feb 2009 13:24:49 GMT

Kiran excuse me for attachements, i tried to provide for you a paste bin:
my java class:
my server.xml:

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 -
: DIGEST-MD5: cannot acquire password for cn=adminrosa,dc=example,dc=com in
m :]
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(

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:
Sent from the Apache Directory Project mailing list archive at

View raw message