Fixed index file naming bug and added support for LDAP_MOD_SOFTADD.

This commit is contained in:
Juan Gomez 1999-05-26 11:41:14 +00:00
parent b2d40841d8
commit 5a16e3b9e9

View File

@ -70,7 +70,7 @@ index_add_mods(
rc = index_add_values( be, mod->mod_type,
mod->mod_bvalues, id );
break;
case LDAP_MOD_SOFTADD: /* SOFTADD means index was there */
case LDAP_MOD_DELETE:
rc = 0;
break;
@ -230,7 +230,7 @@ index_add_values(
Debug( LDAP_DEBUG_TRACE, "=> index_add_values( \"%s\", %ld )\n", type,
id, 0 );
attr_normalize(type);
attr_masks( be->be_private, type, &indexmask, &syntax );
if ( indexmask == 0 ) {
return( 0 );