1999-02-06 00:23:03 +08:00
|
|
|
/* unbind.c - handle an ldap unbind operation */
|
1999-09-09 03:06:24 +08:00
|
|
|
/* $OpenLDAP$ */
|
1999-02-06 00:23:03 +08:00
|
|
|
|
|
|
|
#include "portable.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <ac/socket.h>
|
|
|
|
|
|
|
|
#include "slap.h"
|
|
|
|
#include "back-bdb2.h"
|
|
|
|
|
|
|
|
static int
|
|
|
|
bdb2i_back_unbind_internal(
|
1999-02-08 19:42:14 +08:00
|
|
|
BackendDB *be,
|
1999-02-06 00:23:03 +08:00
|
|
|
Connection *conn,
|
|
|
|
Operation *op
|
|
|
|
)
|
|
|
|
{
|
|
|
|
return( 0 );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
bdb2_back_unbind(
|
1999-02-08 19:42:14 +08:00
|
|
|
BackendDB *be,
|
1999-02-06 00:23:03 +08:00
|
|
|
Connection *conn,
|
|
|
|
Operation *op
|
|
|
|
)
|
|
|
|
{
|
1999-02-12 22:36:16 +08:00
|
|
|
struct timeval time1;
|
|
|
|
int ret;
|
1999-02-06 00:23:03 +08:00
|
|
|
|
1999-02-12 23:22:43 +08:00
|
|
|
bdb2i_start_timing( be->bd_info, &time1 );
|
1999-02-06 00:23:03 +08:00
|
|
|
|
|
|
|
ret = bdb2i_back_unbind_internal( be, conn, op );
|
1999-02-12 23:22:43 +08:00
|
|
|
bdb2i_stop_timing( be->bd_info, time1, "UNBIND", conn, op );
|
1999-02-06 00:23:03 +08:00
|
|
|
|
|
|
|
return( ret );
|
|
|
|
}
|