summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-22 16:10:51 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-22 17:06:09 +0200
commit823ce6f50f054aa2c9e769357fa30538e2cc9d0e (patch)
treeee21611334a5c1fe2a6f88e05ab6a75d9c2bf908
parentb87bd59ecb5e36db4e18c621bbb3cca9268fed0b (diff)
downloadsamba-823ce6f50f054aa2c9e769357fa30538e2cc9d0e.tar.gz
samba-823ce6f50f054aa2c9e769357fa30538e2cc9d0e.tar.bz2
samba-823ce6f50f054aa2c9e769357fa30538e2cc9d0e.zip
s3:auth_domain: we already have the dc_name, it's the same as cli->desthost
metze
-rw-r--r--source3/auth/auth_domain.c2
1 files changed, 1 insertions, 1 deletions
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