Ticket #3721 (closed defect: worksforme)
In slave: EBox::SambaLdapUser::_getAccountFlags Referral received
| Reported by: | ira@… | Owned by: | jamor@… |
|---|---|---|---|
| Milestone: | 2.2.X | Component: | users |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by jamor@…) (diff)
I added a user called 'admin' in the Master LDAP server then I went to the user in the slave (this machine) and went to edit the user properties and this error occurs. Before this error occured I changed the PDC domain from ZENTYAL-DOMAIN to a new pdc domain. I can still edit a user created before the domain name change but if I create a new user and try to edit them then this error occurs.
I changed the domain back to ZENTYAL-DOMAIN but the error still occurs.
From zentyal.log:
2012/01/19 09:52:02 ERROR> Ldap.pm:701 EBox::Ldap::_errorOnLdap - Unknown error at EBox::SambaLdapUser::_getAccountFlags Referral received 2012/01/19 09:52:44 ERROR> Ldap.pm:699 EBox::Ldap::_errorOnLdap - $VAR1 = {
'base' => 'uid=admin,ou=Users,dc=nzsao-firewall,dc=nzsao,dc=com', 'attrs' => [
'sambaAcctFlags'
],
'filter' => '(objectclass=*)', 'scope' => 'base'
};
Error
Unknown error at EBox::SambaLdapUser::_getAccountFlags Referral received
Trace
Unknown error at EBox::SambaLdapUser::_getAccountFlags Referral received at /usr/share/perl5/EBox/Ldap.pm line 701
EBox::Ldap::_errorOnLdap('Net::LDAP::Search=HASH(0x7fe6013d0df0)', 'HASH(0x7fe601368ca0)') called at /usr/share/perl5/EBox/Ldap.pm line 341
EBox::Ldap::search('EBox::Ldap=HASH(0x7fe5fe5b4f80)', 'HASH(0x7fe601368ca0)') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 843
EBox::SambaLdapUser::_getAccountFlags('EBox::SambaLdapUser=HASH(0x7fe601315ad8)', 'admin') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 853
EBox::SambaLdapUser::_userSharing('EBox::SambaLdapUser=HASH(0x7fe601315ad8)', 'admin') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 431
EBox::SambaLdapUser::_userAddOns('EBox::SambaLdapUser=HASH(0x7fe601315ad8)', 'admin') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 2474
EBox::UsersAndGroups::allUserAddOns('EBox::UsersAndGroups=HASH(0x7fe5fec9c288)', 'admin') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/User.pm line 51
EBox::CGI::UsersAndGroups::User::_process('EBox::CGI::UsersAndGroups::User=HASH(0x7fe60134d230)') called at /usr/share/perl5/EBox/CGI/Base.pm line 275
EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::User=HASH(0x7fe60134d230)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129
EBox::CGI::Run::run('EBox::CGI::Run', 'UsersAndGroups/User', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x7fe601314730)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7fe6013412f8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7fe6013412f8)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7fe601314730)') called at -e line 0
eval {...} called at -e line 0
Attachments
Change History
Changed 16 months ago by anonymous
-
attachment
zentyal.log
added
comment:1 Changed 16 months ago by jamor@…
- Component changed from base to users
- Description modified (diff)
- Summary changed from Bug report from Zentyal Server to In slave: EBox::SambaLdapUser::_getAccountFlags Referral received
comment:3 Changed 16 months ago by jamor@…
- Status changed from accepted to closed
- Resolution set to worksforme
Hello Ira,
this error is likely caused by the maser not be able to resolve the slave hostname, thus resulting in incomplete operations synchronization.
Make sure that the master can resolve the slave hostname, either using a DNS server or via /etc/hosts files, and force a resync. (page Users and groups -> Slave status)
Regards, Javier
zentyal.log