Ok, so attributes are synced correcly, just they are base64 and encrypted.. the encryption seems to be the problem...
WARN zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $optionsStr in split at /usr/share/perl5/EBox/Mail/FetchmailLdap.pm line 228.
WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $mailProtocol in string ne at /usr/share/perl5/EBox/Mail/FetchmailLdap.pm line 591.
WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $mailProtocol in string ne at /usr/share/perl5/EBox/Mail/FetchmailLdap.pm line 591.
sub _decryptExternalAccountString
{
my ($self, $str) = @_;
my $cipher = $self->_cipher();
$str = decode_base64($str);
$str = $cipher->decrypt($str);
return $str;
}
and well... the /var/lib/zentyal/conf/fetchmail.passwd is used to encrypt the attribute, but this password is of-course not synced between two DC. So matching this pwds make the edit to work also on other DC.