Hello, I can do authentication with LDAP.
Two configurations below run excellent when they are on their own. But i want both at the same time i tried below lines in usersrepository.conf <repository name="LocalUsers" class="org.apache.james.user.ldap.ReadOnlyUsersLDAPRepository" ldapHost="ldap://localhost:10389" principal="uid=admin,ou=system" credentials="secret" userObjectClass="inetOrgPerson" userBase="ou=users,ou=system" userIdAttribute="uid"><UsersDomain>example.com </UsersDomain><LDAPRoot>dc=example,dc=com</LDAPRoot><MailAddressAttribute>mail</MailAddressAttribute><IdentityAttribute>uid</IdentityAttribute><AuthenticationType>simple</AuthenticationType><ManagePasswordAttribute>TRUE</ManagePasswordAttribute><PasswordAttribute>userPassword</PasswordAttribute></repository> <repository name="LocalUsers" class="org.apache.james.user.ldap.ReadOnlyUsersLDAPRepository" ldapHost="ldap://localhost:10389" principal="uid=admin,dc=merve,dc=com" credentials="secret" userObjectClass="inetOrgPerson" userBase="ou=users,dc=merve,dc=com" userIdAttribute="uid"><UsersDomain> merve.com </UsersDomain><LDAPRoot>dc=merve,dc=com</LDAPRoot><MailAddressAttribute>mail</MailAddressAttribute><IdentityAttribute>uid</IdentityAttribute><AuthenticationType>simple</AuthenticationType><ManagePasswordAttribute>TRUE</ManagePasswordAttribute><PasswordAttribute>userPassword</PasswordAttribute></repository> but it failed. Can you suggest something, is it possible to have mıltiple domains? Thanks.
