]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldbm/add.c
error message from be_entry_put tool backend function
[openldap] / servers / slapd / back-ldbm / add.c
index f14b54839e3d826960c2c896b2a2ec2ea20f41f7..e663c8645c61325f8fb2b43c5c27e33d587022df 100644 (file)
@@ -1,7 +1,7 @@
 /* add.c - ldap ldbm back-end add routine */
 /* $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
  */
 
@@ -54,7 +54,7 @@ ldbm_back_add(
                return( -1 );
        }
 
-       rc = entry_schema_check( e, NULL, &text, textbuf, textlen );
+       rc = entry_schema_check( be, e, NULL, &text, textbuf, textlen );
 
        if ( rc != LDAP_SUCCESS ) {
                ldap_pvt_thread_mutex_unlock(&li->li_add_mutex);