I am trying to configure fortress to use openldap that comes with centos 6 and 
not the Symas OpenLDAP. When I am trying to build the directory information 
tree using the these maven commands, I get lots of errors around this using 
multiple namingContexts. 
mvn install -Dload.file=./ldap/setup/refreshLDAPData.xmlmvn install 
-Dload.file=./ldap/setup/DelegatedAdminManagerLoad.xml
>From what I can tell, OpenLDAP only wants a single naming context. I can't 
>find the configuration files to change to use my namingContext (dc=company, 
>dc=com) instead of the ou=schema, ou=config, ou=system. How do I change these?
 [startAnt] [FortressAdmin] 2016-08-01 15:39:19,832 (INFO ) create dn 
[cn=DEFAULT,ou=Config,dc=staples,dc=com] [startAnt] [FortressAdmin] 2016-08-01 
15:39:19,838 (ERROR) create config dn [cn=DEFAULT,ou=Config,dc=company,dc=com] 
caught LDAPException=objectClass: value #1 invalid per syntax [startAnt] 
[FortressAdmin] 
org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException:
 objectClass: value #1 invalid per syntax

 [startAnt] [FortressAdmin] 2016-08-01 15:39:19,839 (INFO ) addConfig realm 
name [TOMCAT] [startAnt] [FortressAdmin] 2016-08-01 15:39:19,840 (INFO ) create 
dn [cn=TOMCAT,ou=Config,dc=staples,dc=com] [startAnt] [FortressAdmin] 
2016-08-01 15:39:19,847 (ERROR) create config dn 
[cn=TOMCAT,ou=Config,dc=company,dc=com] caught LDAPException=objectClass: value 
#1 invalid per syntax [startAnt] [FortressAdmin] 
org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException:
 objectClass: value #1 invalid per syntax

Thanks
Ted Haynes

Reply via email to