Hallo zusammen,
kann man über den AlwaysFilter die LDAP Abfragen abfiltern ? Folgende Situation stellt sich hier:
- ich möchte folgende OUs herausfiltern (Group_Users ,Scanner Accounts, Systemaccounts, Test_User)
Wie bekomme ich das am besten hin ?
Gruß Viva
LDAP - Abfragen über AlwaysFilter filtern
LDAP - Abfragen über AlwaysFilter filtern
You do not have the required permissions to view the files attached to this post.
OTRS-Version: 3.3.7
OTRS-Erweiterungen: KIX4OTRS
OS: Ubuntu Server 12.04.4 LTS
OTRS-Erweiterungen: KIX4OTRS
OS: Ubuntu Server 12.04.4 LTS
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: LDAP - Abfragen über AlwaysFilter filtern
aber sicher doch! z.B:
in der Config.pm
du musst Dir halt eine syntaktisch valied ldap Abfrage zusammenstellen die die richtigen Objekte herausfiltert
in der Config.pm
Code: Select all
my $adfilter = '(&(objectCategory=person)(objectclass=user)(mail=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))';
...
$Self->{'AuthModule::LDAP::AlwaysFilter'} = $adfilter;
...
$Self->{'AuthSyncModule::LDAP::AlwaysFilter'} = $adfilter;
...
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting