From f80d13de910f32dbe78d6fe1732f5d0e7e13c4a3 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 25 Jul 2019 13:20:29 +0200 Subject: [PATCH] Support ADPassword listener --- zmldapsync/zmldapsync.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zmldapsync/zmldapsync.pl b/zmldapsync/zmldapsync.pl index 5314683..9df69ff 100644 --- a/zmldapsync/zmldapsync.pl +++ b/zmldapsync/zmldapsync.pl @@ -807,6 +807,9 @@ sub build_domain_attrs { } else { $attrs .= " zimbraAuthLdapStartTlsEnabled FALSE"; } + if ( -e '/opt/zimbra/lib/ext/adpassword/ADPassword.jar' ) { + $attrs .= " zimbraPasswordChangeListener ADPassword"; + } return $attrs; }