]> git.sur5r.net Git - openldap/commitdiff
warn users of the need to use the rwm overlay
authorPierangelo Masarati <ando@openldap.org>
Mon, 29 Nov 2004 12:40:36 +0000 (12:40 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 29 Nov 2004 12:40:36 +0000 (12:40 +0000)
servers/slapd/back-ldap/config.c

index e991a3a193b2bb821971a1b94756511868598128..2426443b98e226ec9ab8622d31282d633d32a972 100644 (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: "