Why is my sssd.conf file missing after installing sssd?

I'm new to linux and decided to play around with building a server to learn more. I have been following the following guide: Everything has been going well. I have a functioning Kerberos Realm, and DNS and DHCP are working great. But, I installed SSSD and I have no /etc/sssd/sssd.conf file. I noticed when SSSD was installing it showed

Setting up sssd (1.8.2-0ubuntu1) …
start: Job failed to start
invoke-rc.d: initscript sssd, action “start” failed.
… because /etc/sssd/sssd.conf is not available yet
Setting up libpam-sss (1.8.2-0ubuntu1) …

Any thoughts as to why I don't have an /etc/sssd/sssd.conf file? I did find a /etc/init/sssd.conf file. But, that doesn't appear to be what I need. I'm running Ubuntu 12.04 Server. I must be missing something. Thank you

2 Answers

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.confresulting 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.

4

[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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like