Author Topic: A really nasty bug has occurred  (Read 1870 times)

azop

  • Zen Monk
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
A really nasty bug has occurred
« on: January 15, 2010, 04:49:27 pm »
I upgraded from what was in Hardy to the 1.2 PPA.  Really, really bad things happened (the virtual email host was deleted and all accounts in /var/vmail/virtualhost were deleted, anti-virus was broken, etc..).  I have most of these problems resolved now but this remains:

When I add a user I get this error:

A really nasty bug has occurred
Exception
Unknown error at EBox::UsersAndGroups::addUser objectclass: value #2 invalid per syntax
Trace
Unknown error at EBox::UsersAndGroups::addUser objectclass: value #2 invalid per syntax at /usr/share/perl5/EBox/Ldap.pm line 615
EBox::Ldap::_errorOnLdap('Net::LDAP::Add=HASH(0xbde830)', 'HASH(0xbd6470)') called at /usr/share/perl5/EBox/Ldap.pm line 345
EBox::Ldap::add('EBox::Ldap=HASH(0x2798280)', 'uid=jmclaughlin,ou=Users,dc=ebox', 'HASH(0xbd6470)') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 438
EBox::UsersAndGroups::addUser('EBox::UsersAndGroups=HASH(0x2798340)', 'HASH(0x2798670)') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/AddUser.pm line 78
EBox::CGI::UsersAndGroups::AddUser::_process('EBox::CGI::UsersAndGroups::AddUser=HASH(0xbd8770)') called at /usr/share/perl5/EBox/CGI/Base.pm line 261
EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::AddUser=HASH(0xbd8770)') called at /usr/share/perl5/EBox/CGI/Run.pm line 120
EBox::CGI::Run::run('EBox::CGI::Run', 'UsersAndGroups/AddUser', 'EBox') called at /usr/share/ebox/cgi/ebox.cgi line 19
ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x12bdd10)') 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(0xbdcc00)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xbdcc00)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x12bdd10)') called at -e line 0
eval {...} called at -e line 0

jjm1982

  • Zen Warrior
  • ***
  • Posts: 200
  • Karma: +7/-0
    • View Profile
Re: A really nasty bug has occurred
« Reply #1 on: January 15, 2010, 08:14:33 pm »
I had an similar issue when trying to configure a PDC and a back domain controller foloowing the Windows 7 reg fix and updating samba to the latest beta version. I have since rolled back the changes. I still get the error when adding users, but I force my way through it. I'm still not convinced that I have corrected the problem. I'm hoping that the next release of exbox will fix any remaining issues.

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: A really nasty bug has occurred
« Reply #2 on: January 22, 2010, 03:49:14 pm »
I upgraded from what was in Hardy to the 1.2 PPA. 

Where did you upgrade from?  1.0?

azop

  • Zen Monk
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: A really nasty bug has occurred
« Reply #3 on: January 22, 2010, 03:53:10 pm »
I upgraded from what was in Hardy to the 1.2 PPA. 

Where did you upgrade from?  1.0?

0.11.99

azop

  • Zen Monk
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: A really nasty bug has occurred
« Reply #4 on: February 27, 2010, 03:22:54 pm »
I'm still not having any luck with this problem.  I removed ebox-usersandgroups and reinstalled it, then installed ebox-samba.  When I try to reinstall ebox-mailfilter I get this error:

Install these packages without verification [y/N]? y
Selecting previously deselected package ebox-mailfilter.
(Reading database ... 146156 files and directories currently installed.)
Unpacking ebox-mailfilter (from .../ebox-mailfilter_1.2.2-0ubuntu1~ppa1~hardy1_all.deb) ...
Setting up ebox-mailfilter (1.2.2-0ubuntu1~ppa1~hardy1) ...
root command /usr/share/ebox-mailfilter/ebox-mailfilter-ldap update failed.
Error output: Unknown error at EBox::MailFilter::VDomainsLdap::_addVDomain objectClass: value #0 invalid per syntax
Command output: .
Exit value: 255 * Restarting eBox module: logs                                                                                                                            [ OK ]
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
 * Restarting eBox module: mailfilter                                    [fail]

Processing triggers for ebox ...
 * Restarting eBox module: apache                                        [ OK ]


When I try to edit a user I get this:


A really nasty bug has occurred
Exception
Unknown error at EBox::UsersAndGroups::_modifyUserPwd unrecognized objectClass 'sambaSamAccount'
Trace
Unknown error at EBox::UsersAndGroups::_modifyUserPwd unrecognized objectClass 'sambaSamAccount' at /usr/share/perl5/EBox/Ldap.pm line 615
EBox::Ldap::_errorOnLdap('Net::LDAP::Modify=HASH(0x4cdd460)', 'HASH(0x4ccb5b0)') called at /usr/share/perl5/EBox/Ldap.pm line 300
EBox::Ldap::modify('EBox::Ldap=HASH(0x33ea140)', 'uid=dedler,ou=Users,dc=ebox', 'HASH(0x4ccb5b0)') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 521
EBox::UsersAndGroups::_modifyUserPwd('EBox::UsersAndGroups=HASH(0x3b100b0)', 'dedler', 'ccso401') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 585
EBox::UsersAndGroups::modifyUser('EBox::UsersAndGroups=HASH(0x3b100b0)', 'HASH(0x4cf7b90)') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/ModifyUser.pm line 82
EBox::CGI::UsersAndGroups::ModifyUser::_process('EBox::CGI::UsersAndGroups::ModifyUser=HASH(0x49de1f0)') called at /usr/share/perl5/EBox/CGI/Base.pm line 261
EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::ModifyUser=HASH(0x49de1f0)') called at /usr/share/perl5/EBox/CGI/Run.pm line 120
EBox::CGI::Run::run('EBox::CGI::Run', 'UsersAndGroups/ModifyUser', 'EBox') called at /usr/share/ebox/cgi/ebox.cgi line 19
ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x1ed8ef0)') 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(0x1ed9340)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x1ed9340)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x1ed8ef0)') called at -e line 0
eval {...} called at -e line 0

azop

  • Zen Monk
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: A really nasty bug has occurred
« Reply #5 on: February 27, 2010, 04:29:20 pm »
I ended up restarting slapd and then ran ebox-mailfilter-ldap update.  That error went away, but users aren't able to login with dovecot.  It appears (?) that the passwords are no longer valid.  If I reset the password to an account it works....