[SOLVED] LDAP query for customer doesn´t check sub-groups

Moderator: crythias

Locked
richydom
Znuny newbie
Posts: 10
Joined: 27 Sep 2011, 14:29
Znuny Version: 3.0.10

[SOLVED] LDAP query for customer doesn´t check sub-groups

Post by richydom »

Good morning everyone,

we got a little problem with our ORTS LDAP query for agents and customer.

If the user is directly assigned to the group (GroupDN) it works great, but if the user is member of a sub-group in the GroupDN OTRS will not recognize it.

Anybody an idea to fix this problem?

Greetings

Code: Select all

	$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
	$Self->{'Customer::AuthModule::LDAP::Host'} = 'domain.tld';
	$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=domain, dc=tld';
	$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
	$Self->{'Customer::AuthModule::LDAP::GroupDN'} = 'CN=OTRS-USERGROUP,OU=GROUPS,DC=domain,DC=tld';
	$Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'member';
	$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN';
	$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'CN=OTRS-LDAP-READ,OU=ACCOUNTS,DC=domain,DC=tld';
	$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'Password';
	$Self->{'Customer::AuthModule::LDAP::Params'} = {
		port => 389,
		timeout => 120,
		async => 0,
		version => 3,
	};
Last edited by richydom on 05 Oct 2011, 13:40, edited 2 times in total.
OTRS 3.0.10 with ITSM 3.0.5 on Ubuntu with MySQL database connected to an Active Directory for Agents and Customers
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: LDAP query for agents and customer doesn´t check sub-gro

Post by crythias »

Inheritance isn't checked. Just group membership.
If you want, create a more all-inclusive group (closer to all users) and use a filter for the group memberships that are relevant.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
richydom
Znuny newbie
Posts: 10
Joined: 27 Sep 2011, 14:29
Znuny Version: 3.0.10

LDAP query for agents and customer doesn´t check sub-groups

Post by richydom »

crythias wrote:Inheritance isn't checked. Just group membership.
If you want, create a more all-inclusive group (closer to all users) and use a filter for the group memberships that are relevant.
Thank you very much crythias!
OTRS 3.0.10 with ITSM 3.0.5 on Ubuntu with MySQL database connected to an Active Directory for Agents and Customers
Locked