From dcbfcbbceb87e742b642a9dffee1304dcf0b93bb Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Mon, 18 Oct 2010 21:21:45 +0200 Subject: ldb: always return PROTOCOL_ERROR if an operation is unsupported That's exactly the behaviour of various LDAP servers. --- source4/lib/ldb/ldb_ildap/ldb_ildap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb/ldb_ildap') diff --git a/source4/lib/ldb/ldb_ildap/ldb_ildap.c b/source4/lib/ldb/ldb_ildap/ldb_ildap.c index 774336b82e..dab5abf661 100644 --- a/source4/lib/ldb/ldb_ildap/ldb_ildap.c +++ b/source4/lib/ldb/ldb_ildap/ldb_ildap.c @@ -759,7 +759,7 @@ static int ildb_handle_request(struct ldb_module *module, struct ldb_request *re break; default: /* no other op supported */ - ret = LDB_ERR_OPERATIONS_ERROR; + ret = LDB_ERR_PROTOCOL_ERROR; break; } -- cgit