I am attempting to authenticate my Ubuntu 16.04 server to an AD but having trouble loading SSSD. My sssd.conf file looks like this:
[sssd]
services = nss, pam
config_file_version = 2
domains = MYDOMAIN.LOCAL
id_provider = ad
access_provider = ad
override_homedir = /home/%d/%u
It is owned by root:root and file permission is set to 600. When attempting to start SSSD, systemctl reports the following:
● sssd.service - System Security Services Daemon
Loaded: loaded (/lib/systemd/system/sssd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2016-06-03 08:06:46 EDT; 9s ago
Process: 6979 ExecStart=/usr/sbin/sssd -D -f (code=exited, status=4)
Jun 03 08:06:46 tempsvr systemd[1]: Starting System Security Services Daemon...
Jun 03 08:06:46 tempsvr sssd[6979]: SSSD couldn't load the configuration database [2]: No such file or directory.
Jun 03 08:06:46 tempsvr systemd[1]: sssd.service: Control process exited, code=exited status=4
Jun 03 08:06:46 tempsvr systemd[1]: Failed to start System Security Services Daemon.
Jun 03 08:06:46 tempsvr systemd[1]: sssd.service: Unit entered failed state.
Jun 03 08:06:46 tempsvr systemd[1]: sssd.service: Failed with result 'exit-code'.
Am I overlooking something? Thanks!!
I ran into a similar problem when upgrading to 16.04. I can't tell you what the source of your problem is but the following will provide a lot more useful information to help figure it out:
$ sudo sssd -d9 -i
This question is too old, yet I'm posting this because I run into the same issue (identical error logs) recently after upgrading from Ubuntu 20.04 to Ubuntu 20.10. The problem, in my case, was a missing configuration file on /etc/sssd/sssd.conf
.
Check the existence of that configuration file. If the file is missing, try this:
$ sudo cp /usr/lib/x86_64-linux-gnu/sssd/conf/sssd.conf /etc/sssd/
$ sudo chmod 600 /etc/sssd/sssd.conf
And don't forget to restart the service afterwards: sudo systemctl restart sssd.service
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With