summaryrefslogtreecommitdiff
path: root/source3/auth/auth_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/auth/auth_util.c')
-rw-r--r--source3/auth/auth_util.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 399a1e9006..ae1be761da 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -771,9 +771,11 @@ NTSTATUS make_server_info_sam(auth_serversupplied_info **server_info,
(*server_info)->sam_account = sampass;
+#if 0 /* JERRY */
+ /* disabled until winbindd_passdb is completed to prevent winbindd deadlock on a Samba PDC */
if (!NT_STATUS_IS_OK(nt_status = sid_to_uid(pdb_get_user_sid(sampass), &((*server_info)->uid))))
return nt_status;
-
+#endif
if (!(pwd = getpwuid_alloc(((*server_info)->uid)))) {
fstring sid;
DEBUG(1, ("User %s in passdb (%s) maps to UID, but getpwuid(%u) fails!\n",