s3:auth_domain: we already have the dc_name, it's the same as cli->desthost
authorStefan Metzmacher <metze@samba.org>
Fri, 22 Jul 2011 14:10:51 +0000 (16:10 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 22 Jul 2011 15:06:09 +0000 (17:06 +0200)
metze

source3/auth/auth_domain.c

index 47d4eb025b12453711f0e58dbbbbf084dbce6b81..a4e798e4e9a6584741bfd99d6d1f650f85137f2d 100644 (file)
@@ -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