Hi there !
I need the customer companies to be mapped to groups. I could map every single customer user of a company to the groups, but this is a though work, because we have over 1500 customer divided in different companies. Customers are read from different LDAP sources.
Any help/experience?
Thanks !
Allow Company <-> Group association
Moderator: crythias
Allow Company <-> Group association
Several OTRS 2.4 and 3.0 installations. All on CentOS /w Apache & MySql.
-
- Znuny expert
- Posts: 241
- Joined: 06 Feb 2009, 11:15
- Znuny Version: 3.0.x
- Company: Perl-Services.de
- Contact:
Re: Allow Company <-> Group association
You could change the modules used to authenticate customers to do the mapping. So when a customer logs in, the auth module checks some entries (there must be anything OTRS can depend on when it decides to which group the user should be assigned to).
The workflow would look like
1. User passes his credentials
2. Normal authentication process is done
3. if user is authenticated OTRS looks for an LDAP attribute -> assign User to Group.
This should be doable within a day or two...
The workflow would look like
1. User passes his credentials
2. Normal authentication process is done
3. if user is authenticated OTRS looks for an LDAP attribute -> assign User to Group.
This should be doable within a day or two...
Need a Perl/OTRS developer? You can contact me at info@perl-services.de
Re: Allow Company <-> Group association
Hi renee, thanks for your answer. I think yours is a good idea. In fact I have the exact company names stored in some attribute in LDAP. I have to read the developer API to see where I can hook in, and edit the actual customer user object, in order to associate to the right group. Though, the quick and dirty solution is to loop through all customers in the backend and to associate them to the group stored in the LDAP attribute, isn't it?
greetings

greetings
Several OTRS 2.4 and 3.0 installations. All on CentOS /w Apache & MySql.
-
- Znuny expert
- Posts: 241
- Joined: 06 Feb 2009, 11:15
- Znuny Version: 3.0.x
- Company: Perl-Services.de
- Contact:
Re: Allow Company <-> Group association
Yes, you could do that. Then I would create a cronjob that runs every night to keep the mapping up to date...
Need a Perl/OTRS developer? You can contact me at info@perl-services.de