From 6b1c641bc15474a6beb4b20c494162dc22916c5f Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 29 Nov 2004 12:40:36 +0000 Subject: [PATCH] warn users of the need to use the rwm overlay --- servers/slapd/back-ldap/config.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/servers/slapd/back-ldap/config.c b/servers/slapd/back-ldap/config.c index e991a3a193..2426443b98 100644 --- a/servers/slapd/back-ldap/config.c +++ b/servers/slapd/back-ldap/config.c @@ -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: " -- 2.39.5