Stephen Gallagher 2009-12-21 20:39:34 +00:00
parent f5d8b9bca4
commit d9fd9eee1e
2 changed files with 55 additions and 1 deletions

47
cfg_dbg_timestamps.patch Normal file
View File

@ -0,0 +1,47 @@
From a79fed1bece2e33759546f97ce0f22af3745ac80 Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgallagh@redhat.com>
Date: Mon, 21 Dec 2009 13:03:03 -0500
Subject: [PATCH] Allow debug_timestamps setting on a per-domain basis
This was missing from the SSSDConfig API, though it was supported
by the daemon.
---
server/config/SSSDConfigTest.py | 2 ++
server/config/etc/sssd.api.conf | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/server/config/SSSDConfigTest.py b/server/config/SSSDConfigTest.py
index f893d98..1e79342 100755
--- a/server/config/SSSDConfigTest.py
+++ b/server/config/SSSDConfigTest.py
@@ -372,6 +372,7 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
options = domain.list_options()
control_list = [
'debug_level',
+ 'debug_timestamps',
'min_id',
'max_id',
'timeout',
@@ -586,6 +587,7 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
options = domain.list_options()
control_list = [
'debug_level',
+ 'debug_timestamps',
'min_id',
'max_id',
'timeout',
diff --git a/server/config/etc/sssd.api.conf b/server/config/etc/sssd.api.conf
index c8ddae4..bdb6aab 100644
--- a/server/config/etc/sssd.api.conf
+++ b/server/config/etc/sssd.api.conf
@@ -42,6 +42,7 @@ chpass_provider = str, None
[domain]
# Options available to all domains
debug_level = int, None, 0
+debug_timestamps = bool, None
command = str, None
min_id = int, None, 1000
max_id = int, None
--
1.6.5.2

View File

@ -3,7 +3,7 @@
Name: sssd
Version: 1.0.0
Release: 1%{?dist}
Release: 2%{?dist}
Group: Applications/System
Summary: System Security Services Daemon
# The entire source code is GPLv3+ except replace/ which is LGPLv3+
@ -12,6 +12,8 @@ URL: http://fedorahosted.org/sssd
Source: https://fedorahosted.org/released/sssd/sssd-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Patch1: cfg_dbg_timestamps.patch
### Patches ###
### Dependencies ###
@ -78,6 +80,7 @@ service.
%prep
%setup -q
%patch1 -p1 -b .cfg_dbg_timestamps
%build
NSS_LIBS=-lnss3 \
@ -205,6 +208,10 @@ fi
%postun client -p /sbin/ldconfig
%changelog
* Mon Dec 21 2009 Stephen Gallagher <sgallagh@redhat.com> - 1.0.0-2
- Patch SSSDConfig API to address
- https://bugzilla.redhat.com/show_bug.cgi?id=549482
* Fri Dec 18 2009 Stephen Gallagher <sgallagh@redhat.com> - 1.0.0-1
- New upstream stable release 1.0.0