我正在尝试使用 Samba 设置 Ubuntu 活动目录域控制器。我安装了 Samba 并对其进行了配置。当我启动 smbd.service 时,它失败并显示“smbd.service 的作业失败,因为控制进程以错误代码退出。”
Feb 08 15:52:38 samba-01.lab.dev systemd[1]: Starting Samba SMB Daemon... Feb 08 15:52:38 samba-01.lab.dev smbd[8634]: [2020/02/08 15:52:38.255684, 0] ../source3/smbd/server.c:1803(main) Feb 08 15:52:38 samba-01.lab.dev smbd[8634]: server role = 'active directory domain controller' not compatible with running smbd standalone. Feb 08 15:52:38 samba-01.lab.dev smbd[8634]: You should start 'samba' instead, and it will control starting smbd if required Feb 08 15:52:38 samba-01.lab.dev systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE Feb 08 15:52:38 samba-01.lab.dev systemd[1]: smbd.service: Failed with result 'exit-code'. Feb 08 15:52:38 samba-01.lab.dev systemd[1]: Failed to start Samba SMB Daemon.
关于如何让它工作,有什么建议吗?