Modify

Ticket #4802 (closed defect: fixed)

Opened 10 months ago

Last modified 9 months ago

I clicked on the modules tab : kadm5_create_principal: ldap_sasl_bind_s: Can't contact LDAP server

Reported by: arch@… Owned by: scabrero@…
Milestone: 3.0 Component: base
Severity: normal Keywords:
Cc:

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

I clicked on the modules tab

Error

root command set -e
kadmin -l add -r --max-ticket-life='1 day' --max-renewable-life='1 week' --attributes='' --expiration-time=never --pw-expiration-time=never --policy=default 'HTTP/firewall.hsd1.tn.comcast.net'
kadmin -l ext -k '/etc/squid3/HTTP.keytab' 'HTTP/firewall.hsd1.tn.comcast.net'
chown root:proxy '/etc/squid3/HTTP.keytab'
chmod 440 '/etc/squid3/HTTP.keytab' failed. 
Error output: kadmin: kadm5_create_principal: ldap_sasl_bind_s: Can't contact LDAP server
 kadmin: adding HTTP/firewall.hsd1.tn.comcast.net: ldap_sasl_bind_s: Can't contact LDAP server

Command output: . 
Exit value: 1

Trace

root command set -e
kadmin -l add -r --max-ticket-life='1 day' --max-renewable-life='1 week' --attributes='' --expiration-time=never --pw-expiration-time=never --policy=default 'HTTP/firewall.hsd1.tn.comcast.net'
kadmin -l ext -k '/etc/squid3/HTTP.keytab' 'HTTP/firewall.hsd1.tn.comcast.net'
chown root:proxy '/etc/squid3/HTTP.keytab'
chmod 440 '/etc/squid3/HTTP.keytab' failed. 
Error output: kadmin: kadm5_create_principal: ldap_sasl_bind_s: Can't contact LDAP server
 kadmin: adding HTTP/firewall.hsd1.tn.comcast.net: ldap_sasl_bind_s: Can't contact LDAP server

Command output: . 
Exit value: 1 at /usr/share/perl5/Error.pm line 182
	Error::throw('EBox::Exceptions::Sudo::Command', 'cmd', 'set -e\x{a}kadmin -l add -r --max-ticket-life=\'1 day\' --max-ren...', 'output', 'ARRAY(0x7f22793215b8)', 'error', 'ARRAY(0x7f2276337470)', 'exitValue', 1, ...) called at /usr/share/perl5/EBox/Sudo.pm line 216
	EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/gpmTZQp_w5.cmd 2>...', 'set -e\x{a}kadmin -l add -r --max-ticket-life=\'1 day\' --max-ren...', 256, 'ARRAY(0x7f22793215b8)', 'ARRAY(0x7f2276337470)') called at /usr/share/perl5/EBox/Sudo.pm line 185
	EBox::Sudo::_root(1, 'kadmin -l add -r --max-ticket-life=\'1 day\' --max-renewable-...', 'kadmin -l ext -k \'/etc/squid3/HTTP.keytab\' \'HTTP/firewall....', 'chown root:proxy \'/etc/squid3/HTTP.keytab\'', 'chmod 440 \'/etc/squid3/HTTP.keytab\'') called at /usr/share/perl5/EBox/Sudo.pm line 137
	EBox::Sudo::root('kadmin -l add -r --max-ticket-life=\'1 day\' --max-renewable-...', 'kadmin -l ext -k \'/etc/squid3/HTTP.keytab\' \'HTTP/firewall....', 'chown root:proxy \'/etc/squid3/HTTP.keytab\'', 'chmod 440 \'/etc/squid3/HTTP.keytab\'') called at /usr/share/perl5/EBox/KerberosModule.pm line 110
	EBox::KerberosModule::kerberosCreatePrincipals('EBox::Squid=HASH(0x7f2279162a98)') called at /usr/share/perl5/EBox/Samba.pm line 324
	EBox::Samba::enableService('EBox::Samba=HASH(0x7f2278619ca8)', undef) called at /usr/share/perl5/EBox/ServiceManager.pm line 95
	EBox::ServiceManager::moduleStatus('EBox::ServiceManager=HASH(0x7f2276b39988)') called at /usr/share/perl5/EBox/CGI/ServiceModule/StatusView.pm line 54
	EBox::CGI::ServiceModule::StatusView::_process('EBox::CGI::ServiceModule::StatusView=HASH(0x7f2276b37f20)') called at /usr/share/perl5/EBox/CGI/Base.pm line 274
	EBox::CGI::Base::run('EBox::CGI::ServiceModule::StatusView=HASH(0x7f2276b37f20)') called at /usr/share/perl5/EBox/CGI/Run.pm line 132
	EBox::CGI::Run::run('EBox::CGI::Run', 'ServiceModule/StatusView', '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(0x7f2276a6d398)') 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(0x7f2276a6d4e8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f2276a6d4e8)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7f2276a6d398)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (82.6 KB) - added by anonymous 10 months ago.
zentyal.log

Change History

Changed 10 months ago by anonymous

zentyal.log

comment:1 Changed 10 months ago by jamor@…

  • Owner changed from jamor@… to scabrero@…
  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to I clicked on the modules tab : kadm5_create_principal: ldap_sasl_bind_s: Can't contact LDAP server

comment:2 Changed 9 months ago by jamor@…

More examples of this problem in #4808 and #4869

comment:3 Changed 9 months ago by jacalvo@…

  • Status changed from new to accepted

comment:4 Changed 9 months ago by jacalvo@…

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

This should be fixed some versions ago, please try with the current Zentyal 3.0 RC2. Thanks!

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.