CustomerID in LDAP with multiple fields

Moderator: crythias

Locked
studioelement
Znuny newbie
Posts: 5
Joined: 20 Jan 2012, 22:24
Znuny Version: 3.0.11
Real Name: Alex Nassar

CustomerID in LDAP with multiple fields

Post by studioelement »

Hi-

I was wondering if it's possible to have the CustomerID in LDAP be combined from several fields.

For example, using company & city.

I didn't think it would work but I did try...

[ 'UserCustomerID', 'CustomerID', 'company'&'city', 0, 1, 'var' ],

... and a few other variants.

Not sure if it's possible.

Thanks in advance.
OTRS 3.0.11 on CENTOS.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: CustomerID in LDAP with multiple fields

Post by crythias »

No. If you need such a thing you may want to provision a custom field that holds that information. One way to do this is to use Active Directory Users and Computers, select multiple users and change a field, like Custom1, to %company%%city% and use Custom1 for the customerID field.

I haven't tested *this* exact method, but you can certainly try it on two users created just for this test and see what the results are. At the worst, you have literally "%company%%city%" as Custom1 which means that you could ... maybe ... not get a "value". OK, so it means you have to put a literal "ContosoDenmark" and "ContosoCopenhagen" when selecting a group. Eh.. ok.
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
studioelement
Znuny newbie
Posts: 5
Joined: 20 Jan 2012, 22:24
Znuny Version: 3.0.11
Real Name: Alex Nassar

Re: CustomerID in LDAP with multiple fields

Post by studioelement »

OK - That's what I thought.

Thank you.
OTRS 3.0.11 on CENTOS.
Locked