LDAP user import utility updated

Hi, this is the updated version of rtimportldap.
See the TAR attached, and the README below.

Regards,
Stanislav

$Id: rtimportldap.README,v 1.3 2002/12/13 17:15:01 stsiny Exp $
rtimportldap.pl:
The utility for importing the RT users from LDAP directory

Author: Stanislav Sinyagin ssinyagin@yahoo.com

This script is written as generic as possible, but tested
in Microsoft Active Directory/Exchange 2000 environment only.

The script does not care about passwords. Old users’ passwords
are not touched, and the new users are created without password.
Apache/mod_auth_ldap may be used for user authentication against
the LDAP server.

The script is reenterable: existing users are updated,
and non-existing ones are created. Thus, it may be used
every time you make changes in your LDAP directory.

asmmgt02:/opt/install/make/rt-addons # ./rtimportldap.pl
Usage: ./rtimportldap.pl options…
Options ([M] means mandatory, [O] means optional):
–rc filename [O] read options from file
opt=value pairs one per line
–server hostname [M] LDAP server
–port port [O] LDAP TCP port. Default: 389
–ldapver 3|2 [O] LDAP version. Default: 3
–binddn dn [O] Bind DN
–bindpw password [O] Bind password
–basedn dn [M] Base DN
–filter filter [O] Search filter. Default:
(|(objectClass=organizationalPerson)(objectClass=person))
–uidattr attr [O] Username attribute. Default:

rtimportldap.tar (20 KB)