s4:netlogon RPC - Fix up a comment
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Sun, 22 Nov 2009 14:50:36 +0000 (15:50 +0100)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Sun, 22 Nov 2009 14:50:36 +0000 (15:50 +0100)
Now we have Windows 7 released so don't refer to a beta anymore.

source4/rpc_server/netlogon/dcerpc_netlogon.c

index d59cb6fb823d480903d4a66195672e18d15f79c5..1cdb172225613d94963e2f6cb05d61b4fe7f0e10 100644 (file)
@@ -1413,10 +1413,11 @@ static WERROR dcesrv_netr_DsRGetDCNameEx2(struct dcesrv_call_state *dce_call, TA
                return WERR_DS_UNAVAILABLE;
        }
 
-       /* Win7-beta will send the domain name in the form the user typed, so we have to cope
-          with both the short and long form here */
-       if (r->in.domain_name != NULL && !lp_is_my_domain_or_realm(dce_call->conn->dce_ctx->lp_ctx, 
-                                                               r->in.domain_name)) {
+       /* Windows 7 sends the domain name in the form the user typed, so we
+        * have to cope  with both the short and long form here */
+       if (r->in.domain_name != NULL &&
+                       !lp_is_my_domain_or_realm(dce_call->conn->dce_ctx->lp_ctx,
+                                                 r->in.domain_name)) {
                return WERR_NO_SUCH_DOMAIN;
        }