[rt-users] method for adding LDAP users to their queues before they have logged on
Emmanuel Lacour
elacour at easter-eggs.com
Wed Jan 9 07:48:16 EST 2008
On Wed, Jan 09, 2008 at 12:20:23PM +0000, 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*).
More information about the rt-users
mailing list