Fix the build with DNS_UPDATES
authorVolker Lendecke <vl@samba.org>
Sat, 10 May 2008 08:58:23 +0000 (10:58 +0200)
committerVolker Lendecke <vl@samba.org>
Sat, 10 May 2008 08:58:56 +0000 (10:58 +0200)
(This used to be commit 6c9500c290fe0d6d71d4c33eb265906ce3a1d9f3)

source3/utils/net_ads.c

index 5b84eb552261277bdc73d27d56baef95dd0c23d4..8efc64fa8ce26a6300ebe811ec6dd183ba8ec340 100644 (file)
@@ -1295,7 +1295,7 @@ static int net_ads_dns_register(struct net_context *c, int argc, const char **ar
                return -1;
        }
 
-       status = ads_startup(True, &ads);
+       status = ads_startup(c, True, &ads);
        if ( !ADS_ERR_OK(status) ) {
                DEBUG(1, ("error on ads_startup: %s\n", ads_errstr(status)));
                TALLOC_FREE(ctx);