[PATCH] s3-winbind: Try lsa connect over np if tcpip fails.

Stefan (metze) Metzmacher metze at samba.org
Tue Aug 13 05:03:43 MDT 2013


Hi Andreas,

> BUG: https://bugzilla.samba.org/show_bug.cgi?id=9615

Can you also https://bugzilla.samba.org/show_bug.cgi?id=9899

> Signed-off-by: Andreas Schneider <asn at samba.org>
> ---
>  source3/winbindd/winbindd_cm.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
> index 6c3f6ea..000dd2a 100644
> --- a/source3/winbindd/winbindd_cm.c
> +++ b/source3/winbindd/winbindd_cm.c
> @@ -2642,11 +2642,9 @@ 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;
>  		}
> -

I think we should remember here that tcp is not usable.

> -		return NT_STATUS_OK;
>  	}

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130813/effbd833/attachment.pgp>


More information about the samba-technical mailing list