OVM with Zyntyal + Error

    • OMV 4.x
    • OVM with Zyntyal + Error

      Hi,

      I did Zyntyal AD intigration with OMV but my SMB/CIFS not starting after intigration.

      Error :

      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; 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.


      Out put of journalctl -xe ====>

      -- Unit systemd-tmpfiles-clean.service has begun starting up.
      May 17 19:22:55 ad systemd-tmpfiles[2477]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.
      May 17 19:22:55 ad systemd[1]: Started Cleanup of Temporary Directories.
      -- Subject: Unit systemd-tmpfiles-clean.service has finished start-up
      -- Defined-By: systemd
      -- Support: lists.freedesktop.org/mailman/listinfo/systemd-devel
      --
      -- Unit systemd-tmpfiles-clean.service has finished starting up.
      --
      -- The start-up result is done.
      May 17 19:23:27 ad samba[1828]: [2019/05/17 19:23:27.099472, 0] ../lib/util/util_runcmd.c:316(samba_runcmd_io_handler)
      May 17 19:23:27 ad samba[1828]: /usr/sbin/samba_kcc: ldb_wrap open of secrets.ldb


      If I disable Direcotry Service , SMB/CIFS started sucessfully.

      Not able to understand it. Can anyone guide me to help.
    • After doing same chagnes ===>

      -- Unit smbd.service has begun starting up.
      May 19 12:24:01 openmediavault smbd[9540]: [2019/05/19 12:24:01.354291, 0] ../source3/passdb/pdb_ldap_util.c:313(smbldap_search_domain_info)
      May 19 12:24:01 openmediavault smbd[9540]: smbldap_search_domain_info: Adding domain info for OPENMEDIAVAULT failed with NT_STATUS_UNSUCCESSFUL
      May 19 12:24:01 openmediavault smbd[9540]: [2019/05/19 12:24:01.354394, 0] ../source3/passdb/pdb_ldap.c:6540(pdb_ldapsam_init_common)
      May 19 12:24:01 openmediavault smbd[9540]: pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain. We cannot work reliably
      without it.
      May 19 12:24:01 openmediavault smbd[9540]: [2019/05/19 12:24:01.354420, 0] ../source3/passdb/pdb_interface.c:180(make_pdb_method_name)
      May 19 12:24:01 openmediavault smbd[9540]: pdb backend ldapsam:ldap://192.168.1.180:389 did not correctly init (error was NT_STATUS_CANT_ACCESS_DOM
      AIN_INFO)
      May 19 12:24:01 openmediavault systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
      May 19 12:24:01 openmediavault 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 19 12:24:01 openmediavault systemd[1]: smbd.service: Unit entered failed state.
      May 19 12:24:01 openmediavault systemd[1]: smbd.service: Failed with result 'exit-code'.