[authconfig] if remote auth is not called due to low uid warn about it in syslog (#753161)

Tomáš Mráz tmraz at fedoraproject.org
Tue Nov 15 09:35:47 UTC 2011


commit 663c2fa422bf0afdd7e340af0b81443e4dcb2158
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date:   Tue Nov 15 10:35:41 2011 +0100

    if remote auth is not called due to low uid warn about it in syslog (#753161)

 authconfig-6.1.16-warn-low-uid.patch |   19 +++++++++++++++++++
 authconfig.spec                      |    7 ++++++-
 2 files changed, 25 insertions(+), 1 deletions(-)
---
diff --git a/authconfig-6.1.16-warn-low-uid.patch b/authconfig-6.1.16-warn-low-uid.patch
new file mode 100644
index 0000000..168612e
--- /dev/null
+++ b/authconfig-6.1.16-warn-low-uid.patch
@@ -0,0 +1,19 @@
+# HG changeset patch
+# User Tomas Mraz <tmraz at redhat.com>
+# Date 1321349519 -3600
+# Node ID ad8ac2ee62d2d9e821de91f5bc4bd2195ef166c4
+# Parent  dc8723ac744d4f262ea7f45d670915f21df9ad8a
+If remote auth is not called due to low uid warn about it in syslog. (#753161)
+
+diff -r dc8723ac744d -r ad8ac2ee62d2 authinfo.py
+--- a/authinfo.py	Fri Nov 04 22:31:56 2011 +0100
++++ b/authinfo.py	Tue Nov 15 10:31:59 2011 +0100
+@@ -342,7 +342,7 @@
+ argv_succeed_if_auth = [
+ 	"uid >=",
+ 	"500", # this must be the second arg - to be replaced
+-	"quiet"
++	"quiet_success"
+ ]
+ 
+ argv_succeed_if_account = [
diff --git a/authconfig.spec b/authconfig.spec
index 8218f5f..823366d 100644
--- a/authconfig.spec
+++ b/authconfig.spec
@@ -1,7 +1,7 @@
 Summary: Command line tool for setting up authentication from network services
 Name: authconfig
 Version: 6.1.16
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+
 ExclusiveOS: Linux
 Group: System Environment/Base
@@ -9,6 +9,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 URL: https://fedorahosted.org/authconfig
 Source: https://fedorahosted.org/releases/a/u/%{name}/%{name}-%{version}.tar.bz2
 Patch1: authconfig-6.1.16-initgroups.patch
+Patch2: authconfig-6.1.16-warn-low-uid.patch
 Requires: newt-python, pam >= 0.99.10.0, python
 Conflicts: pam_krb5 < 1.49, samba-common < 3.0, samba-client < 3.0
 Conflicts: nss_ldap < 254, sssd < 0.99.1
@@ -36,6 +37,7 @@ authentication schemes.
 %prep
 %setup -q -n %{name}-%{version}
 %patch1 -p 1 -b .initgroups
+%patch2 -p 1 -b .low-uid
 
 %build
 CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS
@@ -126,6 +128,9 @@ authconfig --update --nostart >/dev/null 2>&1 || :
 %{_datadir}/icons/hicolor/256x256/apps/system-config-authentication.*
 
 %changelog
+* Tue Nov 15 2011 Tomas Mraz <tmraz at redhat.com> - 6.1.16-3
+- if remote auth is not called due to low uid warn about it in syslog (#753161)
+
 * Fri Nov  4 2011 Tomas Mraz <tmraz at redhat.com> - 6.1.16-2
 - accommodate the addition of initgroups entry in nsswitch.conf (#750388)
 


More information about the scm-commits mailing list