From 9a26a70f064357fd77dd207d46570b29b8edf01a Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 17 Jul 2019 09:19:09 +0200 Subject: [PATCH] Fix some typo --- zmldapsync/zmldapsync.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zmldapsync/zmldapsync.pl b/zmldapsync/zmldapsync.pl index 75ccd66..89806e0 100644 --- a/zmldapsync/zmldapsync.pl +++ b/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