From b9261c3ba4f013e164dabaacdeb25ec78c73f928 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 19 Jul 2019 19:55:54 +0200 Subject: [PATCH] Cannot mix attr with +attr --- zmldapsync/zmldapsync.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zmldapsync/zmldapsync.pl b/zmldapsync/zmldapsync.pl index 080461e..fc2707a 100644 --- a/zmldapsync/zmldapsync.pl +++ b/zmldapsync/zmldapsync.pl @@ -797,7 +797,7 @@ sub build_domain_attrs { # if ( defined $domain_conf->{users}->{filter} ) { # $attrs = " zimbraAuthLdapSearchFilter " . zim_attr_value( "(&(|(" . $domain_conf->{users}->{key} . "=%u)(" . $domain_conf->{users}->{key} . "=%n))(" . $domain_conf->{users}->{filter} . ")" ); # } - $attrs .= " zimbraAuthLdapURL " . + $attrs .= " +zimbraAuthLdapURL " . join( ' +zimbraAuthLdapURL ', @{ $domain_conf->{ldap}->{servers} } ); if ( defined $domain_conf->{ldap}->{start_tls} and yaml_bool( $domain_conf->{ldap}->{start_tls} ) ) {