[rt-users] rtimportldap.pl

Steve Cochran stephen.cochran at kingarthurflour.com
Sat Dec 29 01:00:07 EST 2007


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?

Steve

On 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 at lists.bestpractical.com
> To: RT-Users at 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 at bestpractical.com or call us at +1 617 812 0745.
>
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20071229/a3facf73/attachment.htm>


More information about the rt-users mailing list