Index: /server/fedora/Makefile
===================================================================
--- /server/fedora/Makefile	(revision 911)
+++ /server/fedora/Makefile	(revision 912)
@@ -39,4 +39,5 @@
 server_arch	= "fedora.stable"
 openafs_url	= "http://dl.openafs.org/dl/openafs/1.4.8/openafs-1.4.8-1.1.1.src.rpm"
+nss_ldapd_url	= "http://download.opensuse.org/repositories/network:/ldap/openSUSE_Factory/src/nss-ldapd-0.6.4-2.4.src.rpm"
 
 .PHONY: minimal-clean
@@ -63,4 +64,5 @@
 	#wget -qO- -nv $(server_url)/$(server_arch) | xargs make
 	cd $(dload) && yumdownloader --source $(upstream_yum)
+	wget -P $(dload) $(nss_ldapd_url)
 	wget -P $(dload) $(openafs_url)
 	touch download_stamp
Index: rver/fedora/specs/nss-ldapd.spec
===================================================================
--- /server/fedora/specs/nss-ldapd.spec	(revision 911)
+++ 	(revision )
@@ -1,136 +1,0 @@
-#
-# spec file for package nss_ldap (Version 256)
-#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
-#
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
-# norootforbuild
-
-Name:           nss-ldapd
-BuildRequires:  db4-devel krb5-devel openldap-devel autoconf automake libtool
-License:        LGPL v2.1 or later
-Group:          Productivity/Networking/LDAP/Clients
-Autoreqprov:    on
-Version:        0.6.4
-Release:        2.4
-Summary:        NSS LDAP Daemon and Module
-URL:            http://ch.tudelft.nl/~arthur/nss-ldapd/
-Source:         nss-ldapd-%{version}.tar.bz2
-Source1:        rc.nslcd
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
-%description
-Nss-ldapd is a fork of the nss_ldap package by PADL Software Pty Ltd.. This
-fork was done to implement some structural design changes. These changes were
-needed because there are some issues with the original design.
-
-Authors:
---------
-    Luke Howard <lukeh@padl.com>
-    West Consulting <info@west.nl>
-    Arthur de Jong <arthur@ch.tudelft.nl>
-
-%prep
-%setup -q
-cp -v %{S:1} .
-
-%build
-%{?suse_update_config:%{suse_update_config -f}}
-autoreconf
-CFLAGS="$RPM_OPT_FLAGS" \
-CPPFLAGS="-I/usr/include/sasl" \
-./configure --prefix=/usr \
-            --mandir=%{_mandir} \
-	    --enable-schema-mapping \
-	    --enable-paged-results \
-            --enable-configurable-krb5-ccname-gssapi \
-	    --libdir=/%{_lib} \
-	    --sysconfdir=/etc 
-make
-
-%install
-mkdir -p $RPM_BUILD_ROOT/etc/init.d/
-mkdir -p $RPM_BUILD_ROOT/usr/sbin/
-install -m 755 rc.nslcd $RPM_BUILD_ROOT/etc/init.d/nslcd
-ln -sf ../../etc/init.d/nslcd $RPM_BUILD_ROOT/usr/sbin/rcnslcd
-make DESTDIR=$RPM_BUILD_ROOT install
-mkdir -p $RPM_BUILD_ROOT/var/run/nslcd
-install -m 644 man/nss-ldapd.conf.5 $RPM_BUILD_ROOT/usr/share/man/man5
-install -m 644 man/nslcd.8 $RPM_BUILD_ROOT/usr/share/man/man8
-
-%clean
-rm -fr $RPM_BUILD_ROOT
-
-%post
-/sbin/ldconfig
-
-%preun
-%stop_on_removal nslcd
-
-%postun 
-/sbin/ldconfig
-%restart_on_update nslcd
-%insserv_cleanup
-
-%files
-%defattr(-,root,root)
-%doc AUTHORS COPYING ChangeLog NEWS README
-/%{_lib}/libnss_ldap.so.2
-%doc %{_mandir}/man5/*
-%doc %{_mandir}/man8/*
-%config(noreplace) /etc/nss-ldapd.conf
-%config /etc/init.d/nslcd
-/usr/sbin/rcnslcd
-%dir /var/run/nslcd
-/usr/sbin/nslcd
-
-%changelog
-* Wed Dec 31 2008  <quentin@mit.edu> - 0.6.4-2.4
-- port from openSUSE to Fedora
-* Wed Aug  6 2008 rhafer@suse.de
-- rename init script to nslcd to match the name of the daemon
-  binary
-* Wed Aug  6 2008 rhafer@suse.de
-- updated to nss-ldapd-0.6.4
-  * fix for the tls_checkpeer option
-  * fix incorrect test for ssl option in combination with ldaps:// URIs
-  * improvements to Active Directory sample configuration
-  * implement looking up search base in rootDSE of LDAP server
-* Mon Jun 16 2008 rhafer@suse.de
-- updated to nss-ldapd-0.6.3
-  * retry connection and search if getting results failed with connection
-  * problems (some errors only occur when getting the results, not when
-    starting the search)
-  * add support for groups with up to around 150000 members (assuming user
-    names on average are a little under 10 characters)
-  * problem with possible SIGPIPE race condition was fixed by using send()
-    instead of write()
-  * add uid and gid configuration keywords that set the user and group of the
-    nslcd daemon
-  * add some documentation on supported group to member mappings
-  * add sanity checking to code for when clock moves backward
-  * log messages now include a session id that makes it easier to track errors
-    to requests (especially useful in debugging mode)
-  * miscellaneous portability improvements
-  * increase buffers and timeouts to handle large lookups more gracefully
-  * implement SASL authentication based on a patch by Dan White
-  * allow more characters in user and group names
-* Mon Feb 11 2008 rhafer@suse.de
-- updated to nss-ldapd-0.6
-* Mon Jan  7 2008 rhafer@suse.de
-- updated to nss-ldapd-0.5
-* Fri Nov 16 2007 rhafer@suse.de
-- Added patches configuration by SRV records
-- Added patch to re-enable use_sasl and krb5_ccname
-* Mon Oct 29 2007 rhafer@suse.de
-- updated to nss-ldapd-0.4.1
-* Thu Oct 11 2007 rhafer@suse.de
-- updated to nss-ldapd-0.4
-* Thu Aug 30 2007 rhafer@suse.de
-- updated to nss-ldapd-0.3
-* Mon Jul 30 2007 rhafer@suse.de
-- initial version for nss-ldapd-0.2.1
Index: /server/fedora/specs/nss-ldapd.spec.patch
===================================================================
--- /server/fedora/specs/nss-ldapd.spec.patch	(revision 912)
+++ /server/fedora/specs/nss-ldapd.spec.patch	(revision 912)
@@ -0,0 +1,59 @@
+--- nss-ldapd.spec.orig	2008-12-31 18:53:14.000000000 -0500
++++ nss-ldapd.spec	2008-12-31 18:53:22.000000000 -0500
+@@ -11,16 +11,16 @@
+ # norootforbuild
+ 
+ Name:           nss-ldapd
+-BuildRequires:  db-devel krb5-devel openldap2-devel
++BuildRequires:  db4-devel krb5-devel openldap-devel autoconf automake libtool
+ License:        LGPL v2.1 or later
+ Group:          Productivity/Networking/LDAP/Clients
+ Autoreqprov:    on
+ Version:        0.6.4
+-Release:        2.4
++Release:        3.0
+ Summary:        NSS LDAP Daemon and Module
+ URL:            http://ch.tudelft.nl/~arthur/nss-ldapd/
+ Source:         nss-ldapd-%{version}.tar.bz2
+-Source1:        rc.nslcd
++Patch1000:      rc.nslcd.patch
+ BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+ 
+ %description
+@@ -34,11 +34,9 @@
+     West Consulting <info@west.nl>
+     Arthur de Jong <arthur@ch.tudelft.nl>
+ 
+-%debug_package
+-
+ %prep
+ %setup -q
+-cp -v %{S:1} .
++%patch1000 -p0 -b .rc
+ 
+ %build
+ %{?suse_update_config:%{suse_update_config -f}}
+@@ -58,7 +56,6 @@
+ mkdir -p $RPM_BUILD_ROOT/etc/init.d/
+ mkdir -p $RPM_BUILD_ROOT/usr/sbin/
+ install -m 755 rc.nslcd $RPM_BUILD_ROOT/etc/init.d/nslcd
+-ln -sf ../../etc/init.d/nslcd $RPM_BUILD_ROOT/usr/sbin/rcnslcd
+ make DESTDIR=$RPM_BUILD_ROOT install
+ mkdir -p $RPM_BUILD_ROOT/var/run/nslcd
+ install -m 644 man/nss-ldapd.conf.5 $RPM_BUILD_ROOT/usr/share/man/man5
+@@ -86,11 +83,14 @@
+ %doc %{_mandir}/man8/*
+ %config(noreplace) /etc/nss-ldapd.conf
+ %config /etc/init.d/nslcd
+-/usr/sbin/rcnslcd
+ %dir /var/run/nslcd
+ /usr/sbin/nslcd
+ 
+ %changelog
++* Wed Dec 31 2008  <quentin@mit.edu> - 0.6.4-3.0
++- add init script for Fedora
++* Wed Dec 31 2008  <quentin@mit.edu> - 0.6.4-2.4
++- port from openSUSE to Fedora
+ * Wed Aug  6 2008 rhafer@suse.de
+ - rename init script to nslcd to match the name of the daemon
+   binary
