[rt-users] method for adding LDAP users to their queues before they have logged on

2008-01-09 Thread Tom H

Hi,

I have the LDAP overlay working fine with LdapAutocreateAuthCallback,
and once my users have logged in I can add them to their groups and give
them permissions.

However the problem I have at the moment, is that I want to add users to
a particular queue/group before they have ever logged on, otherwise they
log on and complain they can't see anything, and I then go and add them
and tell them login again, which is tiresome with 30 developers per queue.

Is there a way to map an ldap group to a rt3 group, or script I can run
to add the users to the correct group regularly?

Thanks,

T.

___
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 [EMAIL PROTECTED] or call us at +1 617 812 0745.


Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] method for adding LDAP users to their queues before they have logged on

2008-01-09 Thread Emmanuel Lacour
On Wed, Jan 09, 2008 at 12:20:23PM +, Tom H wrote:
 
 Hi,
 
 I have the LDAP overlay working fine with LdapAutocreateAuthCallback,
 and once my users have logged in I can add them to their groups and give
 them permissions.
 
 However the problem I have at the moment, is that I want to add users to
 a particular queue/group before they have ever logged on, otherwise they
 log on and complain they can't see anything, and I then go and add them
 and tell them login again, which is tiresome with 30 developers per queue.
 
 Is there a way to map an ldap group to a rt3 group, or script I can run
 to add the users to the correct group regularly?
 

Here we made a custom perl script using Net::LDAP and perl API to add
people to their groups in RT. I don't think it would be usefull to give
you my script, because it's spevific to our system, but if you are
somewhat familiar with perl, it would not be too hard to write one (look
at html/Admin/Groups/Members.html to have example of perl groups API
usage, and of course to lib/RT/Group*).

___
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 [EMAIL PROTECTED] or call us at +1 617 812 0745.


Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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