Why is my sssd.conf file missing after installing sssd?
Solution 1:
There is an example sssd.conf at /usr/share/doc/sssd/examples/sssd-example.conf
. You can copy it with:
sudo cp /usr/share/doc/sssd/examples/sssd-example.conf /etc/sssd/sssd.conf
[UPDATE] In Ubuntu Server 14.04, the default file is located at
/usr/share/doc/sssd-common/examples/sssd-example.conf
resulting in a new command of:
sudo cp /usr/share/doc/sssd-common/examples/sssd-example.conf /etc/sssd/sssd.conf
In general, you'll want to look for an sssd
subdirectory in /usr/share/doc
that has an example .conf file somewhere in it, and copy that file to /etc/sssd/sssd.conf
.
Solution 2:
[UPDATE] In Ubuntu Server 14.04, the default file is located at/usr/share/doc/sssd-common/examples/sssd-example.conf
resulting in a new command ofsudo cp /usr/share/doc/sssd-common/examples/sssd-example.conf /etc/sssd/sssd.conf