The Samba-Bugzilla – Attachment 6863 Details for
Bug 8441
Winbind child RPC connection fails to reconnect once lost, requires restart
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to test the RPC connection validity
check_rpc_lsa_connection.diff (text/plain), 679 bytes, created by
hargagan
on 2011-09-07 10:59:34 UTC
(
hide
)
Description:
Patch to test the RPC connection validity
Filename:
MIME Type:
Creator:
hargagan
Created:
2011-09-07 10:59:34 UTC
Size:
679 bytes
patch
obsolete
>Index: source3/winbindd/winbindd_cm.c >=================================================================== >--- source3/winbindd/winbindd_cm.c.orig >+++ source3/winbindd/winbindd_cm.c >@@ -2202,7 +2202,11 @@ NTSTATUS cm_connect_lsa_tcp(struct winbi > conn->lsa_pipe_tcp->transport->transport == NCACN_IP_TCP && > conn->lsa_pipe_tcp->auth->auth_level == PIPE_AUTH_LEVEL_PRIVACY && > rpc_pipe_tcp_connection_ok(conn->lsa_pipe_tcp)) { >- goto done; >+ status = rpccli_lsa_TestCall(conn->lsa_pipe_tcp, mem_ctx); >+ if (NT_STATUS_IS_OK(status)) { >+ goto done; >+ } >+ DEBUG(5, ("Connection is not valid anymore, reconnecting\n")); > } > > TALLOC_FREE(conn->lsa_pipe_tcp);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 8441
: 6863