You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by "Robert r. Sanders" <ro...@ipov.net> on 2005/03/18 04:21:52 UTC
Example of LdifIterator for adding entries?
Is there any example(s) of using
org.apache.ldap.common.ldif.LdifIterator to parse an LDIF file and add
it to the directory that someone could point me too?
Thanks,
--
Robert r. Sanders
Chief Technologist
iPOV
(334) 821-5412
www.ipov.net
Re: Example of LdifIterator for adding entries?
Posted by Alex Karasulu <ao...@bellsouth.net>.
Robert r. Sanders wrote:
> Is there any example(s) of using
> org.apache.ldap.common.ldif.LdifIterator to parse an LDIF file and
> add it to the directory that someone could point me too?
> Thanks,
>
Take a look at the end of
http://svn.apache.org/viewcvs.cgi/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/ServerContextFactory.java?rev=157708&view=markup
Namely at importLdif()...
Cheers,
Alex