As previously mentioned, you can script calls to command-line utilities such as
ldapmodify. Or, if you prefer, most languages these days have one or more full-featured
LDAP libraries. Some of these libraries depend on external LDAP binaries; these two do
not:
Ruby Net/LDAP is a pure ruby LDAP library. Adding a user with it is shown here:
http://www.gemjack.com/gems/ruby-net-ldap-0.0.4/classes/Net/LDAP.html#M00...
Perl Net::LDAP is a pure perl LDAP library. Adding a user with it is shown here:
http://search.cpan.org/~gbarr/perl-ldap/lib/Net/LDAP.pod#SYNOPSIS
We use the former; for more than a year in production, it's been bulletproof.
Justin
-----Original Message-----
From: fedora-directory-users-bounces(a)redhat.com on behalf of Paulo Estrela - Suporte
LabInfo UNIFACS
Sent: Tue 4/3/2007 6:49 AM
To: General discussion list for the Fedora Directory server project.
Subject: [Fedora-directory-users] Create users using scripting language
Hi,
Somebody know how can I create users using a script language like perl,
python or php? On windows I allways did this with vbscript and ADSI. Is
there a similar way to do this?
Thanks,
Paulo Estrela
--
Fedora-directory-users mailing list
Fedora-directory-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users