summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-30 12:42:35 -0700
committerAndrew Tridgell <tridge@samba.org>2010-09-30 14:36:11 -0700
commit57f67701a694b03f7c227c0f58729bf6d3733bbc (patch)
treef142836bd56baded8c0fb2f965af5501b7688ede
parente90b9640bd279a2030e4e3cbac8eabd979fce14c (diff)
downloadsamba-57f67701a694b03f7c227c0f58729bf6d3733bbc.tar.gz
samba-57f67701a694b03f7c227c0f58729bf6d3733bbc.tar.bz2
samba-57f67701a694b03f7c227c0f58729bf6d3733bbc.zip
s4-dsdb: silence the domainFunctionality not setup warning
-rw-r--r--source4/dsdb/common/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index a5d0f60f51..3259eabc3c 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -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;