1This directory contains native slapd plugins for password mechanisms that 2are not actively supported by the project. Currently this includes the 3Kerberos, Netscape MTA-MD5 and RADIUS password mechanisms. The Apache 4APR1 MD5 and BSD/Paul Henning Kamp MD5 mechanisms are also included. 5 6To use the Kerberos plugin, add: 7 8moduleload pw-kerberos.so 9 10to your slapd configuration file. 11 12To use the Netscape plugin, add: 13 14moduleload pw-netscape.so 15 16to your slapd configuration file. 17 18To use the APR1/BSD/MD5 plugin, add: 19 20moduleload pw-apr1.so 21 22to your slapd configuration file. 23 24To use the RADIUS plugin, add: 25 26moduleload pw-radius.so 27 28to your slapd configuration file; optionally, the path to a configuration 29file can be appended in the form 30 31moduleload pw-radius.so config="/etc/radius.conf" 32 33No Makefile is provided. Use a command line similar to: 34 35gcc -shared -I../../../include -Wall -g -DHAVE_KRB5 -o pw-kerberos.so kerberos.c 36 37to compile the Kerberos plugin. Replace HAVE_KRB5 with HAVE_KRB4 if you want 38to use Kerberos IV. If your Kerberos header files are not in the C compiler's 39default path, you will need to add a "-I" directive for that as well. 40 41The corresponding command for the Netscape plugin would be: 42 43gcc -shared -I../../../include -Wall -g -o pw-netscape.so netscape.c 44 45The corresponding command for the RADIUS plugin would be: 46 47gcc -shared -I../../../include -Wall -g -o pw-radius.so radius.c -lradius 48 49(Actually, you might want to statically link the RADIUS client library 50libradius.a into the module). 51 52The corresponding command for the APR1 plugin would be: 53 54gcc -shared -I../../../include -Wall -g -o pw-apr1.so apr1.c 55 56--- 57This work is part of OpenLDAP Software <http://www.openldap.org/>. 58 59Copyright 2004-2011 The OpenLDAP Foundation. 60All rights reserved. 61 62Redistribution and use in source and binary forms, with or without 63modification, are permitted only as authorized by the OpenLDAP 64Public License. 65 66A copy of this license is available in the file LICENSE in the 67top-level directory of the distribution or, alternatively, at 68<http://www.OpenLDAP.org/license.html>. 69 70