Author Topic: Zentyal 4.2 Cannot save Sharing - Error connecting with SMB server  (Read 1939 times)

jaaa

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Hi,

I've just installed fresh Zentyal 4.2 and have issues when configuration of the shares.

When saving I got an error - Error connecting with SMB server after 10 tries.

Here is what is showed in webgui:

Error connecting with SMB server after 10 tries. Error connecting with SMB server after 10 tries. at Error connecting with SMB server after 10 tries. at /usr/share/perl5/EBox/Samba/SmbClient.pm line 73 EBox::Samba::SmbClient::new('EBox::Samba::SmbClient', 'target', 'server.nhkz.cz', 'service', 'pohoda', 'RID', 500) called at /usr/share/perl5/EBox/Samba.pm line 906 EBox::Samba::_postServiceHook('EBox::Samba=HASH(0x486e628)', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 980 EBox::Module::Service::_regenConfig('EBox::Samba=HASH(0x486e628)') called at /usr/share/perl5/EBox/Samba.pm line 688 EBox::Samba::_regenConfig('EBox::Samba=HASH(0x486e628)') called at /usr/share/perl5/EBox/Module/Base.pm line 234 eval {...} at /usr/share/perl5/EBox/Module/Base.pm line 233 EBox::Module::Base::save('EBox::Samba=HASH(0x486e628)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 656 eval {...} at /usr/share/perl5/EBox/GlobalImpl.pm line 655 EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x3496f58)', 'progress', 'EBox::ProgressIndicator=HASH(0xe5c528)') called at /usr/share/perl5/EBox/Global.pm line 95 EBox::Global::AUTOLOAD('EBox::Global=HASH(0x34bed60)', 'progress', 'EBox::ProgressIndicator=HASH(0xe5c528)') called at /usr/share/zentyal/global-action line 32 eval {...} at /usr/share/zentyal/global-action line 30

And here from zentyal.log with debug enabled:

2016/03/20 21:33:27 INFO> Samba.pm:835 EBox::Samba::_postServiceHook - Setting roaming profiles...
2016/03/20 21:33:27 INFO> SetUidGidNumbers.pm:195 EBox::Samba::SetUidGidNumbers::run - Samba uid and gid number check daemon started
2016/03/20 21:33:27 DEBUG> SetUidGidNumbers.pm:199 EBox::Samba::SetUidGidNumbers::run - Sleeping for 30 seconds
2016/03/20 21:33:27 INFO> Samba.pm:904 EBox::Samba::_postServiceHook - Applying new permissions to the share 'pohoda'...
2016/03/20 21:33:27 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 30149) - /usr/bin/test -f '/var/lib/zentyal/conf/samba.keytab'
2016/03/20 21:33:27 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 30149) - set -e
rm -f '/var/lib/zentyal/conf/samba.keytab'
samba-tool domain exportkeytab '/var/lib/zentyal/conf/samba.keytab' --principal='Administrator@NHKZ.CZ'
chown 'ebox:ebox' '/var/lib/zentyal/conf/samba.keytab'
chmod 400 '/var/lib/zentyal/conf/samba.keytab'
2016/03/20 21:33:30 WARN> SmbClient.pm:69 EBox::Samba::SmbClient::new - Error connecting with SMB server: Failed to connect: NT_STATUS_NO_MEMORY at /usr/share/perl5/EBox/Samba/SmbClient.pm line 63, <GEN0> line 1445.
, retrying (1 attempts)
2016/03/20 21:33:33 WARN> SmbClient.pm:69 EBox::Samba::SmbClient::new - Error connecting with SMB server: Failed to connect: NT_STATUS_NO_MEMORY at /usr/share/perl5/EBox/Samba/SmbClient.pm line 63, <GEN0> line 1445.
, retrying (2 attempts)

Share is visible, however access is denied.

Can somebody help what can be the issue?

Thanks!

K.

jaaa

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Zentyal 4.2 Cannot save Sharing - Error connecting with SMB server
« Reply #1 on: July 03, 2016, 01:11:40 pm »
Any udpate here? I'm really desperate.

Thanks!

K.

jaaa

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Zentyal 4.2 Cannot save Sharing - Error connecting with SMB server
« Reply #2 on: October 11, 2016, 12:51:04 am »
Really nobody??