1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

s4-dsdb: Fixed incorrect LDAP return code when anonymous login is used.

This commit is contained in:
Nadezhda Ivanova 2010-12-15 21:28:12 +02:00
parent b3630b4739
commit a53f09b931

View File

@ -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)