warn users of the need to use the rwm overlay

This commit is contained in:
Pierangelo Masarati 2004-11-29 12:40:36 +00:00
parent ef2df3e398
commit 6b1c641bc1

View file

@ -268,6 +268,13 @@ ldap_back_db_config(
|| strcasecmp( argv[0], "map" ) == 0
|| strncasecmp( argv[0], "rewrite", STRLENOF( "rewrite" ) ) == 0 )
{
fprintf( stderr, "%s: line %d: "
"rewrite/remap capabilities have been moved "
"to the \"rwm\" overlay; see slapo-rwm(5) "
"for details. I'm trying to do my best "
"to preserve backwards compatibility...\n",
fname, lineno );
if ( li->rwm_started == 0 ) {
if ( overlay_config( be, "rwm" ) ) {
fprintf( stderr, "%s: line %d: "