[PATCH] s3-winbind: Try lsa connect over np if tcpip fails.
Christof Schmitt
christof.schmitt at us.ibm.com
Tue Aug 13 10:41:31 MDT 2013
On Tue, Aug 13, 2013 at 02:00:00PM +0200, Andreas Schneider wrote:
> BUG: https://bugzilla.samba.org/show_bug.cgi?id=9615
> BUG: https://bugzilla.samba.org/show_bug.cgi?id=9899
>
> Signed-off-by: Andreas Schneider <asn at samba.org>
> ---
> source3/winbindd/winbindd_cm.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
> index 6c3f6ea..e6b6822 100644
> --- a/source3/winbindd/winbindd_cm.c
> +++ b/source3/winbindd/winbindd_cm.c
> @@ -2642,11 +2642,10 @@ NTSTATUS cm_connect_lsat(struct winbindd_domain *domain,
> invalidate_cm_connection(&domain->conn);
> status = cm_connect_lsa_tcp(domain, mem_ctx, cli);
> }
> - if (!NT_STATUS_IS_OK(status)) {
> + if (NT_STATUS_IS_OK(status)) {
> return status;
> }
> -
> - return NT_STATUS_OK;
> + domain->can_do_ncacn_ip_tcp = false;
> }
>
> status = cm_connect_lsa(domain, mem_ctx, cli, lsa_policy);
> --
> 1.8.3.1
>
I just tested the patch. It fixes the problem pointed out in
https://bugzilla.samba.org/show_bug.cgi?id=9899#c9
--
Christof Schmitt || IBM || SONAS System Development || Tucson, AZ
christof.schmitt at us.ibm.com || +1-520-799-2469 (T/L: 321-2469)
More information about the samba-technical
mailing list