git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
296364f
)
s3:winbindd_cm: invalidate connection if cm_connect_netlogon() fails
author
Stefan Metzmacher
<metze@samba.org>
Thu, 25 Mar 2010 14:25:47 +0000
(15:25 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 7 Apr 2010 12:00:05 +0000
(14:00 +0200)
metze
(cherry picked from commit
94a4bcd2f0c0464e192556679c6636639cb307ea
)
(cherry picked from commit
c046ae8428fb62ff2749689e7c738f1a2e8f8251
)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/winbindd/winbindd_cm.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_cm.c
b/source3/winbindd/winbindd_cm.c
index 4199e1acdeefa7e6c5e38867f6ea1006ff3c9885..4e27cc3a0154718f0ae43034fe30f1ae252af5e0 100644
(file)
--- a/
source3/winbindd/winbindd_cm.c
+++ b/
source3/winbindd/winbindd_cm.c
@@
-2452,8
+2452,8
@@
NTSTATUS cm_connect_netlogon(struct winbindd_domain *domain,
DEBUG(3, ("Could not open schannel'ed NETLOGON pipe. Error "
"was %s\n", nt_errstr(result)));
- /* make sure we return something besides OK */
- return
!NT_STATUS_IS_OK(result) ? result : NT_STATUS_PIPE_NOT_AVAILABLE
;
+ invalidate_cm_connection(conn);
+ return
result
;
}
/*