From f8425b73d7b35e0f31124799d785f5e46dcbf972 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 24 Sep 2009 06:45:10 +0200 Subject: Revert "s3:winbindd: use a tcp connection for lsa in case lookup_names/lookup_sids doesn't work over ncacn_np" This reverts commit f23691cffd39e5df81b7b075e61ed1def6cce9f6. This should not have been commited... metze --- source3/winbindd/winbindd_cm.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index e83d5b0101..05df19fd0c 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -2310,8 +2310,6 @@ NTSTATUS cm_connect_lsa(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, DEBUG(10,("cm_connect_lsa: connected to LSA pipe for domain %s using " "schannel.\n", domain->name )); - domain->can_do_ncacn_ip_tcp = domain->active_directory; - result = rpccli_lsa_open_policy(conn->lsa_pipe, mem_ctx, True, SEC_FLAG_MAXIMUM_ALLOWED, &conn->lsa_policy); @@ -2319,13 +2317,6 @@ NTSTATUS cm_connect_lsa(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, goto done; } - if (NT_STATUS_EQUAL(result, NT_STATUS_RPC_CANNOT_SUPPORT)) { - domain->can_do_ncacn_ip_tcp = true; - ZERO_STRUCT(conn->lsa_policy); - result = NT_STATUS_OK; - goto done; - } - DEBUG(10,("cm_connect_lsa: rpccli_lsa_open_policy failed, trying " "anonymous\n")); -- cgit