1This directory contains native slapd plugins for password mechanisms that
2are not actively supported by the project. Currently this includes the
3Kerberos, Netscape MTA-MD5 and RADIUS password mechanisms.
4
5To use the Kerberos plugin, add:
6
7moduleload pw-kerberos.so
8
9to your slapd configuration file.
10
11To use the Netscape plugin, add:
12
13moduleload pw-netscape.so
14
15to your slapd configuration file.
16
17To use the RADIUS plugin, add:
18
19moduleload pw-radius.so
20
21to your slapd configuration file; optionally, the path to a configuration
22file can be appended in the form
23
24moduleload pw-radius.so config="/etc/radius.conf"
25
26No Makefile is provided. Use a command line similar to:
27
28gcc -shared -I../../../include -Wall -g -DHAVE_KRB5 -o pw-kerberos.so kerberos.c
29
30to compile the Kerberos plugin. Replace HAVE_KRB5 with HAVE_KRB4 if you want
31to use Kerberos IV. If your Kerberos header files are not in the C compiler's
32default path, you will need to add a "-I" directive for that as well.
33
34The corresponding command for the Netscape plugin would be:
35
36gcc -shared -I../../../include -Wall -g -o pw-netscape.so netscape.c
37
38The corresponding command for the RADIUS plugin would be:
39
40gcc -shared -I../../../include -Wall -g -o pw-radius.so radius.c -lradius
41
42(Actually, you might want to statically link the RADIUS client library
43libradius.a into the module).
44
45---
46This work is part of OpenLDAP Software <http://www.openldap.org/>.
47
48Copyright 2004-2010 The OpenLDAP Foundation.
49All rights reserved.
50
51Redistribution and use in source and binary forms, with or without
52modification, are permitted only as authorized by the OpenLDAP
53Public License.
54
55A copy of this license is available in the file LICENSE in the
56top-level directory of the distribution or, alternatively, at
57<http://www.OpenLDAP.org/license.html>.
58
59