summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorNadezhda Ivanova <nivanova@samba.org>2010-12-15 21:28:12 +0200
committerNadezhda Ivanova <nivanova@samba.org>2010-12-15 20:46:17 +0100
commita53f09b9312fc08d4cdb2d94ec9119ee29b1bf84 (patch)
tree8005b8a7ff8d2a3e5f264c44c7feede808de5873 /source4
parentb3630b4739b8cb7cf99e46ae13bbe52819a95750 (diff)
downloadsamba-a53f09b9312fc08d4cdb2d94ec9119ee29b1bf84.tar.gz
samba-a53f09b9312fc08d4cdb2d94ec9119ee29b1bf84.tar.bz2
samba-a53f09b9312fc08d4cdb2d94ec9119ee29b1bf84.zip
s4-dsdb: Fixed incorrect LDAP return code when anonymous login is used.
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/rootdse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c
index e7ea7651e0..2571bc3c8b 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)