Nalin Dahyabhai ca9ea0c
%if 0%{?fedora} > 15 || 0%{?rhel} > 6
Nalin Dahyabhai ca9ea0c
%global systemd 1
Nalin Dahyabhai ca9ea0c
%global sysvinit 0
Nalin Dahyabhai ca9ea0c
%else
Nalin Dahyabhai ca9ea0c
%global systemd 0
Nalin Dahyabhai ca9ea0c
%global sysvinit 1
Nalin Dahyabhai ca9ea0c
%endif
Nalin Dahyabhai ca9ea0c
Nalin Dahyabhai ca9ea0c
%if 0%{?fedora} > 14 || 0%{?rhel} > 6
Nalin Dahyabhai ca9ea0c
%global tmpfiles 1
Nalin Dahyabhai ca9ea0c
%else
Nalin Dahyabhai ca9ea0c
%global tmpfiles 0
Nalin Dahyabhai ca9ea0c
%endif
Nalin Dahyabhai ca9ea0c
97ba04a
Name:		nss-pam-ldapd
1e1125a
Version:	0.7.16
805956a
Release:	2%{?dist}
97ba04a
Summary:	An nsswitch module which uses directory servers
97ba04a
Group:		System Environment/Base
97ba04a
License:	LGPLv2+
97ba04a
URL:		http://arthurdejong.org/nss-pam-ldapd/
97ba04a
Source0:	http://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-%{version}.tar.gz
97ba04a
Source1:	http://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-%{version}.tar.gz.sig
97ba04a
Source2:	nslcd.init
c2236c0
Source3:	nslcd.tmpfiles
Nalin Dahyabhai ca9ea0c
Source4:	nslcd.service
Nalin Dahyabhai 2e65cf1
Patch1:		nss-pam-ldapd-0.7.13-validname.patch
Nalin Dahyabhai 8bc2efd
Patch2:		nss-pam-ldapd-0.7.x-dnssrv.patch
f92f860
Patch3:		nss-pam-ldapd-0.7.x-uid-overflow.patch
0ae6295
Patch4:		nss-pam-ldapd-0.7.x-epipe.patch
805956a
Patch5:		nss-pam-ldapd-0.7.16-skipall.patch
97ba04a
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
97ba04a
BuildRequires:	openldap-devel, krb5-devel
Nalin Dahyabhai 2e65cf1
BuildRequires:	autoconf, automake
97ba04a
Obsoletes:	nss-ldapd < 0.7
97ba04a
Provides:	nss-ldapd = %{version}-%{release}
97ba04a
Nalin Dahyabhai 51b8826
# Pull in the pam_ldap module, which is its own package in F14 and later, to
97ba04a
# keep upgrades from removing the module.  We currently disable nss-pam-ldapd's
97ba04a
# own pam_ldap.so until it's more mature.
Nalin Dahyabhai 51b8826
Requires:	pam_ldap%{?_isa}
8dc515f
# Pull in nscd, which is recommended.
8dc515f
Requires:	nscd
Nalin Dahyabhai ca9ea0c
%if %{sysvinit}
97ba04a
Requires(post):		/sbin/ldconfig, chkconfig, grep, sed
97ba04a
Requires(preun):	chkconfig, initscripts
97ba04a
Requires(postun):	/sbin/ldconfig, initscripts
Nalin Dahyabhai ca9ea0c
%endif
Nalin Dahyabhai ca9ea0c
%if %{systemd}
Nalin Dahyabhai ca9ea0c
BuildRequires:	systemd-units
Nalin Dahyabhai ca9ea0c
Requires(post):	systemd-units
Nalin Dahyabhai ca9ea0c
Requires(preun):	systemd-units
Nalin Dahyabhai ca9ea0c
Requires(postun):	systemd-units
Nalin Dahyabhai ca9ea0c
Requires(post):	systemd-sysv
Nalin Dahyabhai ca9ea0c
%endif
97ba04a
97ba04a
%description
97ba04a
The nss-pam-ldapd daemon, nslcd, uses a directory server to look up name
97ba04a
service information (users, groups, etc.) on behalf of a lightweight
97ba04a
nsswitch module.
97ba04a
97ba04a
%prep
97ba04a
%setup -q
Nalin Dahyabhai 2e65cf1
%patch1 -p0 -b .validname
Nalin Dahyabhai 8bc2efd
%patch2 -p1 -b .dnssrv
f92f860
%patch3 -p1 -b .overflow
0ae6295
%patch4 -p1 -b .epipe
805956a
%patch5 -p1 -b .skipall
Nalin Dahyabhai 2e65cf1
autoreconf -f -i
97ba04a
97ba04a
%build
97ba04a
%configure --libdir=/%{_lib} --disable-pam
97ba04a
make %{?_smp_mflags}
97ba04a
Nalin Dahyabhai f2c5e44
%check
Nalin Dahyabhai f2c5e44
make check
Nalin Dahyabhai f2c5e44
97ba04a
%install
97ba04a
rm -rf $RPM_BUILD_ROOT
97ba04a
make install DESTDIR=$RPM_BUILD_ROOT
Nalin Dahyabhai ca9ea0c
mkdir -p $RPM_BUILD_ROOT/{%{_initddir},%{_libdir},lib/systemd/system}
Nalin Dahyabhai ca9ea0c
%if %{sysvinit}
97ba04a
install -p -m755 %{SOURCE2} $RPM_BUILD_ROOT/%{_initddir}/nslcd
Nalin Dahyabhai ca9ea0c
%endif
Nalin Dahyabhai ca9ea0c
%if %{systemd}
Nalin Dahyabhai ca9ea0c
install -p -m755 %{SOURCE4} $RPM_BUILD_ROOT/lib/systemd/system/
Nalin Dahyabhai ca9ea0c
%endif
Nalin Dahyabhai de2b044
%if 0%{?fedora} > 13 || 0%{?rhel} > 5
97ba04a
# Follow glibc's convention and provide a .so symlink so that people who know
97ba04a
# what to expect can link directly with the module.
97ba04a
if test %{_libdir} != /%{_lib} ; then
97ba04a
	touch $RPM_BUILD_ROOT/rootfile
97ba04a
	relroot=..
97ba04a
	while ! test -r $RPM_BUILD_ROOT/%{_libdir}/$relroot/rootfile ; do
97ba04a
		relroot=../$relroot
97ba04a
	done
97ba04a
	ln -s $relroot/%{_lib}/libnss_ldap.so.2 \
97ba04a
		$RPM_BUILD_ROOT/%{_libdir}/libnss_ldap.so
97ba04a
	rm $RPM_BUILD_ROOT/rootfile
97ba04a
fi
5892659
%endif
481bf22
sed -i -e 's,^uid.*,uid nslcd,g' -e 's,^gid.*,gid ldap,g' \
481bf22
$RPM_BUILD_ROOT/%{_sysconfdir}/nslcd.conf
97ba04a
touch -r nslcd.conf $RPM_BUILD_ROOT/%{_sysconfdir}/nslcd.conf
ecabfc7
mkdir -p -m 0755 $RPM_BUILD_ROOT/var/run/nslcd
Nalin Dahyabhai ca9ea0c
%if %{tmpfiles}
c2236c0
mkdir -p -m 0755 $RPM_BUILD_ROOT/etc/tmpfiles.d
c2236c0
install -p -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/etc/tmpfiles.d/%{name}.conf
Nalin Dahyabhai ca9ea0c
%endif
97ba04a
97ba04a
%clean
97ba04a
rm -rf $RPM_BUILD_ROOT
97ba04a
97ba04a
%files
97ba04a
%defattr(-,root,root)
97ba04a
%doc AUTHORS ChangeLog COPYING HACKING NEWS README TODO
97ba04a
%{_sbindir}/*
97ba04a
/%{_lib}/*.so.*
97ba04a
%{_mandir}/*/*
Nalin Dahyabhai c2023b7
%attr(0600,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/nslcd.conf
Nalin Dahyabhai ca9ea0c
%if %{tmpfiles}
c2236c0
%attr(0644,root,root) %config(noreplace) /etc/tmpfiles.d/%{name}.conf
Nalin Dahyabhai ca9ea0c
%endif
Nalin Dahyabhai ca9ea0c
%if %{sysvinit}
97ba04a
%attr(0755,root,root) %{_initddir}/nslcd
Nalin Dahyabhai ca9ea0c
%endif
Nalin Dahyabhai ca9ea0c
%if %{systemd}
Nalin Dahyabhai ca9ea0c
%config(noreplace) /lib/systemd/system/*
Nalin Dahyabhai ca9ea0c
%endif
97ba04a
%attr(0755,nslcd,root) /var/run/nslcd
Nalin Dahyabhai 9dca1a2
%if 0%{?fedora} > 13 || 0%{?rhel} > 5
5892659
# This would be the only thing in the -devel subpackage, so we include it.  It
5892659
# will conflict with nss_ldap, so only include it for releases where pam_ldap is
5892659
# its own package.
97ba04a
/%{_libdir}/*.so
5892659
%endif
97ba04a
97ba04a
%pre
97ba04a
getent group  ldap  > /dev/null || \
97ba04a
/usr/sbin/groupadd -r -g 55 ldap
97ba04a
getent passwd nslcd > /dev/null || \
97ba04a
/usr/sbin/useradd -r -g ldap -c 'LDAP Client User' \
97ba04a
    -u 65 -d / -s /sbin/nologin nslcd 2> /dev/null || :
97ba04a
97ba04a
%post
97ba04a
# The usual stuff.
Nalin Dahyabhai ca9ea0c
%if %{sysvinit}
97ba04a
/sbin/chkconfig --add nslcd
Nalin Dahyabhai ca9ea0c
%endif
Nalin Dahyabhai ca9ea0c
%if %{systemd}
Nalin Dahyabhai ca9ea0c
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
Nalin Dahyabhai ca9ea0c
%endif
97ba04a
/sbin/ldconfig
97ba04a
# Import important non-default settings from nss_ldap or pam_ldap configuration
97ba04a
# files, but only the first time this package is installed.
97ba04a
comment="This comment prevents repeated auto-migration of settings."
97ba04a
if test -s /etc/nss-ldapd.conf ; then
97ba04a
	source=/etc/nss-ldapd.conf
97ba04a
elif test -s /etc/nss_ldap.conf ; then
97ba04a
	source=/etc/nss_ldap.conf
97ba04a
elif test -s /etc/pam_ldap.conf ; then
97ba04a
	source=/etc/pam_ldap.conf
97ba04a
else
97ba04a
	source=/etc/ldap.conf
97ba04a
fi
97ba04a
target=/etc/nslcd.conf
Nalin Dahyabhai ac1292b
if test "$1" -eq "1" && ! grep -q -F "# $comment" $target 2> /dev/null ; then
97ba04a
	# Try to make sure we only do this the first time.
97ba04a
	echo "# $comment" >> $target
805956a
	if grep -E -q '^uri[[:blank:]]' $source 2> /dev/null ; then
97ba04a
		# Comment out the packaged default host/uri and replace it...
97ba04a
		sed -i -r -e 's,^((host|uri)[[:blank:]].*),# \1,g' $target
97ba04a
		# ... with the uri.
805956a
		grep -E '^uri[[:blank:]]' $source >> $target
805956a
	elif grep -E -q '^host[[:blank:]]' $source 2> /dev/null ; then
97ba04a
		# Comment out the packaged default host/uri and replace it...
97ba04a
		sed -i -r -e 's,^((host|uri)[[:blank:]].*),# \1,g' $target
97ba04a
		# ... with the "host" reformatted as a URI.
97ba04a
		scheme=ldap
97ba04a
		# check for 'ssl on', which means we want to use ldaps://
805956a
		if grep -E -q '^ssl[[:blank:]]+on$' $source 2> /dev/null ; then
97ba04a
			scheme=ldaps
97ba04a
		fi
805956a
		grep -E '^host[[:blank:]]' $source |\
97ba04a
		sed -r -e "s,^host[[:blank:]](.*),uri ${scheme}://\1/,g" >> $target
97ba04a
	fi
97ba04a
	# Base doesn't require any special logic.
805956a
	if grep -E -q '^base[[:blank:]]' $source 2> /dev/null ; then
97ba04a
		# Comment out the packaged default base and replace it.
97ba04a
		sed -i -r -e 's,^(base[[:blank:]].*),# \1,g' $target
805956a
		grep -E '^base[[:blank:]]' $source >> $target
97ba04a
	fi
97ba04a
	# Pull in these settings, if they're set, directly.
805956a
	grep -E '^(binddn|bindpw|port|scope|ssl|pagesize)[[:blank:]]' $source 2> /dev/null >> $target
805956a
	grep -E '^(tls_)' $source 2> /dev/null >> $target
805956a
	grep -E '^(timelimit|bind_timelimit|idle_timelimit)[[:blank:]]' $source 2> /dev/null >> $target
97ba04a
fi
97ba04a
# If this is the first time we're being installed, and the system is already
97ba04a
# configured to use LDAP as a naming service, enable the daemon, but don't
97ba04a
# start it since we can never know if that's a safe thing to do.  If this
97ba04a
# is an upgrade, leave the user's runlevel selections alone.
97ba04a
if [ "$1" -eq "1" ]; then
805956a
	if grep -E -q '^USELDAP=yes$' /etc/sysconfig/authconfig 2> /dev/null ; then
Nalin Dahyabhai ca9ea0c
%if %{sysvinit}
97ba04a
		/sbin/chkconfig nslcd on
Nalin Dahyabhai ca9ea0c
%endif
Nalin Dahyabhai ca9ea0c
%if %{systemd}
Nalin Dahyabhai ca9ea0c
		/bin/systemctl --no-reload enable nslcd.service >/dev/null 2>&1 ||:
Nalin Dahyabhai ca9ea0c
%endif
97ba04a
	fi
97ba04a
fi
481bf22
# Earlier versions of 0.7.6 of this package would have included both 'gid
481bf22
# nslcd' (a group which doesn't exist) and 'gid ldap' (which we ensure exists).
481bf22
# If we detect both, fix the configuration.
481bf22
if grep -q '^gid nslcd' $target ; then
481bf22
	if grep -q '^gid ldap' $target ; then
481bf22
		sed -i -e 's,^gid nslcd$,# gid nslcd,g' $target
481bf22
	fi
481bf22
fi
c2236c0
# Create the daemon's /var/run directory if it isn't there.
c2236c0
if ! test -d /var/run/nslcd ; then
c2236c0
	mkdir -p -m 0755 /var/run/nslcd
c2236c0
fi
97ba04a
exit 0
97ba04a
97ba04a
%preun
97ba04a
if [ "$1" -eq "0" ]; then
Nalin Dahyabhai ca9ea0c
%if %{sysvinit}
97ba04a
	/sbin/service nslcd stop >/dev/null 2>&1
97ba04a
	/sbin/chkconfig --del nslcd
Nalin Dahyabhai ca9ea0c
%endif
Nalin Dahyabhai ca9ea0c
%if %{systemd}
Nalin Dahyabhai ca9ea0c
	/bin/systemctl --no-reload disable nslcd.service > /dev/null 2>&1 || :
Nalin Dahyabhai ca9ea0c
	/bin/systemctl stop nslcd.service > /dev/null 2>&1 || :
Nalin Dahyabhai ca9ea0c
%endif
97ba04a
fi
97ba04a
exit 0
97ba04a
97ba04a
%postun
97ba04a
/sbin/ldconfig
Nalin Dahyabhai ca9ea0c
%if %{sysvinit}
97ba04a
if [ "$1" -ge "1" ]; then
97ba04a
	/etc/rc.d/init.d/nslcd condrestart >/dev/null 2>&1
97ba04a
fi
Nalin Dahyabhai ca9ea0c
%endif
Nalin Dahyabhai ca9ea0c
%if %{systemd}
Nalin Dahyabhai ca9ea0c
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
Nalin Dahyabhai ca9ea0c
if [ "$1" -ge "1" ]; then
Nalin Dahyabhai ca9ea0c
	/bin/systemctl try-restart nslcd.service >/dev/null 2>&1
Nalin Dahyabhai ca9ea0c
fi
Nalin Dahyabhai ca9ea0c
%endif
Nalin Dahyabhai ca9ea0c
exit 0
Nalin Dahyabhai ca9ea0c
Nalin Dahyabhai ca9ea0c
%if %{systemd}
Nalin Dahyabhai ca9ea0c
%triggerun -- nss-pam-ldapd < 0.7.13-6
Nalin Dahyabhai ca9ea0c
# Save the current service runlevel info, in case the user wants to apply
Nalin Dahyabhai ca9ea0c
# the enabled status manually later, by running
Nalin Dahyabhai ca9ea0c
#   "systemd-sysv-convert --apply nslcd".
Nalin Dahyabhai ca9ea0c
%{_bindir}/systemd-sysv-convert --save nslcd >/dev/null 2>&1 ||:
Nalin Dahyabhai ca9ea0c
# Do this because the old package's %%postun doesn't know we need to do it.
Nalin Dahyabhai ca9ea0c
/sbin/chkconfig --del nslcd >/dev/null 2>&1 || :
Nalin Dahyabhai ca9ea0c
# Do this because the old package's %%postun wouldn't have tried.
Nalin Dahyabhai ca9ea0c
/bin/systemctl try-restart nslcd.service >/dev/null 2>&1 || :
97ba04a
exit 0
Nalin Dahyabhai ca9ea0c
%endif
97ba04a
97ba04a
%changelog
805956a
* Mon May 14 2012 Jakub Hrozek <jhrozek@redhat.com> 0.7.16-2
805956a
- backport upstream revision r1659 related to broken pipe when
805956a
  requesting a large group
805956a
- use grep -E instead of egrep to avoid rpmlint warnings
805956a
1e1125a
* Sat Apr 28 2012 Jakub Hrozek <jhrozek@redhat.com> 0.7.16-1
1e1125a
- new upstream release 0.7.16
1e1125a
0d57b84
* Thu Mar 15 2012 Jakub Hrozek <jhrozek@redhat.com> 0.7.15-2
0d57b84
- Do not print "Broken Pipe" error message when requesting a large group
0d57b84
6fed55d
* Fri Mar 9 2012 Jakub Hrozek <jhrozek@redhat.com> 0.7.15-1
6fed55d
- new upstream release 0.7.15
6fed55d
2279050
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.14-3
2279050
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2279050
f92f860
* Fri Dec 16 2011 Jakub Hrozek <jhrozek@redhat.com> 0.7.14-2
f92f860
- Do not overflow large UID/GID values on 32bit architectures
f92f860
Nalin Dahyabhai de2b044
* Mon Nov 28 2011 Nalin Dahyabhai <nalin@redhat.com>
Nalin Dahyabhai de2b044
- use the same conditional test for deciding when to create the .so symlink as
Nalin Dahyabhai de2b044
  we do later on for deciding when to include it in the package (#757004)
Nalin Dahyabhai de2b044
ff163e4
* Fri Sep 23 2011 Jakub Hrozek <jhrozek@redhat.com> 0.7.14-1
ff163e4
- new upstream release 0.7.14
ff163e4
- obsoletes nss-pam-ldapd-0.7.x-buffers.patch
Nalin Dahyabhai f2c5e44
Nalin Dahyabhai 8bc2efd
* Wed Aug 24 2011 Nalin Dahyabhai <nalin@redhat.com> 0.7.13-8
Nalin Dahyabhai 8bc2efd
- include backported enhancement to take URIs in the form "dns:DOMAIN" in
Nalin Dahyabhai 8bc2efd
  addition to the already-implemented "dns" (#730309)
Nalin Dahyabhai 8bc2efd
Nalin Dahyabhai ac1292b
* Thu Jul 14 2011 Nalin Dahyabhai <nalin@redhat.com> 0.7.13-7
Nalin Dahyabhai ac1292b
- switch to only munging the contents of /etc/nslcd.conf on the very first
Nalin Dahyabhai ac1292b
  install (#706454)
Nalin Dahyabhai 1100272
- make sure that we have enough space to parse any valid GID value when
Nalin Dahyabhai 1100272
  parsing a user's primary GID (#716822)
Nalin Dahyabhai 2e65cf1
- backport support for the "validnames" option from SVN and use it to allow
Nalin Dahyabhai 2e65cf1
  parentheses characters by modifying the default setting (#690870), then
Nalin Dahyabhai 2e65cf1
  modify the default again to also allow shorter and shorter names to pass
Nalin Dahyabhai 2e65cf1
  muster (#706860)
Nalin Dahyabhai ac1292b
Nalin Dahyabhai ca9ea0c
* Wed Jul 13 2011 Nalin Dahyabhai <nalin@redhat.com> 0.7.13-6
Nalin Dahyabhai ca9ea0c
- convert to systemd-native startup (#716997)
Nalin Dahyabhai ca9ea0c
Nalin Dahyabhai 51b8826
* Mon Jun 13 2011 Nalin Dahyabhai <nalin@redhat.com> 0.7.13-5
Nalin Dahyabhai 51b8826
- change the file path Requires: we have for pam_ldap into a package name
Nalin Dahyabhai 51b8826
  Requires: (#601931)
Nalin Dahyabhai 51b8826
Nalin Dahyabhai c2023b7
* Wed Mar 30 2011 Nalin Dahyabhai <nalin@redhat.com> 0.7.13-4
Nalin Dahyabhai c2023b7
- tag nslcd.conf with %%verify(not md5 size mtime), since we always tweak
Nalin Dahyabhai c2023b7
  it in %%post (#692225)
Nalin Dahyabhai c2023b7
c2236c0
* Tue Mar  1 2011 Nalin Dahyabhai <nalin@redhat.com> 0.7.13-3
c2236c0
- add a tmpfiles configuration to ensure that /var/run/nslcd is created when
c2236c0
  /var/run is completely empty at boot (#656643)
c2236c0
b91566a
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.13-2
b91566a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b91566a
Nalin Dahyabhai 7f49045
* Mon Dec 13 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.13-1
Nalin Dahyabhai 7f49045
- update to 0.7.13
Nalin Dahyabhai 7f49045
Nalin Dahyabhai 0d11642
* Fri Oct 29 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.12-1
Nalin Dahyabhai 0d11642
- update to 0.7.12
Nalin Dahyabhai 0d11642
Nalin Dahyabhai 631d1bb
* Fri Oct 15 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.11-1
Nalin Dahyabhai 631d1bb
- update to 0.7.11
Nalin Dahyabhai 631d1bb
Jesse Keating 92fc3cb
* Wed Sep 29 2010 jkeating - 0.7.10-2
Jesse Keating 92fc3cb
- Rebuilt for gcc bug 634757
Jesse Keating 92fc3cb
Nalin Dahyabhai 6da0ba4
* Fri Sep 24 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.10-1
Nalin Dahyabhai 6da0ba4
- update to 0.7.10
Nalin Dahyabhai 6da0ba4
ecabfc7
* Thu Sep 23 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.9-2
ecabfc7
- when creating /var/run/nslcd in the buildroot, specify that 0755 is a
ecabfc7
  permissions value and not another directory name (#636880)
ecabfc7
Nalin Dahyabhai 188966b
* Mon Aug 30 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.9-1
Nalin Dahyabhai 188966b
- update to 0.7.9
Nalin Dahyabhai 188966b
Nalin Dahyabhai 76beca1
* Wed Aug 18 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.8-1
Nalin Dahyabhai 76beca1
- update to 0.7.8
Nalin Dahyabhai 76beca1
3bc9c42
* Wed Jul  7 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.7-1
3bc9c42
- update to 0.7.7
3bc9c42
481bf22
* Mon Jun 28 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.6-3
481bf22
- don't accidentally set multiple 'gid' settings in nslcd.conf, and try to
481bf22
  clean up after older versions of this package that did (#608314)
481bf22
5892659
* Thu May 27 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.6-2
5892659
- make inclusion of the .so symlink conditional on being on a sufficiently-
5892659
  new Fedora where pam_ldap isn't part of the nss_ldap package, so having
5892659
  this package conflict with nss_ldap doesn't require that pam_ldap be
5892659
  removed (#596691)
5892659
bc69bd8
* Thu May 27 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.6-1
bc69bd8
- update to 0.7.6
bc69bd8
ead6827
* Mon May 17 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.5-3
ead6827
- switch to the upstream patch for #592411
ead6827
1c2d68b
* Fri May 14 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.5-2
1c2d68b
- don't return an uninitialized buffer as the value for an optional attribute
1c2d68b
  that isn't present in the directory server entry (#592411)
1c2d68b
1e53922
* Fri May 14 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.5-1
1e53922
- update to 0.7.5
1e53922
f9e4c7d
* Fri May 14 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.4-1
f9e4c7d
- update to 0.7.4
f9e4c7d
- stop trying to migrate retry timeout parameters from old ldap.conf files
8dc515f
- add an explicit requires: on nscd to make sure it's at least available on
8dc515f
  systems that are using nss-pam-ldapd; otherwise it's usually optional
f9e4c7d
915a2d8
* Tue Mar 23 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.3-1
915a2d8
- update to 0.7.3
915a2d8
97ba04a
* Thu Feb 25 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.2-2
97ba04a
- bump release for post-review commit
97ba04a
97ba04a
* Thu Feb 25 2010 Nalin Dahyabhai <nalin@redhat.com> 0.7.2-1
97ba04a
- add comments about why we have a .so link at all, and not a -devel subpackage
97ba04a
97ba04a
* Wed Jan 13 2010 Nalin Dahyabhai <nalin@redhat.com>
97ba04a
- obsolete/provides nss-ldapd
97ba04a
- import configuration from nss-ldapd.conf, too
97ba04a
97ba04a
* Tue Jan 12 2010 Nalin Dahyabhai <nalin@redhat.com>
97ba04a
- rename to nss-pam-ldapd
97ba04a
- also check for import settings in /etc/nss_ldap.conf and /etc/pam_ldap.conf
97ba04a
97ba04a
* Thu Sep 24 2009 Nalin Dahyabhai <nalin@redhat.com> 0.6.11-2
97ba04a
- rebuild
97ba04a
97ba04a
* Wed Sep 16 2009 Nalin Dahyabhai <nalin@redhat.com> 
97ba04a
- apply Mitchell Berger's patch to clean up the init script, use %%{_initddir},
97ba04a
  and correct the %%post so that it only thinks about turning on nslcd when
97ba04a
  we're first being installed (#522947)
97ba04a
- tell status() where the pidfile is when the init script is called for that
97ba04a
97ba04a
* Tue Sep  8 2009 Nalin Dahyabhai <nalin@redhat.com>
97ba04a
- fix typo in a comment, capitalize the full name for "LDAP Client User" (more
97ba04a
  from #516049)
97ba04a
97ba04a
* Wed Sep  2 2009 Nalin Dahyabhai <nalin@redhat.com> 0.6.11-1
97ba04a
- update to 0.6.11
97ba04a
97ba04a
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.10-4
97ba04a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
97ba04a
97ba04a
* Thu Jun 18 2009 Nalin Dahyabhai <nalin@redhat.com> 0.6.10-3
97ba04a
- update URL: and Source:
97ba04a
97ba04a
* Mon Jun 15 2009 Nalin Dahyabhai <nalin@redhat.com> 0.6.10-2
97ba04a
- add and own /var/run/nslcd
97ba04a
- convert hosts to uri during migration
97ba04a
97ba04a
* Thu Jun 11 2009 Nalin Dahyabhai <nalin@redhat.com> 0.6.10-1
97ba04a
- update to 0.6.10
97ba04a
97ba04a
* Fri Apr 17 2009 Nalin Dahyabhai <nalin@redhat.com> 0.6.8-1
97ba04a
- bump release number to 1 (part of #491767)
97ba04a
- fix which group we check for during %%pre (part of #491767)
97ba04a
97ba04a
* Tue Mar 24 2009 Nalin Dahyabhai <nalin@redhat.com>
97ba04a
- require chkconfig by package rather than path (Jussi Lehtola, part of #491767)
97ba04a
97ba04a
* Mon Mar 23 2009 Nalin Dahyabhai <nalin@redhat.com> 0.6.8-0.1
97ba04a
- update to 0.6.8
97ba04a
97ba04a
* Mon Mar 23 2009 Nalin Dahyabhai <nalin@redhat.com> 0.6.7-0.1
97ba04a
- start using a dedicated user
97ba04a
97ba04a
* Wed Mar 18 2009 Nalin Dahyabhai <nalin@redhat.com> 0.6.7-0.0
97ba04a
- initial package (#445965)