Commit f0acc0d7 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6676

parent 219aee02
...@@ -19,6 +19,7 @@ OpenLDAP 2.4.24 Engineering ...@@ -19,6 +19,7 @@ OpenLDAP 2.4.24 Engineering
Fixed slapo-ppolicy don't update opattrs on consumers (ITS#6608) Fixed slapo-ppolicy don't update opattrs on consumers (ITS#6608)
Fixed slapo-sssvlv initialization (ITS#6649) Fixed slapo-sssvlv initialization (ITS#6649)
Fixed slapo-syncprov to send error if consumer is newer (ITS#6606) Fixed slapo-syncprov to send error if consumer is newer (ITS#6606)
Fixed contrib/nssov to only close socket on shutdown (ITS#6676)
Documentation Documentation
admin24 guide typo fixes (ITS#6609) admin24 guide typo fixes (ITS#6609)
......
...@@ -879,6 +879,7 @@ nssov_db_close( ...@@ -879,6 +879,7 @@ nssov_db_close(
slap_overinst *on = (slap_overinst *)be->bd_info; slap_overinst *on = (slap_overinst *)be->bd_info;
nssov_info *ni = on->on_bi.bi_private; nssov_info *ni = on->on_bi.bi_private;
if ( slapMode & SLAP_SERVER_MODE ) {
/* close socket if it's still in use */ /* close socket if it's still in use */
if (ni->ni_socket >= 0); if (ni->ni_socket >= 0);
{ {
...@@ -892,6 +893,7 @@ nssov_db_close( ...@@ -892,6 +893,7 @@ nssov_db_close(
Debug( LDAP_DEBUG_TRACE,"unlink() of "NSLCD_SOCKET" failed (ignored): %s", Debug( LDAP_DEBUG_TRACE,"unlink() of "NSLCD_SOCKET" failed (ignored): %s",
strerror(errno),0,0); strerror(errno),0,0);
} }
}
} }
static slap_overinst nssov; static slap_overinst nssov;
......
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