|
Bugzilla – Full Text Bug Listing |
| Summary: | yast2 ldap-client creates invalid sssd.conf when "Do Not Use LDAP" is selected | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.4 | Reporter: | Ralf Haferkamp <ralf> |
| Component: | YaST2 | Assignee: | Jiří Suchomel <jsuchome> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Milestone 5 of 6 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Ralf Haferkamp
2011-01-07 10:40:33 UTC
In latest package, I do not write the file when it is not present. Is it good enough? (In reply to comment #1) > In latest package, I do not write the file when it is not present. Is it good > enough? Yes, I guess so. Though the main reasons why it was working were: - sssd.conf needs to be 0600 (it might contain cleartext secrets, or cleartext equivalents). SSSD checks that upon startup and refuses to start if the file is not 0600. YaST created that file as 0644. - the [sssd] section missed the line: config_file_version = 2 yast2-ldap-client should probably check the above conditions, always when writing sssd.conf. (In reply to comment #2) > (In reply to comment #1) > > In latest package, I do not write the file when it is not present. Is it good > > enough? > Yes, I guess so. Though the main reasons why it was working were: > > - sssd.conf needs to be 0600 (it might contain cleartext secrets, or cleartext > equivalents). SSSD checks that upon startup and refuses to start if the file is > not 0600. YaST created that file as 0644. > > - the [sssd] section missed the line: > config_file_version = 2 > > yast2-ldap-client should probably check the above conditions, always when > writing sssd.conf. I don't think check for permission is needed, when I ensure that YaST writes only into existing file. If the file exists, it was created by sssd package with correct permissions. If they were still wrong, user must have changed them manually, which is bad, but YaST should not argue about it. |