summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-05-15 07:16:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:28 -0500
commitcb00a33c672ce78dc58a722804013e5b567fdf45 (patch)
treea9628dc159191348f0117044e1ee8633b0fc36ef
parent61e5856403835df0526065bc2bdc8f3ae5611c1a (diff)
downloadsamba-cb00a33c672ce78dc58a722804013e5b567fdf45.tar.gz
samba-cb00a33c672ce78dc58a722804013e5b567fdf45.tar.bz2
samba-cb00a33c672ce78dc58a722804013e5b567fdf45.zip
r22884: Be consistant with the case of these constants.
Andrew Bartlett (This used to be commit 7b086eebd6af21674ca18c7d9b35cb2c6b57514a)
-rw-r--r--source4/libcli/ldap/ldap.h2
-rw-r--r--source4/libcli/ldap/ldap_client.c2
-rw-r--r--source4/libcli/util/nterr.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/ldap/ldap.h b/source4/libcli/ldap/ldap.h
index 30c5acc6fb..faf6815390 100644
--- a/source4/libcli/ldap/ldap.h
+++ b/source4/libcli/ldap/ldap.h
@@ -79,7 +79,7 @@ enum ldap_result_code {
LDAP_ALIAS_DEREFERENCING_PROBLEM = 36,
LDAP_INAPPROPRIATE_AUTHENTICATION = 48,
LDAP_INVALID_CREDENTIALS = 49,
- LDAP_INSUFFICIENT_ACCESS_RIGHTs = 50,
+ LDAP_INSUFFICIENT_ACCESS_RIGHTS = 50,
LDAP_BUSY = 51,
LDAP_UNAVAILABLE = 52,
LDAP_UNWILLING_TO_PERFORM = 53,
diff --git a/source4/libcli/ldap/ldap_client.c b/source4/libcli/ldap/ldap_client.c
index 39f265015a..c819122dd2 100644
--- a/source4/libcli/ldap/ldap_client.c
+++ b/source4/libcli/ldap/ldap_client.c
@@ -658,7 +658,7 @@ static const struct {
_LDAP_MAP_CODE(LDAP_ALIAS_DEREFERENCING_PROBLEM),
_LDAP_MAP_CODE(LDAP_INAPPROPRIATE_AUTHENTICATION),
_LDAP_MAP_CODE(LDAP_INVALID_CREDENTIALS),
- _LDAP_MAP_CODE(LDAP_INSUFFICIENT_ACCESS_RIGHTs),
+ _LDAP_MAP_CODE(LDAP_INSUFFICIENT_ACCESS_RIGHTS),
_LDAP_MAP_CODE(LDAP_BUSY),
_LDAP_MAP_CODE(LDAP_UNAVAILABLE),
_LDAP_MAP_CODE(LDAP_UNWILLING_TO_PERFORM),
diff --git a/source4/libcli/util/nterr.c b/source4/libcli/util/nterr.c
index 5b6e2b2b50..59d4bb0c1f 100644
--- a/source4/libcli/util/nterr.c
+++ b/source4/libcli/util/nterr.c
@@ -699,7 +699,7 @@ static const nt_err_code_struct nt_errs[] =
LDAP_CODE(LDAP_ALIAS_DEREFERENCING_PROBLEM),
LDAP_CODE(LDAP_INAPPROPRIATE_AUTHENTICATION),
LDAP_CODE(LDAP_INVALID_CREDENTIALS),
- LDAP_CODE(LDAP_INSUFFICIENT_ACCESS_RIGHTs),
+ LDAP_CODE(LDAP_INSUFFICIENT_ACCESS_RIGHTS),
LDAP_CODE(LDAP_BUSY),
LDAP_CODE(LDAP_UNAVAILABLE),
LDAP_CODE(LDAP_UNWILLING_TO_PERFORM),