Fix some typo

master
Daniel Berteaud 5 years ago
parent 556172241b
commit 9a26a70f06
  1. 4
      zmldapsync/zmldapsync.pl

@ -573,7 +573,7 @@ DOMAIN: foreach my $domain ( keys $conf->{domains} ) {
$attrs .= ' ' . $conf->{domains}->{$domain}->{groups}->{attr_map}->{$attr} . " " .
zim_attr_value( $ext_groups->{$group}->{$attr} );
}
$attrs .= " zimbraDistributionListUnsubscriptionPolicy REJECT"
$attrs .= " zimbraDistributionListUnsubscriptionPolicy REJECT";
$attrs .= " zimbraDistributionListSubscriptionPolicy REJECT";
my $mail_status = ( defined $ext_groups->{$group}->{$conf->{domains}->{$domain}->{groups}->{mail_attr}} ) ?
'enabled' : 'disabled';
@ -769,7 +769,7 @@ sub yaml_bool {
# Takes the domain conf hashref as only arg
sub build_domain_attrs {
my $domain_conf = shift;
my $type = ( $domain_conf->{ldap}->{schema} eq =~ m/^ad/i ) ? 'ad' : 'ldap';
my $type = ( $domain_conf->{ldap}->{schema} =~ m/^ad/i ) ? 'ad' : 'ldap';
my $attrs = "zimbraAuthMech " . zim_attr_value( $type );
$attrs .= " zimbraAuthMechAdmin " . zim_attr_value( $type );
if ( defined $domain_conf->{ldap}->{bind_dn} and

Loading…
Cancel
Save