Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E0E577B1 for ; Thu, 3 Nov 2011 23:52:07 +0000 (UTC) Received: (qmail 79987 invoked by uid 500); 3 Nov 2011 23:52:07 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 79956 invoked by uid 500); 3 Nov 2011 23:52:07 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 79948 invoked by uid 99); 3 Nov 2011 23:52:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2011 23:52:07 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ayyagarikiran@gmail.com designates 209.85.210.178 as permitted sender) Received: from [209.85.210.178] (HELO mail-iy0-f178.google.com) (209.85.210.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2011 23:52:02 +0000 Received: by iadj38 with SMTP id j38so2462495iad.37 for ; Thu, 03 Nov 2011 16:51:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=qyDSFawqI+z5SNF6kG9egUOLKlPlcjNTaVQRK93D34I=; b=DKBDVjEuT3WDPnTLLDSbVJuZXQZnsjQ+wlw3wicORoAQqliI2P4xWz8ip+kQWv1p3v uD+QAYr707jpm8IO+hazGUox8tkchXkpHf8loJrst+WLI2adRJyDlgiHWuBjVU4tAIgm QEHRs7Wp6SWju+gKlPa0g4PJq108am7ffH8XI= MIME-Version: 1.0 Received: by 10.231.50.202 with SMTP id a10mr2986808ibg.39.1320364301601; Thu, 03 Nov 2011 16:51:41 -0700 (PDT) Sender: ayyagarikiran@gmail.com Received: by 10.231.36.75 with HTTP; Thu, 3 Nov 2011 16:51:41 -0700 (PDT) In-Reply-To: References: Date: Thu, 3 Nov 2011 19:51:41 -0400 X-Google-Sender-Auth: lDIaoQ8sc5gkbSqObQ_P1XNdwVw Message-ID: Subject: Re: Kerberos server From: Kiran Ayyagari To: users@directory.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 samp= le On Thu, Nov 3, 2011 at 6:44 PM, Jitendra Pandey wrote: > Hi, > =A0 I want to embed =A0kerberos servers (kdc and authentication servers) = in my > application. =A0On 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. > =A0Could you please point me to an example code? Any pointers to code or > documentation or hints will be greatly helpful. > =A0I 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. =A0If possible I want to avoid ldif files an= d > prefer to add and remove principals and passwords via API. But I am unabl= e > to add principals via the API. > > regards > jitendra > --=20 Kiran Ayyagari