diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-06-18 20:53:25 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-06-19 17:53:17 +0200 |
commit | 72e14ea8bd47695dcdf1a3c8ee3a017c6d2e4d5c (patch) | |
tree | 422746cf60936fb41140d51316a71ce3bef8f35a /source4/dsdb | |
parent | 2af67a3602528f55f3fb871bac0bc15ee88df702 (diff) | |
download | samba-72e14ea8bd47695dcdf1a3c8ee3a017c6d2e4d5c.tar.gz samba-72e14ea8bd47695dcdf1a3c8ee3a017c6d2e4d5c.tar.bz2 samba-72e14ea8bd47695dcdf1a3c8ee3a017c6d2e4d5c.zip |
s4:rootdse LDB module - Return "UNWILLING_TO_PERFORM" when no attribute fits on a change
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/rootdse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c index 3254355541..d24ed42a38 100644 --- a/source4/dsdb/samdb/ldb_modules/rootdse.c +++ b/source4/dsdb/samdb/ldb_modules/rootdse.c @@ -985,7 +985,8 @@ static int rootdse_modify(struct ldb_module *module, struct ldb_request *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 = { |