1 /* extended.c - bdb backend extended routines */
4 * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
5 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
11 #include <ac/string.h>
19 BI_op_extended *extended;
21 { (struct berval *)&slap_EXOP_MODIFY_PASSWD, bdb_exop_passwd },
26 bdb_extended( Operation *op, SlapReply *rs )
27 /* struct berval *reqoid,
28 struct berval *reqdata,
30 struct berval **rspdata,
31 LDAPControl *** rspctrls,
38 for( i=0; exop_table[i].extended != NULL; i++ ) {
39 if( ber_bvcmp( exop_table[i].oid, &op->oq_extended.rs_reqoid ) == 0 ) {
40 return (exop_table[i].extended)( op, rs );
44 rs->sr_text = "not supported within naming context";
45 return LDAP_UNWILLING_TO_PERFORM;