SSSD Ubuntu 16.04 加入 WIndows 2012 域

SSSD Ubuntu 16.04 加入 WIndows 2012 域

我是 Linux 新手。我正尝试将 Ubuntu 16.04 服务器加入 Windows 域。我遇到了本文。我使用了一篇针对 14.04 的类似文章,几乎没有出现问题。

当我运行时,sudo apt install krb5-user samba sssd ntp我收到错误消息:

adduser: Warning: The home directory `/var/lib/sss' does not belong to the user                                                           you are currently creating.
Warning: found usr.sbin.sssd in /etc/apparmor.d/force-complain, forcing complain                                                           mode
Warning failed to create cache: usr.sbin.sssd
Job for sssd.service failed because the control process exited with error code.                                                           See "systemctl status sssd.service" and "journalctl -xe" for details.
sssd.service couldn't start.

我不知道为什么会发生这种情况。

答案1

我为它创建了一个脚本。给你!https://github.com/PierreGoude/Linux-Active-Directory-join-script

相关内容