]> git.sur5r.net Git - openldap/commitdiff
Disable suffixAlias support. Needs much work.
authorKurt Zeilenga <kurt@openldap.org>
Mon, 30 Sep 2002 17:43:05 +0000 (17:43 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 30 Sep 2002 17:43:05 +0000 (17:43 +0000)
CHANGES
doc/man/man5/slapd.conf.5
servers/slapd/config.c

diff --git a/CHANGES b/CHANGES
index 7fb6b76196b3acd6cfb855085a07d279337445e9..333ffb288a3c4effe36e75d9a7599622ea69214b 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -3,9 +3,10 @@ OpenLDAP 2.1 Change Log
 OpenLDAP 2.1.6 Engineering
        Fixed slapd unsupported non-critical control handling
        Fixed slapd value_find() uninitialized variable bug (ITS#2097)
-       Fixed back-dnssrv default referral handling
+       Fixed back-dnssrv default referral handling (ITS#2116)
        Updated libldap_r Pth support (ITS#724) (ITS#1033)
        Updated slapd adlist support
+       Disable suffixAlias feature
        Build Environment
                Fixed back-bdb module linking problem
                Updated pthreads detection
index 3a9bb9836a523e92deab303a48baef1ef5eed661..49ccb756321053547351e799f8b8283f12c01bb5 100644 (file)
@@ -989,6 +989,8 @@ with the inner suffix must come first in the configuration file.
 Specify an alternate suffix that may be used to reference an already defined
 database suffix. Operations specifying DNs residing under the alias 
 will execute as if they had specified the aliased suffix.
+.I This feature is no supported in this version of
+.BI slapd (8).
 .TP
 .B subordinate
 Specify that the current backend database is a subordinate of another
index 5a58e83baf97f648fe75967ffc9ce6c62d9bc585..6c66180bff7c0297080ac7f0a6104ccfb80d0408 100644 (file)
@@ -903,6 +903,20 @@ read_config( const char *fname, int depth )
                        struct berval alias, palias, nalias;
                        struct berval aliased, paliased, naliased;
 
+                       if( 1 ) {
+#ifdef NEW_LOGGING
+                               LDAP_LOG( CONFIG, CRIT, 
+                                       "%s: line %d: suffixAlias is no longer supported.\n"
+                                       fname, lineno, 0 );
+#else
+                               Debug( LDAP_DEBUG_ANY,
+                                       "%s: line %d: suffixAlias is no longer supported.\n"
+                                       fname, lineno, 0 );
+#endif
+
+                               return( 1 );
+                       }
+
                        if ( cargc < 2 ) {
 #ifdef NEW_LOGGING
                                LDAP_LOG( CONFIG, CRIT,