You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Si...@saaconsultants.com on 2007/12/21 11:52:05 UTC
1.5.2 ApacheDS() loadLdifs Problem
Hi
I can't start a 1.5.2 server via the ApacheDS class:
LdapPrincipal admin = new LdapPrincipal( new LdapDN( ServerDNConstants.ADMIN_SYSTEM_DN ), AuthenticationLevel.STRONG );
java.lang.IllegalStateException: Names used for principals must be normalized!
at org.apache.directory.server.core.authn.LdapPrincipal.<init>(LdapPrincipal.java:72)
at org.apache.directory.server.configuration.ApacheDS.loadLdifs(ApacheDS.java:321)
at org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:95)
Will it work if the code is changed to use ServerDNConstants.ADMIN_SYSTEM_DN_NORMALIZED?
- SimonT