diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-02-01 16:10:19 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-02-15 07:34:55 -0500 |
commit | ee59229e1227abe20bf4952919a2e919ed58172c (patch) | |
tree | a88a472b452fc2e9fe9430d51be138da2c9d21c9 /contrib/sssd.spec.in | |
parent | f30072b92b45d2464d4a3ab7e3409073f5b473ab (diff) | |
download | sssd-ee59229e1227abe20bf4952919a2e919ed58172c.tar.gz sssd-ee59229e1227abe20bf4952919a2e919ed58172c.tar.xz sssd-ee59229e1227abe20bf4952919a2e919ed58172c.zip |
sss_obfuscate fixes
Make the domain argument mandatory in sss_obfuscate
It doesn't make sense to set a "default" domain. We should require
that the domain always be specified.
Gracefully handle permission errors in sss_obfuscate
Make SSSDConfig API configuration readable
Previously, only root could read these files, but it makes sense
to allow non-root users to prototype sssd.conf files.
removing password option functionality
Diffstat (limited to 'contrib/sssd.spec.in')
-rw-r--r-- | contrib/sssd.spec.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 48c0ddd51..c08633a0e 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -136,8 +136,8 @@ make install DESTDIR=$RPM_BUILD_ROOT # Copy default sssd.conf file mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sssd install -m600 src/examples/sssd.conf $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.conf -install -m400 src/config/etc/sssd.api.conf $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.api.conf -install -m400 src/config/etc/sssd.api.d/* $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.api.d/ +install -m444 src/config/etc/sssd.api.conf $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.api.conf +install -m444 src/config/etc/sssd.api.d/* $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.api.d/ # Copy default logrotate file mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d @@ -184,12 +184,12 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %dir %{pubconfpath} %attr(700,root,root) %dir %{pipepath}/private %attr(750,root,root) %dir %{_var}/log/%{name} -%attr(700,root,root) %dir %{_sysconfdir}/sssd +%attr(711,root,root) %dir %{_sysconfdir}/sssd %config(noreplace) %{_sysconfdir}/sssd/sssd.conf %config(noreplace) %{_sysconfdir}/logrotate.d/sssd %config(noreplace) %{_sysconfdir}/rwtab.d/sssd %config %{_sysconfdir}/sssd/sssd.api.conf -%attr(700,root,root) %dir %{_sysconfdir}/sssd/sssd.api.d +%attr(755,root,root) %dir %{_sysconfdir}/sssd/sssd.api.d %config %{_sysconfdir}/sssd/sssd.api.d/ %{_mandir}/man5/sssd.conf.5* %{_mandir}/man5/sssd-ipa.5* |