Commit a718cb33 authored by Howard Chu's avatar Howard Chu
Browse files

Unbind all connections on shutdown

parent 91e69fc3
......@@ -169,6 +169,10 @@ Ri_process(
re = new_re;
rq->rq_unlock( rq );
if ( sglob->slurpd_shutdown ) {
if ( ri->ri_ldp ) {
ldap_unbind( ri->ri_ldp );
ri->ri_ldp = NULL;
}
return 0;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment