summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nsswitch/winbind_nss_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbind_nss_linux.c b/source3/nsswitch/winbind_nss_linux.c
index 6de419da5a..7322da0001 100644
--- a/source3/nsswitch/winbind_nss_linux.c
+++ b/source3/nsswitch/winbind_nss_linux.c
@@ -1347,7 +1347,7 @@ _nss_winbind_sidtogid(const char *sid, gid_t *gid, int *errnop)
failed:
#if HAVE_PTHREAD
- pthread_mutex_lock(&winbind_nss_mutex);
+ pthread_mutex_unlock(&winbind_nss_mutex);
#endif
return ret;