User multiple groups in LDAP synchronize with groups of OTRS

A

AnaP

Guest
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!