summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-14 19:44:58 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-14 19:44:58 +0200
commitd6ccd4c9daaaf19e9fb4dd16ba8b6599d28ef1d5 (patch)
tree20432bb57f2e4764208fe077739c6dc1a1c80ce5 /source4/ldap_server
parent7ffae937625afa59f2e554f4aa7dc2113699f7df (diff)
downloadsamba-d6ccd4c9daaaf19e9fb4dd16ba8b6599d28ef1d5.tar.gz
samba-d6ccd4c9daaaf19e9fb4dd16ba8b6599d28ef1d5.tar.bz2
samba-d6ccd4c9daaaf19e9fb4dd16ba8b6599d28ef1d5.zip
s4:ldap_backend.c - fix a DS error code after WERROR change
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c
index a6566df92a..d5b1a39181 100644
--- a/source4/ldap_server/ldap_backend.c
+++ b/source4/ldap_server/ldap_backend.c
@@ -59,7 +59,7 @@ static int map_ldb_error(TALLOC_CTX *mem_ctx, int ldb_err,
err = WERR_DS_TIMELIMIT_EXCEEDED;
break;
case LDB_ERR_SIZE_LIMIT_EXCEEDED:
- err = WERR_DS_SIZE_LIMIT_EXCEEDED;
+ err = WERR_DS_SIZELIMIT_EXCEEDED;
break;
case LDB_ERR_COMPARE_FALSE:
err = WERR_DS_COMPARE_FALSE;