From c69d1b943470aeebcee0dfcb4fd1051b8b070e29 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Tue, 22 Jan 2002 05:11:28 +0000 Subject: Add more string explanations of RAP errors that are already documented in clirap2. (This used to be commit 935955b50ff503d18265f745e6e0df90d3e5dd4b) --- source3/libsmb/clierror.c | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'source3') 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"}, -- cgit