cb_unbind.c 608 B

1234567891011121314151617181920212223
  1. /** BEGIN COPYRIGHT BLOCK
  2. * Copyright 2001 Sun Microsystems, Inc.
  3. * Portions copyright 1999, 2001-2003 Netscape Communications Corporation.
  4. * All rights reserved.
  5. * END COPYRIGHT BLOCK **/
  6. #include "cb.h"
  7. int
  8. chainingdb_unbind( Slapi_PBlock *pb ) {
  9. /* Nothing to do because connection mgmt is stateless*/
  10. Slapi_Backend * be;
  11. cb_backend_instance * cb;
  12. slapi_pblock_get( pb, SLAPI_BACKEND, &be );
  13. cb = cb_get_instance(be);
  14. cb_update_monitor_info(pb,cb,SLAPI_OPERATION_UNBIND);
  15. cb_send_ldap_result( pb, LDAP_SUCCESS, NULL, NULL, 0, NULL );
  16. return SLAPI_BIND_SUCCESS;
  17. }