1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4-dsdb: silence the domainFunctionality not setup warning

This commit is contained in:
Andrew Tridgell 2010-09-30 12:42:35 -07:00
parent e90b9640bd
commit 57f67701a6

View 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;