s4-dsdb: silence the domainFunctionality not setup warning
authorAndrew Tridgell <tridge@samba.org>
Thu, 30 Sep 2010 19:42:35 +0000 (12:42 -0700)
committerAndrew Tridgell <tridge@samba.org>
Thu, 30 Sep 2010 21:36:11 +0000 (14:36 -0700)
source4/dsdb/common/util.c

index a5d0f60f517c022c56034a1314d50af0e6c3667e..3259eabc3cf4ec28b6755570410faa3f4be9ef16 100644 (file)
@@ -3059,7 +3059,8 @@ int dsdb_functional_level(struct ldb_context *ldb)
        int *domainFunctionality =
                talloc_get_type(ldb_get_opaque(ldb, "domainFunctionality"), int);
        if (!domainFunctionality) {
-               DEBUG(0,(__location__ ": WARNING: domainFunctionality not setup\n"));
+               /* this is expected during initial provision */
+               DEBUG(4,(__location__ ": WARNING: domainFunctionality not setup\n"));
                return DS_DOMAIN_FUNCTION_2000;
        }
        return *domainFunctionality;