I use the "Roles" functionality to do this.
# UserSyncLDAPRolesDefination
# (If "LDAP" was selected for AuthModule and you want to sync LDAP
# groups to otrs roles, define the following.)
$Self->{'UserSyncLDAPRolesDefination'} = {
# LDAP group
'CN=OTRS Admins,OU=OTRS,OU=System Integration,DC=sub,DC=domain,DC=com' => {
# OTRS role
'Admins' => 1,
'IT' => 1,
},
'CN=OTRS_Group1,OU=OTRS,OU=System Integration,DC=sub,DC=domain,DC=com' => {
'Group1' => 1,
}
};
Of course, change the obvious in the DNs, and setup roles prior to using this.
--
/Sune
-----Original Message-----
From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Joe Ersinghaus
Sent: 21. februar 2008 01:00
To: otrs@otrs.org
Subject: [otrs] ldap OTRS group question
Hello All,
New to OTRS. Got it installed and talking to LDAP for authentication.
Is there a way assign LDAP groups to OTRS groups in Config.pm?
Looks like the way the Config.pm is configured is that at first login, you are assigned to the OTRS "user" group via this little snippet:
# initial user groups for first login.)
$Self->{UserSyncLDAPGroups} = [
'users',
];
Is there a way outside of modifying the MySQL database directly to add particular users to the OTRS admin group after the initial login?
Thanks,
Joe
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/