mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
s4-schema_load: Strip a pointless check
If *schema is NULL, then dsdb_schema_from_ldb_results() call should have failed
This commit is contained in:
parent
654e0102dd
commit
be27a9dc42
@ -239,9 +239,7 @@ static int dsdb_schema_from_db(struct ldb_module *module, struct ldb_dn *schema_
|
||||
/* "dsdb_set_schema()" steals schema into the ldb_context */
|
||||
ret = dsdb_set_schema(ldb, (*schema));
|
||||
|
||||
if (*schema != NULL) {
|
||||
(*schema)->refresh_in_progress = false;
|
||||
}
|
||||
(*schema)->refresh_in_progress = false;
|
||||
|
||||
if (ret != LDB_SUCCESS) {
|
||||
ldb_debug_set(ldb, LDB_DEBUG_FATAL,
|
||||
|
Loading…
Reference in New Issue
Block a user