directory-users mailing list archives

Sorry to be a pain but how would I do it programmatically ?
This is my startup code.
DirectoryService directoryService = new
DefaultDirectoryService();
directoryService.setShutdownHookEnabled(true);
LdapServer ldapServer = new LdapServer();
ldapServer.setDirectoryService(directoryService);
TcpTransport ldapTransport = new TcpTransport(10389);
ldapServer.setTransports(ldapTransport);
HelloWorldPartition helloPartition = new HelloWorldPartition();
helloPartition.setSuffix("ou=helloWorld");
helloPartition.init(directoryService);
directoryService.addPartition(helloPartition);
directoryService.startup();
ldapServer.start();