Modify

Ticket #3935 (closed defect: wontfix)

Opened 15 months ago

Last modified 14 months ago

Could not get LDAP password

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

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

Setting up networking...

setting eth0 to 'bridged, br0'

Originally set this manually on the bare 12.04 install prior to zentyal install by apt-get.

Today updated packages and lost network setting so was setting networks in zentyal interface. eth0 setting now appears to be persistent, but subsequent LDAP issue now filling up log. Unexpected error found under Office-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(0x7f520c461ca8)') called at /usr/share/perl5/EBox/UsersAndGroups/Model/LdapInfo.pm line 119
	EBox::UsersAndGroups::Model::LdapInfo::_acquirer('EBox::Types::Text=HASH(0x7f520e5f3410)') called at /usr/share/perl5/EBox/Types/Abstract.pm line 541
	EBox::Types::Abstract::restoreFromHash('EBox::Types::Text=HASH(0x7f520e5f3410)') called at /usr/share/perl5/EBox/Model/DataForm.pm line 928
	EBox::Model::DataForm::_row('EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7f520d710e20)') called at /usr/share/perl5/EBox/Model/DataForm/ReadOnly.pm line 137
	EBox::Model::DataForm::ReadOnly::row('EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7f520d710e20)') called at /usr/share/zentyal/templates/ajax/form.mas line 42
	HTML::Mason::Commands::__ANON__('model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7f520d710e20)', 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7f520d710e20)', 'hasChanged', undef, 'action', 'view') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
	HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x7f520e564068)', 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7f520d710e20)', 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7f520d710e20)', '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(0x7f520d710e20)', 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7f520d710e20)', 'hasChanged', undef, 'action', ...) called at /usr/share/zentyal/templates/ajax/modelViewer.mas line 161
	HTML::Mason::Commands::__ANON__('model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7f520d710e20)') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
	HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x7f520e5eef00)', 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7f520d710e20)') 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(0x7f520d710e20)') called at /usr/share/zentyal/templates/ajax/modelViewer.mas line 75
	HTML::Mason::Commands::__ANON__('model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7f520d710e20)', 'hasChanged', undef, 'action', 'view') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
	HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x7f520e5ef0f8)', 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7f520d710e20)', '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(0x7f520d710e20)', 'hasChanged', undef, 'action', 'view') called at /usr/share/zentyal/templates/readOnlyForm.mas line 20
	HTML::Mason::Commands::__ANON__('model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7f520d710e20)', 'hasChanged', undef, 'action', 'view') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
	HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f520e5624a0)', 'model', 'EBox::UsersAndGroups::Model::LdapInfo=HASH(0x7f520d710e20)', '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(0x7f520d710e20)', 'hasChanged', undef, 'action', 'view') called at <anonymous component> line 67
	HTML::Mason::Commands::__ANON__('model', 'EBox::UsersAndGroups::Composite::Settings=HASH(0x7f520d9413f8)', 'hasChanged', undef) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
	HTML::Mason::Component::run('HTML::Mason::Component=HASH(0x7f520e55b500)', 'model', 'EBox::UsersAndGroups::Composite::Settings=HASH(0x7f520d9413f8)', '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(0x7f520d9413f8)', '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(0x7f520e55b9c8)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 342
	HTML::Mason::Interp::exec(undef, undef, 'model', 'EBox::UsersAndGroups::Composite::Settings=HASH(0x7f520d9413f8)', 'hasChanged', undef) called at /usr/share/perl5/EBox/CGI/Base.pm line 148
	EBox::CGI::Base::_body('EBox::CGI::View::Composite=HASH(0x7f520d87c7b0)') called at /usr/share/perl5/EBox/CGI/Base.pm line 192
	EBox::CGI::Base::_print('EBox::CGI::View::Composite=HASH(0x7f520d87c7b0)') called at /usr/share/perl5/EBox/CGI/Base.pm line 347
	EBox::CGI::Base::run('EBox::CGI::View::Composite=HASH(0x7f520d87c7b0)') 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(0x7f520d87c108)') 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(0x7f520d2826d0)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f520d2826d0)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7f520d87c108)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (89.9 KB) - added by anonymous 15 months ago.
zentyal.log

Change History

Changed 15 months ago by anonymous

zentyal.log

comment:1 Changed 15 months ago by jamor@…

  • Component changed from base to users
  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to Could not get LDAP password

comment:2 Changed 15 months ago by jamor@…

  • Status changed from new to closed
  • Resolution set to wontfix

Hello Btibuzz,

2.3 is beta and we try oru best but cannot guaranteed that upgrades would always be flawless.

In this case you have the option of reinstalling the ldap modules with this command:

sudo /usar/share/zentyal-users/reinstall

or if you want to be in the safer side try the new 2.3 installer ->  http://lists.zentyal.org/pipermail/zentyal-announce/2012-March/000029.html

Regards,

Javier

comment:3 Changed 14 months ago by airtonix@…

  • Status changed from closed to reopened
  • Resolution wontfix deleted

sudo /usar/share/zentyal-users/reinstall

will wipe all our users right?

surely you have remarked at one point "Hey wouldn't it be nice and happy to be able to export the ldap data into a none ldap format, so migrations can occur with sunshine, cups of tea and lots of smiles?"

or have you decided that we should all frown and use unhappy words.

comment:4 Changed 14 months ago by CTilluma@…

I also experienced this issue upon upgrading. While I do understand that this is alpha software, an issue such as this makes one hesitant to continue the use and testing of alpha software in an effort to aid in the debugging process to assist in bringing the highest quality product in whatever way we may be able.

If the upgrade process is going to have this type of risk, and this will be marked as wontfix, then it only makes sense to provide a means to backup the entire Zentyal configuration. This would of course include any LDAP, SQL, or config files. This could easily be thrown into a tarball and used to rebuild after such an incident. Even if the means for importing a configuration wasn't present, it's still preferable to manually rebuild tables, directories, and files than to lose sections of a configuration and have to manually rebuild that configuration.

comment:5 Changed 14 months ago by jamor@…

  • Status changed from reopened to closed
  • Resolution set to wontfix

Hello all,

yes, the user reinstall will wipe all LDAP data, including users.

In Beta things will be broke, from time to time. We just cannot bear the workload of making migration script between beta version. Normally where is a big change we will issue a new installer.

The LDAP data is saved in the configuration backups, in LDIF formats. However restore backups are also not guaranteed to work between beta version, but is worth a try. Also just can try to recover using the LDIF files directly but this will be more complicated.

Regards,

Javier

Last edited 14 months ago by jamor@… (previous) (diff)
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.