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. The Apache
4 APR1 MD5 and BSD/Paul Henning Kamp MD5 mechanisms are also included.
6 To use the Kerberos plugin, add:
8 moduleload pw-kerberos.so
10 to your slapd configuration file.
12 To use the Netscape plugin, add:
14 moduleload pw-netscape.so
16 to your slapd configuration file.
18 To use the APR1/BSD/MD5 plugin, add:
22 to your slapd configuration file.
24 To use the RADIUS plugin, add:
26 moduleload pw-radius.so
28 to your slapd configuration file; optionally, the path to a configuration
29 file can be appended in the form
31 moduleload pw-radius.so config="/etc/radius.conf"
33 No Makefile is provided. Use a command line similar to:
35 gcc -shared -I../../../include -Wall -g -DHAVE_KRB5 -o pw-kerberos.so kerberos.c
37 to compile the Kerberos plugin. Replace HAVE_KRB5 with HAVE_KRB4 if you want
38 to use Kerberos IV. If your Kerberos header files are not in the C compiler's
39 default path, you will need to add a "-I" directive for that as well.
41 The corresponding command for the Netscape plugin would be:
43 gcc -shared -I../../../include -Wall -g -o pw-netscape.so netscape.c
45 The corresponding command for the RADIUS plugin would be:
47 gcc -shared -I../../../include -Wall -g -o pw-radius.so radius.c -lradius
49 (Actually, you might want to statically link the RADIUS client library
50 libradius.a into the module).
52 The corresponding command for the APR1 plugin would be:
54 gcc -shared -I../../../include -Wall -g -o pw-apr1.so apr1.c
57 This work is part of OpenLDAP Software <http://www.openldap.org/>.
59 Copyright 2004-2011 The OpenLDAP Foundation.
62 Redistribution and use in source and binary forms, with or without
63 modification, are permitted only as authorized by the OpenLDAP
66 A copy of this license is available in the file LICENSE in the
67 top-level directory of the distribution or, alternatively, at
68 <http://www.OpenLDAP.org/license.html>.