[SOLVED] Address Book Search only one LDAP connection

Moderator: crythias

Post Reply
chrotha
Znuny newbie
Posts: 93
Joined: 29 Jun 2018, 13:44
Znuny Version: 6.x.x/7.0.x
Real Name: Ruben Sardinha

[SOLVED] Address Book Search only one LDAP connection

Post by chrotha »

Hello everyone, hope you're all doing fine.

I have a question. I have two LDAP connections, both are working fine and being used as redundancy in case one of them fails, although I'd like to know if it's possible to, when searching the Address Book to send an email, to only search one LDAP connection and not get the search resultes from both connection, resulting in duplicate entries.

Thanks in advance
Last edited by chrotha on 14 May 2021, 15:57, edited 1 time in total.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Address Book Search only one LDAP connection

Post by root »

Hi,

Why not configure one backend with multiple servers if it's the same directory?

- Roy
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 ?
chrotha
Znuny newbie
Posts: 93
Joined: 29 Jun 2018, 13:44
Znuny Version: 6.x.x/7.0.x
Real Name: Ruben Sardinha

Re: Address Book Search only one LDAP connection

Post by chrotha »

Hey Roy, thanks for the reply.

I've been trying to configure the one LDAP connection with multiple servers.
I have a question, if I use something like

Code: Select all

Host=>'host#1',
Host=>'host#2',
Does it overlap? I already tried with name Host and Host1 and it's not working as intended.

Thanks in advance
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Address Book Search only one LDAP connection

Post by jojo »

try

Code: Select all

Host => [ 'host1', 'host2' ],
"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
chrotha
Znuny newbie
Posts: 93
Joined: 29 Jun 2018, 13:44
Znuny Version: 6.x.x/7.0.x
Real Name: Ruben Sardinha

Re: Address Book Search only one LDAP connection

Post by chrotha »

Hey everyone, sorry for the late reply.
So I tried as you said and it worked just fine, this issue can be closed. Thanks to everyone
Post Reply