Validation in LDAP Mapping

Moderator: crythias

Post Reply
flippertom
Znuny advanced
Posts: 120
Joined: 16 Apr 2015, 08:42
Znuny Version: 3.2.16

Validation in LDAP Mapping

Post by flippertom »

We have 2 locations fields in LDAP userloc1 and userloc2.
How do I make OTRS pickup userloc2 only in case userloc1 is NULL for any customer?
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Validation in LDAP Mapping

Post by root »

There is no validation. Add both fields to the mapping if userloc1 does not exist but userloc2 this one will be shown. I hope that there are no users with both fields set.
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
flippertom
Znuny advanced
Posts: 120
Joined: 16 Apr 2015, 08:42
Znuny Version: 3.2.16

Re: Validation in LDAP Mapping

Post by flippertom »

root wrote:There is no validation. Add both fields to the mapping if userloc1 does not exist but userloc2 this one will be shown. I hope that there are no users with both fields set.
There are users with both fields set. I will test what happens in this case. Would this be a problem or will this pickup one of the fields by default?
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Validation in LDAP Mapping

Post by crythias »

All fields that have values will be shown.
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
Post Reply