Fix configuring LDAP auth

master
Daniel Berteaud 6 years ago
parent 993d9a06d6
commit 74462e1c01
  1. 2
      zmldapsync/zmldapsync.pl

@ -793,7 +793,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 .= " zimbraAuthLdapURL " .
join( ' +zimbraAuthLdapURL', zim_attr_value( $domain_conf->{ldap}->{servers} ) );
join( ' +zimbraAuthLdapURL', @{ $domain_conf->{ldap}->{servers} } );
if ( defined $domain_conf->{ldap}->{start_tls} and
yaml_bool( $domain_conf->{ldap}->{start_tls} ) ) {
$attrs .= " zimbraAuthLdapStartTlsEnabled TRUE";

Loading…
Cancel
Save