Author Topic: samba issue with eBox version 1.1~svn12916  (Read 1521 times)

Doc_exe

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
samba issue with eBox version 1.1~svn12916
« on: March 20, 2009, 05:41:18 pm »
I upgraded to the latest version and when I try to browse my server samba shares over the network nothing shows up.  I tried to restart the file sharing service via ebox web page and I got this error

A really nasty bug has occurred
Exception
Can't create ldapi connection
Trace
Can't create ldapi connection at /usr/share/perl5/EBox/Ldap.pm line 125
EBox::Ldap::ldapCon('EBox::Ldap=HASH(0x9fa2080)') called at /usr/share/perl5/EBox/Ldap.pm line 268
EBox::Ldap::search('EBox::Ldap=HASH(0x9fa2080)', 'HASH(0x9fe9dec)') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 1027
EBox::SambaLdapUser::_fetchDomainAttrs('EBox::SambaLdapUser=HASH(0x9fae684)', 'jaspo') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 999
EBox::SambaLdapUser::setSambaDomainName('EBox::SambaLdapUser=HASH(0x9fae684)', 'jaspo') called at /usr/share/perl5/EBox/Samba.pm line 353
EBox::Samba::_setConf('EBox::Samba=HASH(0x9417abc)') called at /usr/share/perl5/EBox/Module/Base.pm line 794
EBox::Module::Base::_regenConfig('EBox::Samba=HASH(0x9417abc)') called at /usr/share/perl5/EBox/Module/Service.pm line 569
EBox::Module::Service::_regenConfig('EBox::Samba=HASH(0x9417abc)', 'restart', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 597
EBox::Module::Service::restartService('EBox::Samba=HASH(0x9417abc)') called at /usr/share/perl5/EBox/CGI/EBox/RestartService.pm line 51
EBox::CGI::EBox::RestartService::_process('EBox::CGI::EBox::RestartService=HASH(0x9417b34)') called at /usr/share/perl5/EBox/CGI/Base.pm line 261
EBox::CGI::Base::run('EBox::CGI::EBox::RestartService=HASH(0x9417b34)') called at /usr/share/perl5/EBox/CGI/Run.pm line 107
EBox::CGI::Run::run('EBox::CGI::Run', 'EBox/RestartService', '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(0x9241584)') 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(0x8eecee0)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x8eecee0)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x9241584)') called at -e line 0
eval {...} called at -e line 0

I have been using ebox for about a year now... maybe less but a while and it has worked fine up until the upgrade yesterday... Hopefully this helps someone understand what is wrong... if you need more information please let me know.

Doc

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: samba issue with eBox version 1.1~svn12916
« Reply #1 on: March 20, 2009, 06:30:50 pm »
Hey Doc,

I'm sorry you have upgraded to our unstable version. And it seems it has some problems to import the old configuration for LDAP.

If you had a configuration backup you could try to remove ebox, reinstall 1.0 from our stable repository, and restore the backup.

To remove eBox run:

Code: [Select]
apt-get remove --purge ^ebox-.*
apt-get remove --purge ebox libebox

Doc_exe

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: samba issue with eBox version 1.1~svn12916
« Reply #2 on: March 20, 2009, 07:29:00 pm »
Thanks for the info... I will change my repo back to the stable and reinstall... I only had a couple of users and shares so no real harm done.

Thanks :)