Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 60937 invoked from network); 3 Apr 2007 20:39:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2007 20:39:16 -0000 Received: (qmail 64646 invoked by uid 500); 3 Apr 2007 20:39:22 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 64618 invoked by uid 500); 3 Apr 2007 20:39:22 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 64607 invoked by uid 99); 3 Apr 2007 20:39:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 13:39:22 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gstoyanoff@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 13:39:13 -0700 Received: by ug-out-1314.google.com with SMTP id 71so439537ugh for ; Tue, 03 Apr 2007 13:38:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=riIz6oCday97Uk6jD507vaJNl/FyA2iiTXlLWAmMIiVtfAlk4AcHYevxDLoQ4d0aSvsw/rklwjk8I3/kvDN4C0c6jk19wISW+SUWEBAjENFFWVYfuvCtwpk4wJo+EYOHGoDpKZsTyMiD5GOfTGadTMBZyI5J+hJ1Qx/fRJzuZnY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rao6Vi8Yh6DdJMNndb7rFNBeOUr8uRIjQedPur2JRs8u6GZgb37G0gkqdEfH+yFBTWGDmgZ/OTIiHGHGMPM/tj818IkceJ5w/cMNMDGNsZQ9z5syVQwAwbf7bI4/HP6vA2MEkd8Z8Mxu4JAXMlyjZGQogO2Yeii2oHxR4zbunQU= Received: by 10.114.148.1 with SMTP id v1mr2399142wad.1175632726042; Tue, 03 Apr 2007 13:38:46 -0700 (PDT) Received: by 10.115.111.11 with HTTP; Tue, 3 Apr 2007 13:38:45 -0700 (PDT) Message-ID: Date: Tue, 3 Apr 2007 16:38:45 -0400 From: "George Stoianov" To: "Emmanuel Lecharny" Subject: Re: Loading ldif files into apache ds Cc: "Apache Directory Developers List" , users@directory.apache.org In-Reply-To: <460C4945.905@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <460C4945.905@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Emmanuel, You will notice that I have from this post switched over to the user's list... I hope I get the same or better responses there ;). Thanks for your instructions they were helpful in getting additional partitions going I am still having an issue though: root@localhost bin]# ./apacheds-tools.sh import -f _ _ ____ ____ _____ _ / \ _ __ __ _ ___| |__ ___| _ \/ ___| |_ _|__ ___ | |___ / _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \ | |/ _ \ / _ \| / __= | / ___ \| |_) | (_| | (__| | | | __/ |_| |___) | | | (_) | (_) | \__ = \ /_/ \_\ .__/ \__,_|\___|_| |_|\___|____/|____/ |_|\___/ \___/|_|___= / |_| log4j:WARN No appenders could be found for logger (org.apache.directory.shared.ldap.codec.bind.SimpleAuthentication). log4j:WARN Please initialize the log4j system properly. Add of entry o=3Dinternet failed for the following reasons provided by the = server: failed to add entry o=3Dinternet: 2.5.4.10=3Dinternet already exists! Import failed... It seems like now it is making an attempt to add the internet entry and failing, and the first problem was that it was not finding it so it was not making an attempt to add I am really confused ..... :( I tried adding an "-e" option to the import command above, I saw it posted on the lists, and that lead to a: Exception in thread "main" java.lang.NullPointerException at org.apache.directory.shared.ldap.codec.add.AddRequest.computeLen= gth(AddRequest.java:281) at org.apache.directory.shared.ldap.codec.LdapMessage.computeLength= (LdapMessage.java:535) at org.apache.directory.shared.ldap.codec.LdapMessage.encode(LdapMe= ssage.java:613) at org.apache.directory.server.tools.ImportCommand.addEntry(ImportC= ommand.java:249) at org.apache.directory.server.tools.ImportCommand.execute(ImportCo= mmand.java:666) at org.apache.directory.server.tools.ApachedsTools.main(ApachedsToo= ls.java:115) Is there a way to just load the ldif using the: I alsohave some attributes problems (the export is from a Netscape LDAP ser= ver). "... nsuniqueid not found in attribute registry! " "... aci not found in attribute registry! " If I remove these fields from the ldif will the import work? Thank you. George On 3/29/07, Emmanuel Lecharny wrote: > George, > > is it possible that you post questions about ADS usage to the users > mailing list ? Not that we are overloaded by mails on the dev list, but > your mail might be lost into the maelstr=F6m of very technical mails here= . > > Users mailing list help us to keep a better track on your problems, and > eventually give you better answers ! > > Of course, if your problems are related to things like 'I can't compile > the server under Mandriva', then the dev list is the place to be :) > > Thanks a lot ! > > Emmanuel >