I need to filter LDAP records to access otrs like
((cn=branch)and(cn=department)or(cn=admins))
(cn=department) isn't an authentizing condition, it's a filter of otrs groups. It's on the same level of LDAP path as (cn=branch) and (cn=admins):
cn=branchA,ou=groups
cn=admins,ou=groups
cn=departmentD,ou=groups
I've tried to use a filter
$Self->{'AuthModule::LDAP::AlwaysFilter'} = '(|(cn=branchA)(cn=admins))';
that is the result a user logging LDAP filter in log:
(&(cn=usernameX)(|(cn=branchA)(cn=admins)))
It seems to be right but not working, usernameX's access is denied even he is in one or both of the groups.
I've used many variations of syntax including (&(|(objectclass=posixGroup))(|(cn=admins)(cn=branchA))) - this syntax running on our nextcloud file server, but no success in otrs.
Any idea?
otrs 5 on ubuntu 16.04, openldap (ubuntu)
Multi groups query LDAP
English! place to talk about OTRS development, programming and coding
Moderator: tto
Post Reply
1 post
• Page 1 of 1
Jump to
- OTRS Forum
- ↳ OTRS & Forum News
- ↳ OTRS Links
- ↳ OTRS Community Home Page
- ↳ Events
- ↳ OPAR (Plugins)
- ↳ Bugs
- ↳ OTRS Marketplace
- ↳ Employment Opportunity
- ↳ Jobs
- ↳ Individual Offerings
- ↳ OTRS Developers
- ↳ Patches / Modules
- ↳ Kix4OTRS
- English Area
- ↳ General
- ↳ OTRS Wiki (en)
- ↳ Help
- ↳ Howtos
- German Area
- ↳ Allgemeines
- ↳ OTRS Wiki (de)
- ↳ Hilfe
- ↳ Howto's
- Spanish Area
- ↳ General
- ↳ OTRS Wiki (es)
- ↳ ¿Cómo lo hago?
- ↳ Ayuda
- ↳ ¿Cómo lo hago?
- Italian Area
- ↳ Generale
- ↳ OTRS Wiki (it)
- ↳ Assistenza
- ↳ Come devo fare
- Dutch Area
- ↳ Algemeen
- ↳ OTRS Wiki (nl)
- ↳ Hulp
- ↳ Howto
- French Area
- ↳ Général
- ↳ OTRS Wiki (fr)
- ↳ Aider
- ↳ Comme je le fais
- Portuguese Area
- ↳ Geral
- ↳ Wiki
- ↳ Ajuda
- ↳ Tutoriais
- Russian Area
- ↳ Общие вопросы
- ↳ OTRS Wiki (ru)
- ↳ Помощь
- ↳ Делимся опытом
- Chinese Simplified Area
- ↳ 综合
- ↳ OTRS Wiki (cn)
- ↳ 安装和使用
- ↳ 主题 & 风格