[Fedora-directory-users] Create users using scripting language

Justin Crawford Justin.Crawford at cusys.edu
Tue Apr 3 13:31:48 UTC 2007


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#M000027

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 at 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 at redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3527 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20070403/8c248219/attachment.bin>


More information about the 389-users mailing list