pagedResults = 1 + crit;
} else if ( strcasecmp( control, "ps" ) == 0 ) {
- int num, tmp;
+ int num;
/* PersistentSearch control */
if ( psearch != 0 ) {
fprintf( stderr,
#ifdef LDAP_CONTROL_X_SHOW_DELETED
} else if ( strcasecmp( control, "showDeleted" ) == 0 ) {
- int num, tmp;
if( showDeleted ) {
fprintf( stderr,
_("showDeleted control previously specified\n"));
#ifdef LDAP_CONTROL_X_SERVER_NOTIFICATION
} else if ( strcasecmp( control, "serverNotif" ) == 0 ) {
- int num, tmp;
if( serverNotif ) {
fprintf( stderr,
_("serverNotif control previously specified\n"));
CfEntryInfo *parent, Attribute *a, struct berval *newrdn,
struct berval *nnewrdn, int use_ldif )
{
- char *ptr1;
int cnt, rc = 0;
struct berval odn, ondn;
const char *text = "";
}
op->oq_modrdn = modr;
} else {
- CfEntryInfo *ce2, *cebase, **cprev, **cbprev, *ceold;
+ CfEntryInfo *ce2, **cprev, **cbprev, *ceold;
req_modrdn_s modr = op->oq_modrdn;
int i;
cprev = &ce2->ce_sibs;
ce2 = ce2->ce_sibs;
}
- cebase = ce2;
cbprev = cprev;
/* Remove from old slot */
{
Entry *e = entry_alloc();
CfEntryInfo *ce = ch_calloc( 1, sizeof(CfEntryInfo) );
- struct berval val;
- struct berval ad_name;
AttributeDescription *ad = NULL;
int cnt, rc;
- char *ptr;
const char *text = "";
Attribute *oc_at;
struct berval pdn;
{
CfBackInfo *cfb = be->be_private;
struct berval rdn;
- Entry *e, *parent;
+ Entry *e;
CfEntryInfo *ce, *ceparent;
int i, unsupp = 0;
BackendInfo *bi;
ce = e->e_private;
cfb->cb_root = ce;
- parent = e;
ceparent = ce;
#ifdef SLAPD_MODULES
CfBackInfo *cfb = be->be_private;
BackendInfo *bi = cfb->cb_db.bd_info;
int rc;
- struct berval rdn, vals[ 2 ];
+ struct berval rdn;
ConfigArgs ca;
OperationBuffer opbuf;
Entry *ce;
strncmp( e->e_nname.bv_val +
STRLENOF( "olcDatabase" ), "=frontend",
STRLENOF( "=frontend" ))) {
- vals[1].bv_len = 0;
- vals[1].bv_val = NULL;
memset( &ca, 0, sizeof(ConfigArgs));
ca.be = frontendDB;
ca.bi = frontendDB->bd_info;
strncmp( e->e_nname.bv_val +
STRLENOF( "olcDatabase" ), "=config",
STRLENOF( "=config" )) ) {
- vals[1].bv_len = 0;
- vals[1].bv_val = NULL;
memset( &ca, 0, sizeof(ConfigArgs));
ca.be = LDAP_STAILQ_FIRST( &backendDB );
ca.bi = ca.be->bd_info;
CfBackInfo *cfb = be->be_private;
BackendInfo *bi = cfb->cb_db.bd_info;
CfEntryInfo *ce, *last;
- ConfigArgs ca = {0};
ce = config_find_base( cfb->cb_root, &e->e_nname, &last );
CfBackInfo *cfb = be->be_private;
BackendInfo *bi = cfb->cb_db.bd_info;
CfEntryInfo *ce, *last;
- ConfigArgs ca = {0};
ce = config_find_base( cfb->cb_root, ndn, &last );