Create New Phone Ticket - no user name replenishment from LDAP

Moderator: crythias

Post Reply
andy17d
Znuny newbie
Posts: 78
Joined: 30 Jan 2014, 15:27
Znuny Version: 4.0.19
Location: Poland
Contact:

Create New Phone Ticket - no user name replenishment from LDAP

Post by andy17d »

Hello.

After updating the LDAP server, automatic completion of the user name in the field Customer user (AgentTicketPhone)
has stop work.

There is an entry in the system log:
You do not have sufficient privileges to perform an unindexed search
How to fix it?
Are there any configuration options for LDAP queries?
OTRS 4.0.19/6.0.26, openSUSE 12, MySQL 5.5

KodIT Usługi Informatyczne - Odzyskiwanie danych Poznań - Serwis Komputerowy
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Create New Phone Ticket - no user name replenishment from LDAP

Post by jojo »

you should contact the operator of the LDAP server (or the vendor support for the ldap server software)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
andy17d
Znuny newbie
Posts: 78
Joined: 30 Jan 2014, 15:27
Znuny Version: 4.0.19
Location: Poland
Contact:

Re: Create New Phone Ticket - no user name replenishment from LDAP

Post by andy17d »

Of course, I contacted the LDAP server administrator who said that I need to modify the filter in the LDAP query.
OTRS 4.0.19/6.0.26, openSUSE 12, MySQL 5.5

KodIT Usługi Informatyczne - Odzyskiwanie danych Poznań - Serwis Komputerowy
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Create New Phone Ticket - no user name replenishment from LDAP

Post by jojo »

Well than change it in the Config.pm in your LDAP settings
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
andy17d
Znuny newbie
Posts: 78
Joined: 30 Jan 2014, 15:27
Znuny Version: 4.0.19
Location: Poland
Contact:

Re: Create New Phone Ticket - no user name replenishment from LDAP

Post by andy17d »

I modified the section:

Code: Select all

CustomerUserSearchFields => ['sn','cn', 'mail'],
            CustomerUserSearchPrefix => '*',
            CustomerUserSearchSuffix => '*',
I've set CustomerUserSearchPrefix => '' to not search at the beginning.

Now everything is fine.
OTRS 4.0.19/6.0.26, openSUSE 12, MySQL 5.5

KodIT Usługi Informatyczne - Odzyskiwanie danych Poznań - Serwis Komputerowy
Post Reply