X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Funbind.c;h=0a9d4e4fd4d282b46147c2bdb4394342e1a176fe;hb=61312e7989b6b0cf97b859caf4b43fa7e70741c8;hp=4dec901ce9a2c4a0974a5c71f8ddfd84ed4c09a1;hpb=dc0eacd40b625258355eea866d62188e5aa7ce3b;p=openldap diff --git a/servers/slapd/unbind.c b/servers/slapd/unbind.c index 4dec901ce9..0a9d4e4fd4 100644 --- a/servers/slapd/unbind.c +++ b/servers/slapd/unbind.c @@ -47,8 +47,15 @@ do_unbind( Operation *op, SlapReply *rs ) Statslog( LDAP_DEBUG_STATS, "%s UNBIND\n", op->o_log_prefix, 0, 0, 0, 0 ); + if ( frontendDB->be_unbind ) { + op->o_bd = frontendDB; + (void)frontendDB->be_unbind( op, rs ); + op->o_bd = NULL; + } + /* pass the unbind to all backends */ - backend_unbind( op, rs ); + (void)backend_unbind( op, rs ); return 0; } +