Hi,

have a look at novell's jldap code:

http://www.openldap.org/devel/cvsweb.cgi?cvsroot=JLDAP

You can use Ldif2Ldap.java in the samples directory:

http://developer.novell.com/documentation/samplecode/jldap_sample/dsml_ldif/Ldif2Ldap.java.html

to export an ldif file to a remote ldap server.

After that you have to implement your own custom ant task
(or go raw through <java> core task) in order to feed Ldif2Ldap and
submit your previously generated ldif add file to the directory server.

Hope this helps,

-m



On Mon, 2008-07-14 at 09:59 -0700, Fu-Tung Cheng wrote:
> Hi,
> 
> I've done some searching but I can't seem to find any existing ldap ant 
> tasks.  Do they exist?
> 
> I'd like to connect to an ldap server and add a user.  I'd think one could 
> make a generic enough ant tasks that could be used independent of directory 
> structure?
> 
> Any pointers appreciated!
> 
> Thanks,
> 
> Fu-Tung
> 
> 
>       
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to