1
0
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:
Matthias Dieter Wallnöfer 2010-06-18 20:53:25 +02:00
parent 2af67a3602
commit 72e14ea8bd

View File

@ -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 = {