[authconfig/f14/master] - netgroups are now supported by sssd
Tomáš Mráz
tmraz at fedoraproject.org
Thu Sep 16 13:15:01 UTC 2010
commit 200e3c2eff963cdd95a3e77b2db6d900b0f49fa6
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date: Thu Sep 16 15:14:55 2010 +0200
- netgroups are now supported by sssd
authconfig-6.1.9-netgroups.patch | 21 +++++++++++++++++++++
authconfig.spec | 7 ++++++-
2 files changed, 27 insertions(+), 1 deletions(-)
---
diff --git a/authconfig-6.1.9-netgroups.patch b/authconfig-6.1.9-netgroups.patch
new file mode 100644
index 0000000..7a34366
--- /dev/null
+++ b/authconfig-6.1.9-netgroups.patch
@@ -0,0 +1,21 @@
+diff -up authconfig-6.1.9/authinfo.py.netgroups authconfig-6.1.9/authinfo.py
+--- authconfig-6.1.9/authinfo.py.netgroups 2010-09-15 15:05:08.000000000 +0200
++++ authconfig-6.1.9/authinfo.py 2010-09-16 13:55:37.000000000 +0200
+@@ -3080,6 +3080,8 @@ class AuthInfo:
+ if self.enableDBbind:
+ normal += " dbbind"
+
++ netgroup = normal
++
+ # Generate the list for users and groups. The same as most other
+ # services, just use "compat" instead of "files" if "compat" is
+ # enabled.
+@@ -3142,7 +3144,7 @@ class AuthInfo:
+ elif matchLine(ls, "netgroup:"):
+ if not wrotenetgroup:
+ output += "netgroup: "
+- output += normal
++ output += netgroup
+ output += "\n"
+ wrotenetgroup = True
+ # If it's a 'automount' line, insert ours instead.
diff --git a/authconfig.spec b/authconfig.spec
index a13c014..0227c82 100644
--- a/authconfig.spec
+++ b/authconfig.spec
@@ -1,13 +1,14 @@
Summary: Command line tool for setting up authentication from network services
Name: authconfig
Version: 6.1.9
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
ExclusiveOS: Linux
Group: System Environment/Base
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.9-netgroups.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
@@ -34,6 +35,7 @@ authentication schemes.
%prep
%setup -q -n %{name}-%{version}
+%patch1 -p1 -b .netgroups
%build
CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS
@@ -110,6 +112,9 @@ authconfig --update --nostart >/dev/null 2>&1 || :
%{_datadir}/icons/hicolor/48x48/apps/system-config-authentication.*
%changelog
+* Thu Sep 17 2010 Tomas Mraz <tmraz at redhat.com> - 6.1.9-2
+- netgroups are now supported by sssd
+
* Tue Sep 15 2010 Tomas Mraz <tmraz at redhat.com> - 6.1.9-1
- removed support for setting up pam_smb_auth authentication - long
ago deprecated
More information about the scm-commits
mailing list