Re: [SOGo] Multiple Usersources for round-robin / failover ?

2018-09-26 Thread goetz.reini...@filmakademie.de
Thanks for the feedback … true. 

I took a much closer look at the SOGo doc and found: „hostname: A 
space-delimited list of LDAP URLs or LDAP hostnames."

Regards . Götz

> Am 26.09.2018 um 16:18 schrieb Alexandre Blanc (alexandre.bl...@mayahtt.com) 
> :
> 
> Hi,
> 
> Something like that could work :
> 
>   SOGoUserSources = (
> {
>   type = ldap;
>   CNFieldName = cn;
>   IDFieldName = cn;
>   UIDFieldName = sAMAccountName;
>   //baseDN = "CN=Users,dc=my,dc=domain,dc=ext";
>   baseDN = "dc=my,dc=domain,dc=ext";
>   bindDN = "CN=userloginforquery,CN=Users,DC=my,DC=domain,DC=ext";
>   bindFields = (sAMAccountName);
>   bindPassword = TheuserP4ssword;
>   canAuthenticate = YES;
>   displayName = "Active Directory";
>   hostname = "ldap://ip-of-server-1:389  
> ldap://ip-of-server-2:389 ";
>   id = directory;
>   isAddressBook = YES;
> }
>   );
> 
> I hope it helps. Just add many with a space in between :)
> 
> Alexandre
> 
>  
> On 09/26/2018 03:11 AM, Götz Reinicke wrote:
>> Hi,
>> 
>> is it possible to use multiple LDAP sources / ADs for failover and/or 
>> round-robin load balancing?
>> 
>> Thanks for feedback und regards . Götz
>> 
> 
> -- 
> users@sogo.nu
> https://inverse.ca/sogo/lists

     
Götz Reinicke 
IT-Koordinator
IT-OfficeNet
+49 7141 969 82420 
goetz.reini...@filmakademie.de 
Filmakademie Baden-Württemberg GmbH 
Akademiehof 10
71638 Ludwigsburg 
http://www.filmakademie.de 
   
 
  
 
Eintragung Amtsgericht Stuttgart HRB 205016
Vorsitzende des Aufsichtsrates:
Petra Olschowski
Staatssekretärin im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg
Geschäftsführer:
Prof. Thomas Schadt




smime.p7s
Description: S/MIME cryptographic signature


Re: [SOGo] Multiple Usersources for round-robin / failover ?

2018-09-26 Thread Alexandre Blanc

Hi,

Something like that could work :

  SOGoUserSources = (
    {
  type = ldap;
  CNFieldName = cn;
  IDFieldName = cn;
  UIDFieldName = sAMAccountName;
  //baseDN = "CN=Users,dc=my,dc=domain,dc=ext";
  baseDN = "dc=my,dc=domain,dc=ext";
  bindDN = "CN=userloginforquery,CN=Users,DC=my,DC=domain,DC=ext";
  bindFields = (sAMAccountName);
  bindPassword = TheuserP4ssword;
  canAuthenticate = YES;
  displayName = "Active Directory";
  hostname = "ldap://ip-of-server-1:389 ldap://ip-of-server-2:389;;
  id = directory;
  isAddressBook = YES;
    }
  );

I hope it helps. Just add many with a space in between :)

Alexandre

On 09/26/2018 03:11 AM, Götz Reinicke wrote:

Hi,

is it possible to use multiple LDAP sources / ADs for failover and/or 
round-robin load balancing?

Thanks for feedback und regards . Götz



--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Multiple Usersources for round-robin / failover ?

2018-09-26 Thread lists

Hi,

We do that using haproxy on localhost, connecting sogo to haproxy 
(localhost:389) , and have haproxy connect to the different ADs 
(dcX:636) servers, with option ldap-check.


Works very well here.

MJ



On 9/26/2018 9:11 AM, Götz Reinicke (goetz.reini...@filmakademie.de) wrote:

Hi,

is it possible to use multiple LDAP sources / ADs for failover and/or 
round-robin load balancing?

Thanks for feedback und regards . Götz


--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Multiple Usersources for round-robin / failover ?

2018-09-26 Thread goetz.reini...@filmakademie.de
Hi,

is it possible to use multiple LDAP sources / ADs for failover and/or 
round-robin load balancing?

Thanks for feedback und regards . Götz



smime.p7s
Description: S/MIME cryptographic signature