[NLUUG]   Welcome to ftp.nluug.nl
Current directory: /pub/ftp/os/NetBSD/NetBSD-release-10/src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/
 
Current bandwidth utilization 945.35 Mbit/s
Bandwidth utilization bar
Contents of README:
This directory contains native slapd plugins for password mechanisms that
are not actively supported by the project. Currently this includes the
Kerberos, Netscape MTA-MD5 and RADIUS password mechanisms. The Apache
APR1 MD5 and BSD/Paul Henning Kamp MD5 mechanisms are also included.

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.

To use the APR1/BSD/MD5 plugin, add:

moduleload pw-apr1.so

to your slapd configuration file.

To use the RADIUS plugin, add:

moduleload pw-radius.so

to your slapd configuration file; optionally, the path to a configuration
file can be appended in the form

moduleload pw-radius.so config="/etc/radius.conf"

Use Makefile to compile this plugin or use a command line similar to:

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

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

The corresponding command for the RADIUS plugin would be:

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

(Actually, you might want to statically link the RADIUS client library
libradius.a into the module).

The corresponding command for the APR1 plugin would be:

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

---
This work is part of OpenLDAP Software <http://www.openldap.org/>.

Copyright 2004-2021 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.

A copy of this license is available in the file LICENSE in the
top-level directory of the distribution or, alternatively, at
<http://www.OpenLDAP.org/license.html>.


Icon  Name                                                                                       Last modified      Size  
[DIR] Parent Directory - [DIR] CVS/ 02-Dec-2024 04:07 - [DIR] pbkdf2/ 17-Dec-2022 21:32 - [DIR] sha2/ 17-Dec-2022 21:32 - [DIR] totp/ 17-Dec-2022 21:32 - [TXT] Makefile 14-Aug-2021 18:05 1.7K [TXT] README 14-Aug-2021 18:05 2.0K [   ] apr1-atol.pl 06-Feb-2018 02:53 728 [   ] apr1-ltoa.pl 06-Feb-2018 02:53 836 [TXT] apr1.c 14-Aug-2021 18:14 6.8K [TXT] kerberos.c 14-Aug-2021 18:14 5.9K [TXT] netscape.c 14-Aug-2021 18:14 2.2K [TXT] radius.c 14-Aug-2021 18:14 3.4K [   ] slapd-pw-radius.5 14-Aug-2021 18:05 2.6K

NLUUG - Open Systems. Open Standards
Become a member and get discounts on conferences and more, see the NLUUG website!