1
/* extended.c - bdb backend extended routines */
2
/* $OpenLDAP: pkg/ldap/servers/slapd/back-bdb/extended.c,v 1.18.2.3 2008/02/11 23:26:45 kurt Exp $ */
3
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
5
* Copyright 2000-2008 The OpenLDAP Foundation.
8
* Redistribution and use in source and binary forms, with or without
9
* modification, are permitted only as authorized by the OpenLDAP
12
* A copy of this license is available in the file LICENSE in the
13
* top-level directory of the distribution or, alternatively, at
14
* <http://www.OpenLDAP.org/license.html>.
20
#include <ac/string.h>
27
BI_op_extended *extended;
33
bdb_extended( Operation *op, SlapReply *rs )
34
/* struct berval *reqoid,
35
struct berval *reqdata,
37
struct berval **rspdata,
38
LDAPControl *** rspctrls,
45
for( i=0; exop_table[i].extended != NULL; i++ ) {
46
if( ber_bvcmp( exop_table[i].oid, &op->oq_extended.rs_reqoid ) == 0 ) {
47
return (exop_table[i].extended)( op, rs );
51
rs->sr_text = "not supported within naming context";
52
return LDAP_UNWILLING_TO_PERFORM;