1Summary: PAM module for LDAP.
2Name: pam_ldap
3Version: 185
4Release: 1
5Source0: ftp://ftp.padl.com/pub/%{name}-%{version}.tar.gz
6Source1: ldap.conf
7URL: http://www.padl.com/
8Copyright: LGPL
9Group: System Environment/Base
10BuildRoot: %{_tmppath}/%{name}-root
11BuildPrereq: openldap-devel
12Requires: openldap cyrus-sasl openssl
13Obsoletes: pam_ldap
14
15%description
16This package includes a LDAP access clients: pam_ldap.
17
18Pam_ldap is a module for Linux-PAM that supports password changes, V2/V3
19clients, Netscapes SSL/OpenSSL, ypldapd, Netscape Directory Server password
20policies, access authorization, crypted hashes, etc.
21
22Install nss_ldap if you need LDAP access clients.
23
24%prep
25%setup -q -a 0
26
27%build
28./configure
29make
30
31%install
32[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
33mkdir -p $RPM_BUILD_ROOT/{etc,lib/security}
34
35install -m 755 pam_ldap.so \
36	       $RPM_BUILD_ROOT/lib/security/
37
38install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/ldap.conf
39
40chmod 755 $RPM_BUILD_ROOT/lib/security/*.so*
41
42%clean
43[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(-,root,root)
47%attr(0755,root,root) /lib/security/*.so*
48%attr(0644,root,root) %config(noreplace) /etc/ldap.conf
49%doc AUTHORS NEWS COPYING COPYING.LIB README ChangeLog pam.d
50
51%changelog
52* Mon Jan 08 2001 Joe Little <jlittle@open-it.org>
53- first PAM_LDAP specific RPM, stolen from the previously maintained nss_ldap
54
55* Thu Jan 04 2001 Joe Little <jlittle@open-it.org>
56- changed Makefile.RPM.openldap2 to a patch instead of a source file
57- updated to pam_ldap 86 and nss_ldap 126
58
59* Wed Jan 03 2001 Joe Little <jlittle@open-it.org>
60- update to pam_ldap 84 and a change in the included Makefile to have libnss
61  instead of just nss* in /usr/lib
62
63* Tue Jan 02 2001 Joe Little <jlittle@open-it.org>
64- update to pam_ldap 82 and nss_ldap 124
65
66* Tue Dec 05 2000 Joe Little <jlittle@open-it.org>
67- changed provided nss-Makefile to use dynamic lber/ldap libs; fixes nss_ldap
68
69* Fri Oct 27 2000 Joe Little <jlittle@open-it.org>
70- updated my build for nss_ldap and pam_ldap to solve race condition as told by
71  Luke Howard
72
73* Thu Oct 19 2000 Joe Little <jlittle@open-it.org>
74- insured install uses openldap2 specific makefile
75- fixed doc inclusion issue - which affect pam.d samples being provided
76
77* Wed Oct 11 2000 Joe Little <jlittle@open-it.org>
78- updated for latest nss/pam versions, and for building against openldap 2.x
79- also added req for cyrus-sasl
80
81* Thu Jul 27 2000 Nalin Dahyabhai <nalin@redhat.com>
82- update to pam_ldap 67 to fix a bug in template user code
83- convert symlink in /usr/lib to a relative one (#16132)
84
85* Thu Jul 27 2000 Nalin Dahyabhai <nalin@redhat.com>
86- update to nss_ldap 113 and pam_ldap 66
87
88* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
89- automatic rebuild
90
91* Tue Jun 27 2000 Matt Wilson <msw@redhat.com>
92- changed all the -,- in attr statements to root,root
93
94* Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com>
95- update pam_ldap to 63
96
97* Wed May 31 2000 Nalin Dahyabhai <nalin@redhat.com>
98- update pam_ldap to 56
99
100* Tue May 30 2000 Nalin Dahyabhai <nalin@redhat.com>
101- update pam_ldap to 55
102- back out no-threads patch for pam_ldap, not needed any more
103
104* Thu May 25 2000 Nalin Dahyabhai <nalin@redhat.com>
105- update to 110
106- revert prototype patch, looks like a problem with the new glibc after all
107
108* Fri May 19 2000 Nalin Dahyabhai <nalin@redhat.com>
109- get libpthread out of the NSS module
110- fix prototype problems in getpwXXX()
111
112* Mon May 15 2000 Nalin Dahyabhai <nalin@redhat.com>
113- update to nss_ldap 109
114
115* Sat Apr 29 2000 Nalin Dahyabhai <nalin@redhat.com>
116- update pam_ldap 51
117
118* Tue Apr 25 2000 Nalin Dahyabhai <nalin@redhat.com>
119- update to nss_ldap 108 and pam_ldap 49
120
121* Thu Apr 20 2000 Nalin Dahyabhai <nalin@redhat.com>
122- update to pam_ldap 48
123
124* Thu Mar 30 2000 Nalin Dahyabhai <nalin@redhat.com>
125- update to nss_ldap 107
126- note: check http://www.advogato.org/person/lukeh/ for Luke's changelog
127
128* Tue Mar 21 2000 Nalin Dahyabhai <nalin@redhat.com>
129- update to nss_ldap 106
130
131* Wed Feb  9 2000 Nalin Dahyabhai <nalin@redhat.com>
132- update to nss_ldap 105
133
134* Mon Feb  7 2000 Nalin Dahyabhai <nalin@redhat.com>
135- update to nss_ldap 104 and pam_ldap 46
136- disable link against libpthread in pam_ldap
137
138* Tue Feb  1 2000 Nalin Dahyabhai <nalin@redhat.com>
139- remove migration tools, because this package requires openldap now, which
140  also includes them
141
142* Fri Jan 28 2000 Nalin Dahyabhai <nalin@redhat.com>
143- update to nss_ldap 103
144
145* Mon Jan 24 2000 Preston Brown <pbrown@redhat.com>
146- fix typo in linuxconf-pair pam cfg file (#7800)
147
148* Tue Jan 11 2000 Preston Brown <pbrown@redhat.com>
149- v99, made it require pam_ldap
150- added perl migration tools
151- integrate pam_ldap stuff
152
153* Fri Oct 22 1999 Bill Nottingham <notting@redhat.com>
154- statically link ldap libraries (they're in /usr/lib)
155
156* Tue Aug 10 1999 Cristian Gafton <gafton@redhat.com>
157- use the ldap.conf file as an external source
158- don't forcibly build the support for version 3
159- imported the default spec file from the tarball and fixed it up for RH 6.1
160