From d9804ae3cc2c435f9983ca47f6f1b6b96e5c03ca Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 15 Apr 2009 15:40:00 -0700 Subject: Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+ What a difference a name makes... :-). Just because something is missnamed SAMR_ACCESS_OPEN_DOMAIN, when it should actually be SAMR_ACCESS_LOOKUP_DOMAIN, don't automatically use it for a security check in _samr_OpenDomain(). Jeremy. --- lib/util/smb_threads.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util') diff --git a/lib/util/smb_threads.h b/lib/util/smb_threads.h index 945e93803a3..c2ba53321a2 100644 --- a/lib/util/smb_threads.h +++ b/lib/util/smb_threads.h @@ -77,7 +77,7 @@ static int smb_lock_pthread(void *plock, enum smb_thread_lock_type lock_type, co } \ } \ \ -static pthread_mutex_t create_tls_mutex = PTHREAD_MUTEX_INITIALIZER; \ +static pthread_mutex_t smb_create_tls_mutex = PTHREAD_MUTEX_INITIALIZER; \ \ static int smb_create_tls_once_pthread(const char *keyname, void **ppkey, const char *location) \ { \ -- cgit v1.2.1