]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/index.c
need this outside for back monitor ...
[openldap] / servers / slapd / index.c
index 8ec5a97997fa5e01ea28e23f0759c7c95a66c8a1..786ccb388a1fa7b66420e58633ad7745253918b1 100644 (file)
@@ -1,7 +1,7 @@
 /* index.c - index utilities */
 /* $OpenLDAP$ */
 /*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
@@ -52,12 +52,10 @@ int slap_str2index( const char *str, slap_mask_t *idx )
                strcasecmp( str, "sub" ) == 0 )
        {
                *idx = SLAP_INDEX_SUBSTR_DEFAULT;
-       } else if ( strcasecmp( str, "lang" ) == 0 ) {
-               *idx = SLAP_INDEX_LANG;
-       } else if ( strcasecmp( str, "autolang" ) == 0 ) {
-               *idx = SLAP_INDEX_AUTO_LANG;
-       } else if ( strcasecmp( str, "subtypes" ) == 0 ) {
-               *idx = SLAP_INDEX_SUBTYPES;
+       } else if ( strcasecmp( str, "nolang" ) == 0 ) {
+               *idx = SLAP_INDEX_NOLANG;
+       } else if ( strcasecmp( str, "nosubtypes" ) == 0 ) {
+               *idx = SLAP_INDEX_NOSUBTYPES;
        } else if ( strcasecmp( str, "autosubtypes" ) == 0 ) {
                *idx = SLAP_INDEX_AUTO_SUBTYPES;
        } else {