1 Copyright 2004-2007 The OpenLDAP Foundation. All rights reserved.
3 Redistribution and use in source and binary forms, with or without
4 modification, are permitted only as authorized by the OpenLDAP
7 This directory contains native slapd plugins for password mechanisms that
8 are not actively supported by the project. Currently this includes the
9 Kerberos, Netscape MTA-MD5 and RADIUS password mechanisms.
11 To use the Kerberos plugin, add:
13 moduleload pw-kerberos.so
15 to your slapd configuration file.
17 To use the Netscape plugin, add:
19 moduleload pw-netscape.so
21 to your slapd configuration file.
23 To use the RADIUS plugin, add:
25 moduleload pw-radius.so
27 to your slapd configuration file; optionally, the path to a configuration
28 file can be appended in the form
30 moduleload pw-radius.so config="/etc/radius.conf"
32 No Makefile is provided. Use a command line similar to:
34 gcc -shared -I../../../include -Wall -g -DHAVE_KRB5 -o pw-kerberos.so kerberos.c
36 to compile the Kerberos plugin. Replace HAVE_KRB5 with HAVE_KRB4 if you want
37 to use Kerberos IV. If your Kerberos header files are not in the C compiler's
38 default path, you will need to add a "-I" directive for that as well.
40 The corresponding command for the Netscape plugin would be:
42 gcc -shared -I../../../include -Wall -g -o pw-netscape.so netscape.c
44 The corresponding command for the RADIUS plugin would be:
46 gcc -shared -I../../../include -Wall -g -o pw-radius.so radius.c -lradius
48 (Actually, you might want to statically link the RADIUS client library
49 libradius.a into the module).