Hello, sorry for my English.I am trying to activate the LDAP plugin and I have this error:Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl start 'smbd' 2>&1' with exit code '1': Job for smbd.service failed because the control process exited with error code.See "systemctl status smbd.service" and "journalctl -xe" for details.
If i pick on details i see
https://tinohost.com/:
Error
#0:OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl start 'smbd' 2>&1' with exit code '1': Job for smbd.service failed because the control process exited with error code.See "systemctl status smbd.service" and "journalctl -xe" for details. in /usr/share/php/openmediavault/system/process.inc:175Stack trace:
#0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)
#1 /usr/share/php/openmediavault/system/systemctl.inc(104): OMV\System\SystemCtl->exec('start', NULL, false)
#2 /usr/share/openmediavault/engined/module/samba.inc(62): OMV\System\SystemCtl->enable(true)
#3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleSamba->startService()
#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus2N...', '/tmp/bgoutputRG...')
#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#14 {main}
In the console, executing "journalctl -xe" i can see this:
may 31 18:25:43 omv systemd[1]: Failed to start Samba SMB Daemon.
-- Subject: Unit smbd.service has failed
-- Defined-By: systemd
-- Support: debian.org/support
--
-- Unit smbd.service has failed.
--
-- The result is failed.
may 31 18:25:43 omv systemd[1]: smbd.service: Unit entered failed state.
may 31 18:25:43 omv systemd[1]: smbd.service: Failed with result 'exit-code'.
may 31 18:25:56 omv [sssd[ldap_child[3917]: Failed to initialize credentials using keytab [MEMORY:/etc/krb5.keytab]: Preauthenticat
ion failed. Unable to create GSSAPI-encrypted LDAP connection.
may 31 18:25:56 omv [sssd[ldap_child[3917]: Preauthentication failed
may 31 18:25:56 omv [sssd[ldap_child[3918]: Failed to initialize credentials using keytab [MEMORY:/etc/krb5.keytab]: Preauthenticat
ion failed. Unable to create GSSAPI-encrypted LDAP connection.
may 31 18:25:56 omv [sssd[ldap_child[3918]: Preauthentication failed
may 31 18:25:56 omv [sssd[ldap_child[3919]: Failed to initialize credentials using keytab [MEMORY:/etc/krb5.keytab]: Preauthenticat
ion failed. Unable to create GSSAPI-encrypted LDAP connection.
may 31 18:25:56 omv [sssd[ldap_child[3919]: Preauthentication failed
My LDAP server is under Zentyal Server
Any idea?
Thanks!
.