version 1.1.2.2, 2005/04/29 21:29:10
|
version 1.1.2.3, 2005/06/03 19:54:17
|
Line 1
|
Line 1
|
/* translucent.c - translucent proxy module */ |
/* translucent.c - translucent proxy module */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/overlays/translucent.c,v 1.2 2005/03/25 19:11:28 hyc Exp $ */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/overlays/translucent.c,v 1.3 2005/05/23 05:25:45 ando Exp $ */ |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
* |
* |
* Copyright 2004-2005 The OpenLDAP Foundation. |
* Copyright 2004-2005 The OpenLDAP Foundation. |
Line 585 static int translucent_config(
|
Line 585 static int translucent_config(
|
slap_overinst *on = (slap_overinst *) be->bd_info; |
slap_overinst *on = (slap_overinst *) be->bd_info; |
overlay_stack *ov = on->on_bi.bi_private; |
overlay_stack *ov = on->on_bi.bi_private; |
void *private = be->be_private; |
void *private = be->be_private; |
|
void *be_cf_ocs = be->be_cf_ocs; |
int rc; |
int rc; |
|
|
/* "this should never happen" */ |
/* "this should never happen" */ |
Line 594 static int translucent_config(
|
Line 595 static int translucent_config(
|
} |
} |
|
|
be->be_private = ov->private; |
be->be_private = ov->private; |
|
be->be_cf_ocs = ov->info->bi_cf_ocs; |
rc = ov->info->bi_db_config ? ov->info->bi_db_config(be, fname, lineno, argc, argv) : 0; |
rc = ov->info->bi_db_config ? ov->info->bi_db_config(be, fname, lineno, argc, argv) : 0; |
be->be_private = private; |
be->be_private = private; |
|
be->be_cf_ocs = be_cf_ocs; |
|
|
/* pass okay or error up, SLAP_CONF_UNKNOWN might be ours */ |
/* pass okay or error up, SLAP_CONF_UNKNOWN might be ours */ |
if(rc == 0 || rc == 1) return(rc); |
if(rc == 0 || rc == 1) return(rc); |