Hello,
My code is so simply, I have 2 groups in LDAP and the same groups in OTRS:
$Self->{'AuthSyncModule::LDAP::UserSyncGroupsDefinition' } = {
'cn=Unix,ou=GROUPS,dc=plaza,dc=eu' => {
'Soporte Almacenamiento-Backup' => {
move_into => 1,
ro => 1,
},
'Soporte Antivirus' => {
move_into => 1,
ro => 1,
},
'Soporte Unix' => {
rw => 1,
},
},
'cn=Almacenamiento,ou=GROUPS,dc=plaza,dc=eu' => {
'Soporte Almacenamiento-Backup' => {
rw => 1,
},
'Soporte Antivirus' => {
move_into => 1,
ro => 1,
},
'Soporte Unix' => {
move_into => 1,
ro => 1,
},
}
};
I have one agent en ldap who belong to the Group Alamcenamiento and Unix and the other one only belongs to Unix. The agent that belongs to Unix group must have all the priviliges in Unix and only move_into and ro in the antivirus group. The other agent, instead, must have all the privileges in both groups, but the agent only gets the restrictive priviliges in the second group.
I don't found the logs. But the problem is that I mentionated, it doesn't show error.
I have to program it using Default.pm, but it doesn't let me do as I want.
Can be done?
Thanks in advance.
My code is so simply, I have 2 groups in LDAP and the same groups in OTRS:
$Self->{'AuthSyncModule::LDAP::UserSyncGroupsDefinition' } = {
'cn=Unix,ou=GROUPS,dc=plaza,dc=eu' => {
'Soporte Almacenamiento-Backup' => {
move_into => 1,
ro => 1,
},
'Soporte Antivirus' => {
move_into => 1,
ro => 1,
},
'Soporte Unix' => {
rw => 1,
},
},
'cn=Almacenamiento,ou=GROUPS,dc=plaza,dc=eu' => {
'Soporte Almacenamiento-Backup' => {
rw => 1,
},
'Soporte Antivirus' => {
move_into => 1,
ro => 1,
},
'Soporte Unix' => {
move_into => 1,
ro => 1,
},
}
};
I have one agent en ldap who belong to the Group Alamcenamiento and Unix and the other one only belongs to Unix. The agent that belongs to Unix group must have all the priviliges in Unix and only move_into and ro in the antivirus group. The other agent, instead, must have all the privileges in both groups, but the agent only gets the restrictive priviliges in the second group.
I don't found the logs. But the problem is that I mentionated, it doesn't show error.
I have to program it using Default.pm, but it doesn't let me do as I want.
Can be done?
Thanks in advance.