1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

Add more string explanations of RAP errors that are already documented

in clirap2.
This commit is contained in:
Martin Pool
-
parent 7f7d22880d
commit 935955b50f

View File

@ -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"},