]> git.sur5r.net Git - openldap/blob - contrib/slapd-modules/passwd/README
add some logging (under TRACE)
[openldap] / contrib / slapd-modules / passwd / README
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.
4
5 To use the Kerberos plugin, add:
6
7 moduleload pw-kerberos.so
8
9 to your slapd configuration file.
10
11 To use the Netscape plugin, add:
12
13 moduleload pw-netscape.so
14
15 to your slapd configuration file.
16
17 To use the RADIUS plugin, add:
18
19 moduleload pw-radius.so
20
21 to your slapd configuration file; optionally, the path to a configuration
22 file can be appended in the form
23
24 moduleload pw-radius.so config="/etc/radius.conf"
25
26 No Makefile is provided. Use a command line similar to:
27
28 gcc -shared -I../../../include -Wall -g -DHAVE_KRB5 -o pw-kerberos.so kerberos.c
29
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.
33
34 The corresponding command for the Netscape plugin would be:
35
36 gcc -shared -I../../../include -Wall -g -o pw-netscape.so netscape.c
37
38 The corresponding command for the RADIUS plugin would be:
39
40 gcc -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 
43 libradius.a into the module).
44
45 ---
46 This work is part of OpenLDAP Software <http://www.openldap.org/>.
47
48 Copyright 2004-2010 The OpenLDAP Foundation.
49 All rights reserved.
50
51 Redistribution and use in source and binary forms, with or without
52 modification, are permitted only as authorized by the OpenLDAP
53 Public License.
54
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>.
58