Hi guys!
I'm trying to run an embedded ApacheDS in my application. After reading http://directory.apache.org/apacheds/1.5/41-embedding-apacheds-into-an-application.html I build this:
public void startDirectoryService() throws Exception {
service = new DefaultDirectoryService();
service.getChangeLog().setEnabled( false );
P...
Hi guys!
I want my embedded ApacheDS to start up with a fresh schema/content when I run my tests. I tried to import a LDIF with this lines:
LdifFileLoader ldifLoader = new LdifFileLoader(service.getAdminSession(), "path/to/my/export.ldif");
ldifLoader.execute();
But now ApacheDS stores the information in a directory server-wo...
What't the syntax for performing a case-insensitive match on a 'uid' attribute? If attribute definition matters then how would that be changed? In particular I am using ApacheDS for my LDAP store.
...
I would like to list or search the root context(s) in a LDAP tree. I use Apache Directory Server and Java:
Hashtable<String, String> contextParams = new Hashtable<String, String>();
contextParams.put("java.naming.provider.url", "ldap://localhost:10389");
contextParams.put("java.naming.security.principal", "uid=admin,ou=syste...
I have been trying to locate various dependencies and it seems that various classes have changed packages resulting in broken stuff. eg AbstractServerTest ffrom 1.5.5 doesnt work with all the jars from 1.5.7. I am wondering if its a good thing to use ADS 1.5. The documentation seems to imply releases are ok, but the download links includ...
Hey,
I'm using spring 3.0.2 and ApacheDS 1.5.5 and I'm trying to run the embedded server using:
The content of the user.s.ldif file is :
dn: cn=The Postmaster,dc=example,dc=com
objectClass: organizationalRole
cn: The Postmaster
But I always get this error:
16566 [main] INFO org.apache.directory.server.protocol.shared.store. LdifFil...
While I was trying to start ApacheDS 1.5.7 on windows platform, An Error 04450 occurs and the apacheds-rolling.log contains:
[21:07:27] ERROR [org.apache.directory.shared.ldap.entry.DefaultServerAttribute] - ERR_04450 The value {0} is incorrect, it hasnt been added
[21:07:27] ERROR [org.apache.directory.server.Service] - Cannot start th...