|
|
@ -266,7 +266,7 @@ DOMAIN: foreach my $domain ( keys $conf->{domains} ) { |
|
|
|
# Search for Zimbra users, but exclude known system accounts |
|
|
|
# Search for Zimbra users, but exclude known system accounts |
|
|
|
my $zim_user_search = $zim_ldap->ldap->search( |
|
|
|
my $zim_user_search = $zim_ldap->ldap->search( |
|
|
|
base => 'ou=people,' . $domain_entry->{dn}, |
|
|
|
base => 'ou=people,' . $domain_entry->{dn}, |
|
|
|
filter => '(&(objectClass=zimbraAccount)(!(zimbraIsSystemAccount=TRUE)))'; |
|
|
|
filter => '(&(objectClass=zimbraAccount)(!(zimbraIsSystemAccount=TRUE)))', |
|
|
|
attrs => [ |
|
|
|
attrs => [ |
|
|
|
( map { $conf->{domains}->{$domain}->{users}->{attr_map}->{$_} } |
|
|
|
( map { $conf->{domains}->{$domain}->{users}->{attr_map}->{$_} } |
|
|
|
keys $conf->{domains}->{$domain}->{users}->{attr_map} ), |
|
|
|
keys $conf->{domains}->{$domain}->{users}->{attr_map} ), |
|
|
|