Modify

Ticket #3549 (closed defect: fixed)

Opened 18 months ago

Last modified 18 months ago

EBox::SambaLdapUser::_getAccountFlags Referral received

Reported by: 3@… Owned by: cperez@…
Milestone: 2.2.X Component: base
Severity: normal Keywords:
Cc:

Description (last modified by jamor@…) (diff)

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(0x269af0d8)', 'HASH(0x2503a648)') called at /usr/share/perl5/EBox/Ldap.pm line 341
	EBox::Ldap::search('EBox::Ldap=HASH(0x253f9760)', 'HASH(0x2503a648)') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 843
	EBox::SambaLdapUser::_getAccountFlags('EBox::SambaLdapUser=HASH(0x26a0a800)', 'test') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 853
	EBox::SambaLdapUser::_userSharing('EBox::SambaLdapUser=HASH(0x26a0a800)', 'test') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 431
	EBox::SambaLdapUser::_userAddOns('EBox::SambaLdapUser=HASH(0x26a0a800)', 'test') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 2468
	EBox::UsersAndGroups::allUserAddOns('EBox::UsersAndGroups=HASH(0x256bc590)', 'test') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/User.pm line 51
	EBox::CGI::UsersAndGroups::User::_process('EBox::CGI::UsersAndGroups::User=HASH(0x268903a8)') called at /usr/share/perl5/EBox/CGI/Base.pm line 275
	EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::User=HASH(0x268903a8)') 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(0x26798b98)') 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(0x26893f48)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x26893f48)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x26798b98)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (119.3 KB) - added by anonymous 18 months ago.
zentyal.log

Change History

Changed 18 months ago by anonymous

zentyal.log

comment:1 Changed 18 months ago by jamor@…

  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to EBox::SambaLdapUser::_getAccountFlags Referral received

comment:2 Changed 18 months ago by jacalvo@…

Can you please confirm if executing the following command in the slave fixes the problem?

sudo /usr/share/zentyal-users/rejoin-slave

Thanks.

comment:3 Changed 18 months ago by 3@…

This command doesn't fix my problem. I run

sudo /usr/share/zentyal-users/reinstall

yesterday, without any effect, now I run

sudo /usr/share/zentyal-users/rejoin-slave

and see my problem persists. I see problem only when connecting SAMBA, LDAP itself connecting without problem.Unknown error at EBox::SambaLdapUser::_getAccountFlags Referral received

Thanks.

Unknown error at EBox::SambaLdapUser::_getAccountFlags Referral received at /usr/share/perl5/EBox/Ldap.pm line 701 EBox::Ldap::_errorOnLdap('Net::LDAP::Search=HASH(0x26d909f0)', 'HASH(0x269af0d8)') called at /usr/share/perl5/EBox/Ldap.pm line 341 EBox::Ldap::search('EBox::Ldap=HASH(0x253f9760)', 'HASH(0x269af0d8)') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 843 EBox::SambaLdapUser::_getAccountFlags('EBox::SambaLdapUser?=HASH(0x26cc33d0)', 'test1') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 853 EBox::SambaLdapUser::_userSharing('EBox::SambaLdapUser?=HASH(0x26cc33d0)', 'test1') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 431 EBox::SambaLdapUser::_userAddOns('EBox::SambaLdapUser?=HASH(0x26cc33d0)', 'test1') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 2468 EBox::UsersAndGroups::allUserAddOns('EBox::UsersAndGroups?=HASH(0x256bc590)', 'test1') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/User.pm line 51 EBox::CGI::UsersAndGroups::User::_process('EBox::CGI::UsersAndGroups::User=HASH(0x26b8a800)') called at /usr/share/perl5/EBox/CGI/Base.pm line 275 EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::User=HASH(0x26b8a800)') 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(0x26b779b8)') 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(0x26d57328)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170 ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x26d57328)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31 ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec?=SCALAR(0x26b779b8)') called at -e line 0 eval {...} called at -e line 0

comment:4 Changed 18 months ago by jacalvo@…

  • Owner changed from jacalvo@… to cperez@…

comment:5 Changed 18 months ago by cperez@…

  • Status changed from new to assigned

This is strange,

Could be possible to access (ssh) your server to see the problem there and try to find a fix?

Best regards

comment:6 Changed 18 months ago by 3@…

I repeated the action in VirtualBox?. The problem again. I grant SSH access to the master and slave server in VirtualBox?.

comment:7 Changed 18 months ago by cperez@…

Just to be sure, have you checked you don't have pending slave actions in your master?

You can check that here:

Users & groups -> slave status

Best regards

comment:8 Changed 18 months ago by 3@…

I have pending slave actions on master. But if I don't activate File Sharing, Slave can see users added on Master, even in the presence of the pending slave actions. BTW, such pending actions taking place in older versions - 4ex, 2.0.3, where Slave can see and work with users added on Master.

comment:9 Changed 18 months ago by cperez@…

Hi,

We did some changes in 2.2, probably quota attribute (now in master) is messing with this. Can you try to fix the pending actions problem?

Check your firewall connectivity. Master should be able to connect to slave's zentyal administration port (default 443).

Can you attach zentyal.log from master to see slave sync problems?

comment:10 Changed 18 months ago by 3@…

Hi! I made ​​an entry in the hosts file on the master and slave. It worked! Tell me please how to remove synchronization errors left after the tests on master: dmail addUser test dmail delUser test Thank you very much!

comment:11 Changed 18 months ago by cperez@…

  • Status changed from assigned to closed
  • Resolution set to fixed

I think your best option is to remove the slave from the master and rejoin it with this command in the slave:

sudo /usr/share/zentyal-users/rejoin-slave

Glad to know that this is working again, I'm closing the ticket.

Thank you for your feedback!

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.