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 - 6.1.9-2 +- netgroups are now supported by sssd + * Tue Sep 15 2010 Tomas Mraz - 6.1.9-1 - removed support for setting up pam_smb_auth authentication - long ago deprecated