Author Topic: Cannot connect to slapd error 49  (Read 2633 times)

niber

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Cannot connect to slapd error 49
« on: October 29, 2010, 01:02:49 am »
Hello

slapd is running

Each time I try do use "usersandgroups" I get errors about ldap authentification

==========
Unknown error at EBox::UsersAndGroups::addUser modifications require authentication at /usr/share/perl5/EBox/Ldap.pm line 699
EBox::Ldap::_errorOnLdap('Net::LDAP::Add=HASH(0xbb24b278)', 'HASH(0xba8a1910)') called at /usr/share/perl5/EBox/Ldap.pm line 404
EBox::Ldap::add('EBox::Ldap=HASH(0xbb23c638)', 'uid=tallemand,ou=Users,dc=aki-srv,dc=aki,dc=lan', 'HASH(0xba8a1910)') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 908
EBox::UsersAndGroups::addUser('EBox::UsersAndGroups=HASH(0xba91fbf0)', 'HASH(0xbb2378f8)') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/AddUser.pm line 78
EBox::CGI::UsersAndGroups::AddUser::_process('EBox::CGI::UsersAndGroups::AddUser=HASH(0xbb2479d0)') called at /usr/share/perl5/EBox/CGI/Base.pm line 262
EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::AddUser=HASH(0xbb2479d0)') 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 35
ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0xbb06e670)') 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(0xbb2098e8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xbb2098e8)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0xbb06e670)') called at -e line 0
eval {...} called at -e line 0
==============

I tried aptitude purge/install ebox-usersandgroups without success.

I also get errors through cron :

/etc/cron.hourly/90manageEBoxLogs:
There wasn't a database connection, check if database exists\nrun-parts: /etc/cron.hourly/90manageEBoxLogs exited with return code 25

and

Cron <root@aki-srv> /usr/share/ebox-usersandgroups/slave-sync
Couldn't bind to LDAP server, result code: 49



Hope you can help.
« Last Edit: October 29, 2010, 01:07:17 am by niber »