openldap/contrib/slapd-modules/passwd
2006-01-03 23:11:52 +00:00
..
kerberos.c Happy new year! 2006-01-03 23:11:52 +00:00
netscape.c Happy new year! 2006-01-03 23:11:52 +00:00
README Happy new year! 2006-01-03 23:11:52 +00:00

Copyright 2004-2006 The OpenLDAP Foundation. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted only as authorized by the OpenLDAP
Public License.

This directory contains native slapd plugins for password mechanisms that
are not actively supported by the project. Currently this includes the
Kerberos and Netscape MTA-MD5 password mechanisms.

To use the Kerberos plugin, add:

moduleload pw-kerberos.so

to your slapd configuration file.

To use the Netscape plugin, add:

moduleload pw-netscape.so

to your slapd configuration file.

No Makefile is provided. Use a command line similar to:

gcc -shared -I../../../include -Wall -g -DHAVE_KRB5 -o pw-kerberos.so kerberos.c

to compile the Kerberos plugin. Replace HAVE_KRB5 with HAVE_KRB4 if you want
to use Kerberos IV. If your Kerberos header files are not in the C compiler's
default path, you will need to add a "-I" directive for that as well.

The corresponding command for the Netscape plugin would be:

gcc -shared -I../../../include -Wall -g -o pw-netscape.so netscape.c