Modify

Ticket #3985 (closed defect: duplicate)

Opened 14 months ago

Last modified 14 months ago

Cannot read LDAP password file

Reported by: airtonix@… Owned by: jamor@…
Milestone: 3.0 Component: users
Severity: normal Keywords:
Cc:

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

Tried to access office > Users & Groups > LDAP Settings.

Error

Could not get LDAP password

Trace

Could not get LDAP password at /usr/share/perl5/EBox/Ldap.pm line 179
	EBox::Ldap::getPassword('EBox::Ldap=HASH(0x7fae39738db8)') called at /usr/share/perl5/EBox/UsersAndGroups/Model/LdapInfo.pm line 119
	EBox::UsersAndGroups::Model::LdapInfo::_acquirer('EBox::Types::Text=HASH(0x7fae3b6e0aa0)') called at /usr/share/perl5/EBox/Types/Abstract.pm line 541
	EBox::Types::Abstract::restoreFromHash('EBox::Types::Text=HASH(0x7fae3b6e0aa0)') called at /usr/share/perl5/EBox/Model/DataForm.pm line 928
	EBox::Model::DataForm::_row('EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)') called at /usr/share/perl5/EBox/Model/DataForm/ReadOnly.pm line 137
	EBox::Model::DataForm::ReadOnly::row('EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)') called at /usr/share/zentyal/templates/ajax/form.mas line 42
	HTML::Mason::Commands::__ANON__('model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)', 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)', 'hasChanged', undef, 'action', 'view') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
	HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x7fae3b5bdb80)', 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)', 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)', 'hasChanged', undef, 'action', 'view', ...) called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
	eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1292
	HTML::Mason::Request::comp(undef, undef, 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)', 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)', 'hasChanged', undef, 'action', ...) called at /usr/share/zentyal/templates/ajax/modelViewer.mas line 161
	HTML::Mason::Commands::__ANON__('model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
	HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x7fae3b5fa1c0)', 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
	eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1292
	HTML::Mason::Request::comp(undef, undef, 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)') called at /usr/share/zentyal/templates/ajax/modelViewer.mas line 75
	HTML::Mason::Commands::__ANON__('model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)', 'hasChanged', undef, 'action', 'view') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
	HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x7fae3b5fa3b8)', 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)', 'hasChanged', undef, 'action', 'view') called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
	eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1292
	HTML::Mason::Request::comp(undef, undef, 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)', 'hasChanged', undef, 'action', 'view') called at /usr/share/zentyal/templates/readOnlyForm.mas line 20
	HTML::Mason::Commands::__ANON__('model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)', 'hasChanged', undef, 'action', 'view') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
	HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fae3b6937e8)', 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)', 'hasChanged', undef, 'action', 'view') called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
	eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1292
	HTML::Mason::Request::comp(undef, undef, 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7fae3a6687d0)', 'hasChanged', undef, 'action', 'view') called at <anonymous component> line 67
	HTML::Mason::Commands::__ANON__('model', 'EBox::UsersAndGroups::Composite::Settings=HASH(0x7fae3b4f42f8)', 'hasChanged', undef) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
	HTML::Mason::Component::run('HTML::Mason::Component=HASH(0x7fae3b76fbf0)', 'model', 'EBox::UsersAndGroups::Composite::Settings=HASH(0x7fae3b4f42f8)', 'hasChanged', undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
	eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1292
	HTML::Mason::Request::comp(undef, undef, undef, 'model', 'EBox::UsersAndGroups::Composite::Settings=HASH(0x7fae3b4f42f8)', 'hasChanged', undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 483
	eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 483
	eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 433
	HTML::Mason::Request::exec('HTML::Mason::Request=HASH(0x7fae3b686018)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 342
	HTML::Mason::Interp::exec(undef, undef, 'model', 'EBox::UsersAndGroups::Composite::Settings=HASH(0x7fae3b4f42f8)', 'hasChanged', undef) called at /usr/share/perl5/EBox/CGI/Base.pm line 148
	EBox::CGI::Base::_body('EBox::CGI::View::Composite=HASH(0x7fae38095420)') called at /usr/share/perl5/EBox/CGI/Base.pm line 192
	EBox::CGI::Base::_print('EBox::CGI::View::Composite=HASH(0x7fae38095420)') called at /usr/share/perl5/EBox/CGI/Base.pm line 347
	EBox::CGI::Base::run('EBox::CGI::View::Composite=HASH(0x7fae38095420)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129
	EBox::CGI::Run::run('EBox::CGI::Run', 'Users/Composite/Settings', '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(0x7fae3b8f7f28)') 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(0x7fae3b7d5ad0)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7fae3b7d5ad0)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7fae3b8f7f28)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (66.8 KB) - added by anonymous 14 months ago.
zentyal.log

Change History

Changed 14 months ago by anonymous

zentyal.log

comment:1 Changed 14 months ago by jamor@…

  • Component changed from base to users
  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to Cannot read LDAP password file

Hello Airtonix,

this error does not happens in my installations. It seems that somehow you are missing the password file or it has the wrong permissions. Please, run this command and report back the output:

ls -l /var/lib/zentyal/ldap.passwd"

Also we need to know how you arrived to this error:

  • you used the installer or you installed the packages in a previous precise server?
  • it is a standalone server, a master or a slave?
  • do you have any error on the users setup? it worked before or this was the first time you tried to use it?.

Regards,

Javier

comment:2 Changed 14 months ago by jamor@…

  • Status changed from new to accepted

Hello Airtonix,

this is related to the previous upgrade between beta version or is a error in a new installation?

comment:3 Changed 14 months ago by jamor@…

  • Status changed from accepted to closed
  • Resolution set to duplicate

I think it is the same issue than #3935 .

Please, reopen if it is not.

Regards,

Javier

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.