<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">In trying to get the group sync part of this script working, ran into something I'm not sure about. <div><br class="webkit-block-placeholder"></div><div>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? </div><div><br class="webkit-block-placeholder"></div><div>What's the point of the principal object then?</div><div><br class="webkit-block-placeholder"></div><div>Steve</div><div><br><div><div>On Dec 28, 2007, at 10:32 PM, Helmuth Ramirez wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <div> <!-- Converted from text/plain format --><p><font size="2">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.<br> <br> <br> -----Original Message-----<br> From: <a href="mailto:rt-users-bounces@lists.bestpractical.com">rt-users-bounces@lists.bestpractical.com</a><br> To: <a href="mailto:RT-Users@lists.bestpractical.com">RT-Users@lists.bestpractical.com</a><br> Sent: Fri Dec 28 20:23:08 2007<br> Subject: [rt-users] rtimportldap.pl<br> <br> <br> Did anyone take ownership of the rtimportldap.pl script? Is there an <br> updated version somewhere? Last message I can find about it in the <br> archives is from 2005.<br> <br> I have external LDAP authentication working, but I'd like to pre-<br> populate the RT user db with my LDAP users so I can set up groups etc. <br> What would be even better is a nightly dump of groups from LDAP (using <br> AD 2003) into RT groups so I only have to maintain them in one place.<br> <br> Anyone doing this?<br> <br> Thank,<br> Steve<br> _______________________________________________<br> <a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br> <br> SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:<br> <br> If you sign up for a new RT support contract before December 31, we'll take<br> up to 20 percent off the price. This sale won't last long, so get in touch today.<br>     Email us at <a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a> or call us at +1 617 812 0745.<br> <br> <br> Community help: <a href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a><br> Commercial support: <a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a><br> <br> <br> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br> Buy a copy at <a href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a><br> </font> </p> </div> </blockquote></div><br></div></body></html>