s3:net ads join: add a comment for the call to _net_ads_join_dns_update()
authorMichael Adam <obnox@samba.org>
Tue, 31 Jan 2012 15:15:54 +0000 (16:15 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 31 Jan 2012 16:00:30 +0000 (17:00 +0100)
source3/utils/net_ads.c

index 09235051e9e98fa248afb4d9aaf817c6cf54f9df..c8c648c0ee0960460dace2ebcbf7e3d9e3648e2b 100644 (file)
@@ -1528,6 +1528,11 @@ int net_ads_join(struct net_context *c, int argc, const char **argv)
                        r->out.netbios_domain_name);
        }
 
+       /*
+        * We try doing the dns update (if it was compiled in).
+        * If the dns update fails, we still consider the join
+        * operation as succeeded if we came this far.
+        */
        _net_ads_join_dns_updates(ctx, r);
 
        TALLOC_FREE(r);