Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSSD-1.15 - config-check: Message when sssd.conf is missing #196

Closed

Conversation

mzidek-gh
Copy link
Contributor

SSSD 1.15 version for patch recently pushed to 1.14.

sssctl config-check should print a message for user
if no sssd.conf was found.

Resolves:
https://pagure.io/SSSD/sssd/issue/3330

sssctl config-check should print a message for user
if no sssd.conf was found.

Resolves:
https://pagure.io/SSSD/sssd/issue/3330
if (ret != EOK) {
if (ret == ENOENT) {
PRINT("File %1$s does not exist. Default configuration will be "
"generated on next SSSD startup.\n", SSSD_CONFIG_FILE);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just confd is generated on startup; /etc/sssd/sssd.conf is not generated

Print different message when SSSD was configured with
--enable-files-domain.

Resolves:
https://pagure.io/SSSD/sssd/issue/3330
@mzidek-gh mzidek-gh force-pushed the sssctl-config-check-no-sssd.conf-1-15 branch from a44a1d8 to 99c3000 Compare March 15, 2017 14:51
@mzidek-gh
Copy link
Contributor Author

I just realized that the message needs to be printed conditionally only if SSSD was configured with --enable-files-domain . I tested it in both cases. Also no longer use the word "generated", because as Lukas mentioned it is not really what is happening.

@lslebodn
Copy link
Contributor

lslebodn commented Mar 15, 2017 via email

@mzidek-gh
Copy link
Contributor Author

Sorry, I do not understand your last comment. Can you please summarize it in an pagure issue? I am little bit confused (but if I understand it correctly it does not affect the PR, right?)

I did not update the patches, please tell me if you think I should.

@lslebodn
Copy link
Contributor

lslebodn commented Mar 16, 2017 via email

@mzidek-gh
Copy link
Contributor Author

Thank you for summarizing it in the pagure issues. is it OK, if I send patches for the issues you mentioned in this PR as part of the review process?

@lslebodn
Copy link
Contributor

master:

sssd-1-14:

@lslebodn lslebodn closed this Apr 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants