1 /* extended.c - ldbm backend extended routines */
4 * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
5 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
12 #include <ac/socket.h>
13 #include <ac/string.h>
16 #include "back-ldbm.h"
17 #include "proto-back-ldbm.h"
21 SLAP_EXTENDED_FN extended;
23 { LDAP_EXOP_X_MODIFY_PASSWD, ldbm_back_exop_passwd },
33 struct berval *reqdata,
35 struct berval **rspdata,
36 LDAPControl *** rspctrls,
38 struct berval *** refs
43 for( i=0; exop_table[i].oid != NULL; i++ ) {
44 if( strcmp( exop_table[i].oid, reqoid ) == 0 ) {
45 return (exop_table[i].extended)(
48 rspoid, rspdata, rspctrls,
53 *text = "not supported within naming context";
54 return LDAP_OPERATIONS_ERROR;