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; }