Now I meet a question. pls help me.
My otrs users belong to 3 roles . One is administrator, some are just user who can use ticket and the others are itsm-change-agent and builder.
I use LDAP authentication. How to configure it?
I see the example in default.pm, but it only configure 1 group. How to adjust the people who belong to different group??
And I see ClientUser can have multiple authenticate backend. Why agent have not?
any idea can help. Thanks
ldap authentication for multi-group
Moderator: crythias
Re: ldap authentication for multi-group
Hi huozipan,
You can sync LDAP groups to roles. Just paste in Config.pm and modify to your needs. The roles are synchronized whenever an agent logs on.
hth,
Mike
You can sync LDAP groups to roles. Just paste in Config.pm and modify to your needs. The roles are synchronized whenever an agent logs on.
Code: Select all
# AuthSyncModule::LDAP::UserSyncRolesDefinition
# (If "LDAP" was selected for AuthModule and you want to sync LDAP
# groups to otrs roles, define the following.)
$Self->{'AuthSyncModule::LDAP::UserSyncRolesDefinition'} = {
# ldap group
'cn=agent,o=otrs' => {
# otrs role
'role1' => 1,
'role2' => 0,
},
'cn=agent2,o=otrs' => {
'role3' => 1,
}
};
hth,
Mike
huntingbears.nl - @michielbeijen on Twitter
Re: ldap authentication for multi-group
thanks Mike_B. I will try it this afternoon.
Re: ldap authentication for multi-group
i'm still trying this solution
but don't work
did you have an issue
regards ...
but don't work
did you have an issue
regards ...