]> git.sur5r.net Git - openldap/blob - contrib/slapd-modules/passwd/README
add (basic) support for {RADIUS} scheme; userPassword attributes prefixed with {RADIU...
[openldap] / contrib / slapd-modules / passwd / README
1 Copyright 2004-2006 The OpenLDAP Foundation. All rights reserved.
2
3 Redistribution and use in source and binary forms, with or without
4 modification, are permitted only as authorized by the OpenLDAP
5 Public License.
6
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.
10
11 To use the Kerberos plugin, add:
12
13 moduleload pw-kerberos.so
14
15 to your slapd configuration file.
16
17 To use the Netscape plugin, add:
18
19 moduleload pw-netscape.so
20
21 to your slapd configuration file.
22
23 To use the RADIUS plugin, add:
24
25 moduleload pw-radius.so
26
27 to your slapd configuration file; optionally, the path to a configuration
28 file can be appended in the form
29
30 moduleload pw-radius.so config="/etc/radius.conf"
31
32 No Makefile is provided. Use a command line similar to:
33
34 gcc -shared -I../../../include -Wall -g -DHAVE_KRB5 -o pw-kerberos.so kerberos.c
35
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.
39
40 The corresponding command for the Netscape plugin would be:
41
42 gcc -shared -I../../../include -Wall -g -o pw-netscape.so netscape.c
43
44 The corresponding command for the RADIUS plugin would be:
45
46 gcc -shared -I../../../include -Wall -g -o pw-radius.so radius.c -lradius
47
48 (Actually, you might want to statically link the RADIUS client library 
49 libradius.a into the module).
50