mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s4:rootdse LDB module - Return "UNWILLING_TO_PERFORM" when no attribute fits on a change
This commit is contained in:
parent
2af67a3602
commit
72e14ea8bd
@ -985,7 +985,8 @@ static int rootdse_modify(struct ldb_module *module, struct ldb_request *req)
|
|||||||
return rootdse_enableoptionalfeature(module, req);
|
return rootdse_enableoptionalfeature(module, req);
|
||||||
}
|
}
|
||||||
|
|
||||||
return LDB_ERR_OPERATIONS_ERROR;
|
ldb_set_errstring(ldb, "rootdse_modify: unknown attribute to change!");
|
||||||
|
return LDB_ERR_UNWILLING_TO_PERFORM;
|
||||||
}
|
}
|
||||||
|
|
||||||
_PUBLIC_ const struct ldb_module_ops ldb_rootdse_module_ops = {
|
_PUBLIC_ const struct ldb_module_ops ldb_rootdse_module_ops = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user