openldap/contrib/slapi-plugins/addrdnvalues
2009-01-22 00:40:04 +00:00
..
addrdnvalues.c
README Update copyright notices 2009-01-22 00:40:04 +00:00

Copyright 2003-2009 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 a SLAPI plugin, addrdnvalues, which will add to
an entry any attribute values that appear in the entry's RDN but not in
the entry. This is necessary for compliance with some "broken" clients.

To use the plugin, add:

plugin preoperation libaddrdnvalues-plugin.so addrdnvalues_preop_init

to your slapd configuration file.

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

gcc -shared -I../../../include -Wall -g -o libaddrdnvalues-plugin.so addrdnvalues.c

to compile this plugin.