FreeIPA-客户端 sssd.service warning/failure

FreeIPA-Client sssd.service warning/failure

此警告是在 ubuntu.

中安装 ipa-client 时出现的
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.

安装后无法启动服务(请参考下文)enter code here

â— sssd.service - System Security Services Daemon
   Loaded: loaded (/lib/systemd/system/sssd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2017-10-08 23:25:12 ; 36s ago
 Main PID: 3500 (code=exited, status=4)

: Starting System Security Services Daemon...
: Configuration file: /etc/sssd/sssd.conf does not exist.
: sssd.service: Main process exited, code=exited, status=4/NOPERMISSION
: Failed to start System Security Services Daemon.
: sssd.service: Unit entered failed state.
: sssd.service: Failed with result 'exit-code'.

并且在配置 ipa 时 - ipa-client-install

Joining realm failed: libcurl failed to execute the HTTP POST transaction, explaining:  SSL certificate problem: certificate is not yet valid

Installation failed. Rolling back changes.
IPA client is not configured on this system.

有人可以帮我解决这个问题吗?

我找到了解决方案,为什么它在加入 IPA 服务器时失败。实际上这是由于服务器和客户端之间的 日期和时间