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:
parent
e90b9640bd
commit
57f67701a6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user