]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-monitor/log.c
Add validation.
[openldap] / servers / slapd / back-monitor / log.c
index 8cc3281b6f3b4d1a2e4d396f9ad0b425a75d4434..fe5a0819327fae89b8e79fb13aef7c89488113cc 100644 (file)
@@ -206,8 +206,8 @@ monitor_subsys_log_modify(
 #endif
 
                /* check that the entry still obeys the schema */
-               rc = entry_schema_check( NULL, e, save_attrs, &text, textbuf
-                               sizeof( textbuf ) );
+               rc = entry_schema_check( be_monitor, e, save_attrs
+                               &text, textbuf, sizeof( textbuf ) );
                if ( rc != LDAP_SUCCESS ) {
                        goto cleanup;
                }