From a53f09b9312fc08d4cdb2d94ec9119ee29b1bf84 Mon Sep 17 00:00:00 2001 From: Nadezhda Ivanova Date: Wed, 15 Dec 2010 21:28:12 +0200 Subject: [PATCH] s4-dsdb: Fixed incorrect LDAP return code when anonymous login is used. --- source4/dsdb/samdb/ldb_modules/rootdse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c index e7ea7651e02..2571bc3c8b1 100644 --- a/source4/dsdb/samdb/ldb_modules/rootdse.c +++ b/source4/dsdb/samdb/ldb_modules/rootdse.c @@ -641,7 +641,7 @@ static int rootdse_filter_operations(struct ldb_module *module, struct ldb_reque } } ldb_set_errstring(ldb_module_get_ctx(module), "Operation unavailable without authentication"); - return LDB_ERR_STRONG_AUTH_REQUIRED; + return LDB_ERR_OPERATIONS_ERROR; } static int rootdse_search(struct ldb_module *module, struct ldb_request *req) -- 2.11.4.GIT