Rtimportldap.pl

Did anyone take ownership of the rtimportldap.pl script? Is there an
updated version somewhere? Last message I can find about it in the
archives is from 2005.

I have external LDAP authentication working, but I’d like to pre-
populate the RT user db with my LDAP users so I can set up groups etc.
What would be even better is a nightly dump of groups from LDAP (using
AD 2003) into RT groups so I only have to maintain them in one place.

Anyone doing this?

Thank,
Steve

We do something similar, nightly imports of AD users via a cron job, but we don’t use the groups feature. Not sure if you would be interested in that.-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
To: RT-Users@lists.bestpractical.com
Sent: Fri Dec 28 20:23:08 2007
Subject: [rt-users] rtimportldap.pl

Did anyone take ownership of the rtimportldap.pl script? Is there an
updated version somewhere? Last message I can find about it in the
archives is from 2005.

I have external LDAP authentication working, but I’d like to pre-
populate the RT user db with my LDAP users so I can set up groups etc.
What would be even better is a nightly dump of groups from LDAP (using
AD 2003) into RT groups so I only have to maintain them in one place.

Anyone doing this?

Thank,
Steve
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we’ll take
up to 20 percent off the price. This sale won’t last long, so get in touch today.
Email us at sales@bestpractical.com or call us at +1 617 812 0745.

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Well, if anyone’s interested, I’ve modified the last version of
rtimportldap.pl I could find to work with version 3.6.3 and AD 2003.
Also added one new feature to skip certain LDAP entries based on a
regex against the dn value, skiplist enterable from the command line.

Going to try and sync my groups now, so will fix anything I encounter
during that as well.

I’m new to RT, is there a contrib section or subversion repository for
things like this?

Steve Cochran
King Arthur Flour

In trying to get the group sync part of this script working, ran into
something I’m not sure about.

What’s the internal difference between a User and a Principal? in
Group_Overlay, HasMember wants a Principal object, not a User object.
The examples at the top of that file show Loading a principal, but
only from an ID, not a username. Looking in the Principal database,
the principal id matches the user id, but will that always be the case?

What’s the point of the principal object then?

SteveOn Dec 28, 2007, at 10:32 PM, Helmuth Ramirez wrote:

We do something similar, nightly imports of AD users via a cron job,
but we don’t use the groups feature. Not sure if you would be
interested in that.

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
To: RT-Users@lists.bestpractical.com
Sent: Fri Dec 28 20:23:08 2007
Subject: [rt-users] rtimportldap.pl

Did anyone take ownership of the rtimportldap.pl script? Is there an
updated version somewhere? Last message I can find about it in the
archives is from 2005.

I have external LDAP authentication working, but I’d like to pre-
populate the RT user db with my LDAP users so I can set up groups etc.
What would be even better is a nightly dump of groups from LDAP (using
AD 2003) into RT groups so I only have to maintain them in one place.

Anyone doing this?

Thank,
Steve


The rt-users Archives

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31,
we’ll take
up to 20 percent off the price. This sale won’t last long, so get in
touch today.
Email us at sales@bestpractical.com or call us at +1 617 812 0745.

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com