mirror of
https://github.com/samba-team/samba.git
synced 2025-09-02 01:49:29 +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 =
|
int *domainFunctionality =
|
||||||
talloc_get_type(ldb_get_opaque(ldb, "domainFunctionality"), int);
|
talloc_get_type(ldb_get_opaque(ldb, "domainFunctionality"), int);
|
||||||
if (!domainFunctionality) {
|
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 DS_DOMAIN_FUNCTION_2000;
|
||||||
}
|
}
|
||||||
return *domainFunctionality;
|
return *domainFunctionality;
|
||||||
|
Reference in New Issue
Block a user