diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-10-18 21:21:45 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-10-18 19:51:19 +0000 |
commit | dcbfcbbceb87e742b642a9dffee1304dcf0b93bb (patch) | |
tree | 74c1f994aa6af16e401697ed6ba00fff34e21e37 /source4/lib/ldb/ldb_tdb | |
parent | 902e7288a738c0580c466ae4c5c503d604c66e6e (diff) | |
download | samba-dcbfcbbceb87e742b642a9dffee1304dcf0b93bb.tar.gz samba-dcbfcbbceb87e742b642a9dffee1304dcf0b93bb.tar.bz2 samba-dcbfcbbceb87e742b642a9dffee1304dcf0b93bb.zip |
ldb: always return PROTOCOL_ERROR if an operation is unsupported
That's exactly the behaviour of various LDAP servers.
Diffstat (limited to 'source4/lib/ldb/ldb_tdb')
-rw-r--r-- | source4/lib/ldb/ldb_tdb/ldb_tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.c b/source4/lib/ldb/ldb_tdb/ldb_tdb.c index 435053703e..1637c66734 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_tdb.c +++ b/source4/lib/ldb/ldb_tdb/ldb_tdb.c @@ -1241,7 +1241,7 @@ static void ltdb_callback(struct tevent_context *ev, goto done; default: /* no other op supported */ - ret = LDB_ERR_UNWILLING_TO_PERFORM; + ret = LDB_ERR_PROTOCOL_ERROR; } if (!ctx->request_terminated) { |