Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm new to linux and decided to play around with building a server to learn more. I have been following the following guide: http://www.danbishop.org/2012/06/02/ubuntu-12-04-ultimate-server-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

share|improve this question

2 Answers 2

up vote 6 down vote accepted

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
share|improve this answer
1  
Thank you. That sort of helps. I can copy it over. But, shouldn't it have been created when sssd was installed? What might have prevented that from happening? –  Robert Jan 26 '13 at 17:49
    
The file isn't in the deb-package and the only thing dpkg does at installations is unpacking deb-packages ;) Try it yourself: Open a *.deb at /var/cache/apt/archives/ with for example file-roller. –  lub Jan 26 '13 at 18:08
    
Well, it makes sense that it would be missing then. Now to figure out what I missed. Thanks. –  Robert Jan 26 '13 at 18:11
    
@Robert Please mark my answer as the right, if you think it is ;) –  lub Jan 26 '13 at 22:23

[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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.