mirror of
https://github.com/samba-team/samba.git
synced 2025-08-30 17:49:30 +03:00
s4-dsdb: silence the domainFunctionality not setup warning
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user