Fix spacing when using muiltiple LDAP servers

master
Daniel Berteaud 5 years ago
parent d25568e2de
commit 14e01eb512
  1. 2
      zmldapsync/zmldapsync.pl

@ -798,7 +798,7 @@ sub build_domain_attrs {
# $attrs = " zimbraAuthLdapSearchFilter " . zim_attr_value( "(&(|(" . $domain_conf->{users}->{key} . "=%u)(" . $domain_conf->{users}->{key} . "=%n))(" . $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} } ); join( ' +zimbraAuthLdapURL ', @{ $domain_conf->{ldap}->{servers} } );
if ( defined $domain_conf->{ldap}->{start_tls} and if ( defined $domain_conf->{ldap}->{start_tls} and
yaml_bool( $domain_conf->{ldap}->{start_tls} ) ) { yaml_bool( $domain_conf->{ldap}->{start_tls} ) ) {
$attrs .= " zimbraAuthLdapStartTlsEnabled TRUE"; $attrs .= " zimbraAuthLdapStartTlsEnabled TRUE";

Loading…
Cancel
Save