Home | History | Annotate | only in /src/external/bsd/openldap/dist/contrib/slapd-modules/passwd
Up to higher level directory
NameDateSize
apr1-atol.pl06-Feb-2018728
apr1-ltoa.pl06-Feb-2018836
apr1.c14-Aug-20216.8K
kerberos.c05-Sep-20255.9K
Makefile05-Sep-20251.7K
netscape.c05-Sep-20252.2K
pbkdf2/25-Feb-2026
radius.c05-Sep-20253.4K
README05-Sep-20252K
sha2/25-Feb-2026
slapd-pw-radius.505-Sep-20252.6K
totp/25-Feb-2026

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