1 /* unbind.c - decode an ldap unbind operation and pass it to a backend db */
4 * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
5 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
9 * Copyright (c) 1995 Regents of the University of Michigan.
10 * All rights reserved.
12 * Redistribution and use in source and binary forms are permitted
13 * provided that this notice is preserved and that due credit is given
14 * to the University of Michigan at Ann Arbor. The name of the University
15 * may not be used to endorse or promote products derived from this
16 * software without specific prior written permission. This software
17 * is provided ``as is'' without express or implied warranty.
25 #include <ac/socket.h>
36 LDAP_LOG( OPERATION, ENTRY,
37 "do_unbind: conn %d\n", conn ? conn->c_connid : -1, 0, 0 );
39 Debug( LDAP_DEBUG_TRACE, "do_unbind\n", 0, 0, 0 );
44 * Parse the unbind request. It looks like this:
46 * UnBindRequest ::= NULL
49 Statslog( LDAP_DEBUG_STATS, "conn=%lu op=%lu UNBIND\n", op->o_connid,
50 op->o_opid, 0, 0, 0 );
52 /* pass the unbind to all backends */
53 backend_unbind( conn, op );