diff options
author | Martin Pool <mbp@samba.org> | 2002-01-22 05:11:28 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2002-01-22 05:11:28 +0000 |
commit | c69d1b943470aeebcee0dfcb4fd1051b8b070e29 (patch) | |
tree | fd85597a1c458336c2f2bb82dbb9294e19a00eea /source3/libsmb | |
parent | c4fe824c42a36f19d19eb5cca5f62f883410ab98 (diff) | |
download | samba-c69d1b943470aeebcee0dfcb4fd1051b8b070e29.tar.gz samba-c69d1b943470aeebcee0dfcb4fd1051b8b070e29.tar.bz2 samba-c69d1b943470aeebcee0dfcb4fd1051b8b070e29.zip |
Add more string explanations of RAP errors that are already documented
in clirap2.
(This used to be commit 935955b50ff503d18265f745e6e0df90d3e5dd4b)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clierror.c | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/source3/libsmb/clierror.c b/source3/libsmb/clierror.c index 81e8be36a8..637f362ae8 100644 --- a/source3/libsmb/clierror.c +++ b/source3/libsmb/clierror.c @@ -25,6 +25,10 @@ /***************************************************** RAP error codes - a small start but will be extended. + + XXX: Perhaps these should move into a common function because they're + duplicated in clirap2.c + *******************************************************/ static const struct @@ -33,14 +37,19 @@ static const struct char *message; } rap_errmap[] = { - {5, "User has insufficient privilege" }, - {86, "The specified password is invalid" }, - {2226, "Operation only permitted on a Primary Domain Controller" }, - {2242, "The password of this user has expired." }, - {2243, "The password of this user cannot change." }, - {2244, "This password cannot be used now (password history conflict)." }, - {2245, "The password is shorter than required." }, - {2246, "The password of this user is too recent to change."}, + {5, "RAP5: User has insufficient privilege" }, + {50, "RAP50: Not supported by server" }, + {65, "RAP65: Access denied" }, + {86, "RAP86: The specified password is invalid" }, + {2220, "RAP2220: Group does not exist" }, + {2221, "RAP2221: User does not exist" }, + {2226, "RAP2226: Operation only permitted on a Primary Domain Controller" }, + {2237, "RAP2237: User is not in group" }, + {2242, "RAP2242: The password of this user has expired." }, + {2243, "RAP2243: The password of this user cannot change." }, + {2244, "RAP2244: This password cannot be used now (password history conflict)." }, + {2245, "RAP2245: The password is shorter than required." }, + {2246, "RAP2246: The password of this user is too recent to change."}, /* these really shouldn't be here ... */ {0x80, "Not listening on called name"}, |