directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacques Oosthuizen <jacqu...@conor.co.za>
Subject Re: Partition
Date Thu, 26 Nov 2009 12:07:24 GMT
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();







Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message