Hi, Is this snippet sufficient ?
5425 [pool-4-thread-1] INFO org.apache.directory.server.ldap.handlers.request.BindRequestHandler - The myorg\ldaptest1 principalDN cannot be found in the server : bind failure. 5426 [pool-4-thread-1] INFO org.apache.directory.server.core.api.interceptor.context.BindOperationContext - Bad authentication for null Many thanks > > On 7 Nov 2023, at 12:39, Emmanuel Lécharny <[email protected]> wrote: > > Hi, > >> On 07/11/2023 12:44, Shirley Tarboton wrote: >> Hi All, first time posting on here … >> We have a set of services that we deploy to different environments, some of >> which use OpenLDAP, but others use Active Directory. We’ve modified our code >> to allow for different configuration and to integrate with ActiveDirectory, >> and are now updating the unit tests to test both scenarios based on >> additional configuration. We’ve attempted to update the users.ldif for the >> ActiveDirectory unit test to include sAMAccountName by making >> Microsoft-compatible Schema changes. After a lot of tweaks, the users.ldif >> changes seem to be accepted, but the BindRequestHandler cannot find the >> principalDN. > > > Can you attach the logs you get? > > >> Just wanted to check whether anyone has tried this before? Are we wasting >> our time? Shall we switch to mock testing instead? >> Many thanks for your help > > -- > *Emmanuel Lécharny* P. +33 (0)6 08 33 32 61 > [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
