From users-return-4219-apmail-directory-users-archive=directory.apache.org@directory.apache.org Tue Nov 1 00:50:43 2011 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 DCB9792C4 for ; Tue, 1 Nov 2011 00:50:42 +0000 (UTC) Received: (qmail 80400 invoked by uid 500); 1 Nov 2011 00:50:42 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 80368 invoked by uid 500); 1 Nov 2011 00:50:42 -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 80351 invoked by uid 99); 1 Nov 2011 00:50:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 00:50:42 +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 (nike.apache.org: domain of g.arpit@gmail.com designates 209.85.161.178 as permitted sender) Received: from [209.85.161.178] (HELO mail-gx0-f178.google.com) (209.85.161.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 00:50:34 +0000 Received: by ggnh1 with SMTP id h1so7291504ggn.37 for ; Mon, 31 Oct 2011 17:50:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=9WGyAogyNBPJvzBoDg6bH/7jzVTe52rDpvQNMuTKUoM=; b=l3F063Nsny0ISR22GOGCmNkrEdnMApocdD+yyi+LXgl1Asw6NNJ3rDqknKD84GtZA+ ZohJ6SomqxEy7q6hQDNLEldQQ3flo2XRdfs3+Eea5ojM+f4tUiaiMRLVAunX3suov0xY Z1v3tb0OXZ7jSkOTtJZSbZFgmsZD4JLMV7gT0= Received: by 10.68.12.105 with SMTP id x9mr27138491pbb.109.1320108613112; Mon, 31 Oct 2011 17:50:13 -0700 (PDT) Received: from [10.10.10.102] (host1.hortonworks.com. [70.35.59.2]) by mx.google.com with ESMTPS id b8sm14305649pba.16.2011.10.31.17.50.11 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 31 Oct 2011 17:50:12 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1251.1) Subject: Re: how to specify the ldif file in server.xml for kdc From: Arpit Gupta In-Reply-To: Date: Mon, 31 Oct 2011 17:50:10 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <68EF4A62-4F26-4AB1-9BB8-316EFF88BCE8@hortonworks.com> To: users@directory.apache.org X-Mailer: Apple Mail (2.1251.1) X-Virus-Checked: Checked by ClamAV on apache.org Ah that did the trick that the server starts up (before the stuff i was = trying was causing the server to not start up) but it does not add the = new users that i had specified in my ldif file. I took the file that was = provided in the documentation and updated it to just have one user but = that user does not seem to be there. I tried to do a kinit and also = refreshed the entry in apache studio but it did not have the new user. = fyi i am using 1.5.7. Below is the ldif file i am trying to load. objectClass: dcObject objectClass: organization objectClass: top dc: example o: example.com dn: ou=3DUsers,dc=3Dexample,dc=3Dcom objectClass: organizationalUnit objectClass: top ou: Users dn: uid=3Darpit,ou=3DUsers,dc=3Dexample,dc=3Dcom objectClass: top objectClass: person objectClass: inetOrgPerson objectClass: krb5principal objectClass: krb5kdcentry cn: Arpit Gupta sn: Gupta uid: arpit userPassword: secret krb5PrincipalName: arpit@EXAMPLE.COM krb5KeyVersionNumber: 0 -- Arpit g.arpit@gmail.com On Oct 31, 2011, at 5:28 PM, Kiran Ayyagari wrote: > set the 'ldifDirectory' attribute of the 'apacheDS' entry > Note that this attribute takes a directory path under which it looks > for LDIF files. >=20 > HTH >=20 >=20 > On Mon, Oct 31, 2011 at 7:27 PM, Arpit Gupta = wrote: >> Hi All >>=20 >> I have been searching to see if i can find how i can specify an ldif = file to be loaded using the server.xml. >>=20 >> I want to try to load the = http://directory.apache.org/apacheds/1.5/543-kerberos-in-apacheds-155.data= /kdc-data.ldif >>=20 >> I noticed that the users in the above file are already present but i = wanted to see if i needed to create users could i specify them in an = ldif file and load them via the server.xml for my kdc. I have figured = out how to add them via apache studio but was looking for a way where if = i have a ldif file with all the users how to add that in server.xml >>=20 >> -- >> Arpit >> arpit@hortonworks.com >>=20 >>=20 >>=20 >>=20 >>=20 >=20 >=20 >=20 > --=20 > Kiran Ayyagari