Sync with HEAD

This commit is contained in:
Kurt Zeilenga 2005-01-28 21:31:48 +00:00
parent b008f1e881
commit bbe6cc4ec6

View File

@ -1397,7 +1397,7 @@ slapiControlOp2SlapControlMask(unsigned long slapi_mask,
if ( slapi_mask & SLAPI_OPERATION_ABANDON )
*slap_mask |= SLAP_CTRL_ABANDON;
*slap_mask |= SLAP_CTRL_FRONTEND;
*slap_mask |= SLAP_CTRL_GLOBAL;
}
static int
@ -4267,3 +4267,17 @@ void slapi_ldap_unbind( LDAP *ld )
#endif /* LDAP_SLAPI */
}
int slapi_x_backend_get_flags( const Slapi_Backend *be, unsigned long *flags )
{
#ifdef LDAP_SLAPI
if ( be == NULL )
return LDAP_PARAM_ERROR;
*flags = SLAP_DBFLAGS(be);
return LDAP_SUCCESS;
#else
return -1;
#endif /* LDAP_SLAPI */
}