Everything looks OK to me. That's weird... Though, the LDAP API 1.0.0-M13 is 6 months old. Could you give a try to the latest 1.0.0-M16 version?
Regards, Pierre-Arnaud On 17 avr. 2013, at 12:46, nino martinez wael <nino.martinez.w...@gmail.com> wrote: > It is the exact same as the one in Apache Directory Studio, which does gets > authenticated... > > 2013/4/17 Kiran Ayyagari <kayyag...@apache.org> > >> On Wed, Apr 17, 2013 at 3:53 PM, nino martinez wael < >> nino.martinez.w...@gmail.com> wrote: >> >>> Hi >>> >>> I have a working LDAP configuration using Directory Studio. Here's the >>> configuration : http://imgur.com/a/w6DKp >>> >>> And am now trying to do the same using the LDAP API here : >>> http://tny.cz/c7a2ee7e >>> >>> I get this exception: >>> >>> >>> >> org.apache.directory.shared.ldap.model.exception.LdapAuthenticationException: >>> 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, >>> data 525, vece >>> >>> >>> How does my code differ from what are used in Directory studio? >>> >>> is the password in your code correct? >> >>> I am using this version, is that wrong?: >>> >>> <dependency> >>> <groupId>org.apache.directory.shared</groupId> >>> <artifactId>shared-all</artifactId> >>> <version>1.0.0-M13</version> >>> </dependency> >>> >>> >>> >>> >>> -- >>> Best regards / Med venlig hilsen >>> Nino Martinez >>> >> >> >> >> -- >> Kiran Ayyagari >> http://keydap.com >> > > > > -- > Best regards / Med venlig hilsen > Nino Martinez