Bug 67101 - Default sssd.conf in debian
Summary: Default sssd.conf in debian
Status: RESOLVED NOTOURBUG
Alias: None
Product: realmd
Classification: Unclassified
Component: realmd (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Stef Walter
QA Contact: yelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-19 19:56 UTC by Laurent Bigonville
Modified: 2013-07-23 10:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
sssd.conf (758 bytes, text/plain)
2013-07-19 19:56 UTC, Laurent Bigonville
Details

Description Laurent Bigonville 2013-07-19 19:56:43 UTC
Created attachment 82705 [details]
sssd.conf

Hi,

When using realm command line to join a domain, sssd package is being installed by packagekit. In the postinstall script of the package, a default /etc/sssd/sssd.conf is created.

Realm is complaining about that:
 ! Failed to enroll machine in realm: Already have domain bigon.be in sssd.conf config file
realm: Couldn't join realm: Failed to enroll machine in realm. See diagnostics.
Comment 1 Stef Walter 2013-07-22 12:16:22 UTC
This looks like a downstream Debian packaging bug to me.

A default section in the sssd.conf should not be created unless the domain has actually been joined. If the sssd Debian package wishes to create an example, it should do so in an sssd.conf.example file or perhaps a commented out section.

If the domain has actually been joined/configured, then realmd is producing the right response here. You cannot join a domain that has already been configured/joined on the local machine.

Closing. But please reopen if you think I've misunderstood, or there is something realmd can do better.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.