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