git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b18acb
)
temporarily disable a sanity check to prevent winbindd from deadlocking
author
Gerald Carter
<jerry@samba.org>
Mon, 7 Jul 2003 05:28:51 +0000
(
05:28
+0000)
committer
Gerald Carter
<jerry@samba.org>
Mon, 7 Jul 2003 05:28:51 +0000
(
05:28
+0000)
on a Samba PDC. Will be re-enabled after winbind_passdb is done.
(This used to be commit
c4762aa3bc0d5d2dc5161b543b22808a369e0698
)
source3/auth/auth_util.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth_util.c
b/source3/auth/auth_util.c
index 399a1e900662264f113d23196255f9032d3e5d62..ae1be761dad42c248d13d1f1eff5bdbe4127c71d 100644
(file)
--- 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",