From 823ce6f50f054aa2c9e769357fa30538e2cc9d0e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 22 Jul 2011 16:10:51 +0200 Subject: s3:auth_domain: we already have the dc_name, it's the same as cli->desthost metze --- source3/auth/auth_domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c index 47d4eb025b..a4e798e4e9 100644 --- a/source3/auth/auth_domain.c +++ b/source3/auth/auth_domain.c @@ -299,7 +299,7 @@ static NTSTATUS domain_client_validate(TALLOC_CTX *mem_ctx, /* store a successful connection */ - saf_store( domain, cli->desthost ); + saf_store(domain, dc_name); /* * If this call succeeds, we now have lots of info about the user -- cgit