Remove @domain.com from LDAP search

Moderator: crythias

Locked
msksharma
Znuny newbie
Posts: 91
Joined: 24 Mar 2014, 13:58
Znuny Version: 6.0.26
Real Name: Krishna M S
Company: Toradex AG

Remove @domain.com from LDAP search

Post by msksharma »

Hi,

We have about 85 current users whose user id is firstname.lastname@domain.com.

I am trying to authenticate these users against LDAP. Where the user id is firstname.lastname.

I configured Config.pm and specified our LDAP servers and the internal database as the third option.

When i rename one of the users to firstname.lastname, it works and the user is able to access every thing and authenticate against LDAP.

Is it possible in the Config.pm or somewhere, i still have the userid as firstname.lastname@domain.com but when i do the LDAP search and authenticate, i omit the @domain.com

If this feature works, then it will be really useful and i do not have to rename any users and make major changes to the system.

Thanks,
Krishna M S
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Remove @domain.com from LDAP search

Post by crythias »

Username will match the field that it matches.

Note that you probably want to use the same backend for both user authentication and user data. See my ldap tutorial in the HowTos.
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
msksharma
Znuny newbie
Posts: 91
Joined: 24 Mar 2014, 13:58
Znuny Version: 6.0.26
Real Name: Krishna M S
Company: Toradex AG

Re: Remove @domain.com from LDAP search

Post by msksharma »

Hi,

I tried to search, but could not locate the article.

Could you please send me the link.

Thanks,
Krishna M S
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Remove @domain.com from LDAP search

Post by crythias »

viewtopic.php?f=60&t=16543

Please read my signature and my Need Help? link.
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
Locked