|
|
@ -314,6 +314,11 @@ DOMAIN: foreach my $domain ( keys $conf->{domains} ) { |
|
|
|
# or which exist in both but need to be updated |
|
|
|
# or which exist in both but need to be updated |
|
|
|
foreach my $user ( keys $ext_users ) { |
|
|
|
foreach my $user ( keys $ext_users ) { |
|
|
|
my $attrs = ''; |
|
|
|
my $attrs = ''; |
|
|
|
|
|
|
|
# Ignore admin |
|
|
|
|
|
|
|
if ( $user eq 'admin' ) { |
|
|
|
|
|
|
|
log_verbose( "Skiping admin user"); |
|
|
|
|
|
|
|
next; |
|
|
|
|
|
|
|
} |
|
|
|
if ( defined $zim_users->{$user} ) { |
|
|
|
if ( defined $zim_users->{$user} ) { |
|
|
|
|
|
|
|
|
|
|
|
# User exists in Zimbra, lets check its attribute are up to date |
|
|
|
# User exists in Zimbra, lets check its attribute are up to date |
|
|
|