git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f391fe
)
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>
Mon, 29 Mar 2010 16:11:18 +0000
(18:11 +0200)
metze
source3/winbindd/winbindd_cm.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_cm.c
b/source3/winbindd/winbindd_cm.c
index c5f93728ba2711035ddb21f931b339950d4bd2e1..0f0d5f810719e3d448c3e0aeb79610e128f10156 100644
(file)
--- a/
source3/winbindd/winbindd_cm.c
+++ b/
source3/winbindd/winbindd_cm.c
@@
-2464,8
+2464,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
;
}
/*