ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matteo Centonza <mat...@metatype.it>
Subject Re: LDAP ant tasks
Date Tue, 15 Jul 2008 10:15:38 GMT
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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message