RE: Create users using scripting language

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

<<winmail.dat>>

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux