Josef Cacek created DIRKRB-85:
---------------------------------

             Summary: @CreateKdcServer should include searchBaseDn attribute
                 Key: DIRKRB-85
                 URL: https://issues.apache.org/jira/browse/DIRKRB-85
             Project: Directory Kerberos
          Issue Type: Bug
            Reporter: Josef Cacek
            Assignee: Emmanuel Lecharny
            Priority: Critical


CreateKdcServer annotation doesn't contain searchBaseDn, so the KdcServer 
instance created by calling
org.apache.directory.server.factory.ServerAnnotationProcessor.getKdcServer(DirectoryService,
 int) can't be used for domain other than "example.com".
The KdcServer created from @CreateKdcServer configuration searches users always 
in "ou=users,dc=example,dc=com" (see to KdcServer constructor).

For a LDAP server it's possible to change the search domain after the 
retrieving an instance from ServerAnnotationProcessor, but it doesn't work for 
the KdcServer, because the original value is already stored in a 
DirectoryPrincipalStore instance created by KdcServer.start() method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to