you need to start the DirectoryService anyway like the way you do before starting up the LdapServer
If you can show me your code that will make it easier to find the issue and will hopefully help in sending a quick patch P.S:- just handling too many things right now so can't whip a complete sample On Thu, Nov 3, 2011 at 6:44 PM, Jitendra Pandey <[email protected]> wrote: > Hi, > I want to embed kerberos servers (kdc and authentication servers) in my > application. On the website I found code for embedding ldap server but not > kerberos. I saw the code for starting kdc in some unit tests, but I am > unable to add principals and passwords in the kdc via API. > Could you please point me to an example code? Any pointers to code or > documentation or hints will be greatly helpful. > I intend to use a very simple setup, preferably storing all principals > and passwords etc in memory. I thought I could use AvlPartition for that > without any persisted files. If possible I want to avoid ldif files and > prefer to add and remove principals and passwords via API. But I am unable > to add principals via the API. > > regards > jitendra > -- Kiran Ayyagari
