Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
nwrap_he_global.cache->unload = nwrap_he_unload;
/* We hold all locks here so we can use NWRAP_UNLOCK_ALL. */
- NWRAP_UNLOCK_ALL;
+ NWRAP_UNLOCK(nwrap_sp_global);
+ NWRAP_UNLOCK(nwrap_pw_global);
+ NWRAP_UNLOCK(nwrap_he_global);
+ NWRAP_UNLOCK(nwrap_gr_global);
+ NWRAP_UNLOCK(nwrap_global);
+ NWRAP_UNLOCK(nwrap_initialized);
}
bool nss_wrapper_enabled(void)