diff options
author | Tim Potter <tpot@samba.org> | 2001-11-23 05:37:40 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-11-23 05:37:40 +0000 |
commit | 6ce1eec09de64f19d969a67fc236abd4ae277926 (patch) | |
tree | a751e2586f87004f275d0170b671009906fcde20 /source/libsmb | |
parent | 53963eae7d5930246c6c0c0b947f425d50d382c3 (diff) | |
download | samba-6ce1eec09de64f19d969a67fc236abd4ae277926.tar.gz samba-6ce1eec09de64f19d969a67fc236abd4ae277926.tar.xz samba-6ce1eec09de64f19d969a67fc236abd4ae277926.zip |
Added constants and error message for dos error code 1326 (logon failure).
Diffstat (limited to 'source/libsmb')
-rw-r--r-- | source/libsmb/errormap.c | 2 | ||||
-rw-r--r-- | source/libsmb/smberr.c | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/source/libsmb/errormap.c b/source/libsmb/errormap.c index 65dcdf4bdf7..18e70eed368 100644 --- a/source/libsmb/errormap.c +++ b/source/libsmb/errormap.c @@ -133,7 +133,7 @@ static struct { {ERRSRV, ERRbadpw, NT_STATUS_WRONG_PASSWORD}, {ERRDOS, 1324, NT_STATUS_ILL_FORMED_PASSWORD}, {ERRDOS, 1325, NT_STATUS_PASSWORD_RESTRICTION}, - {ERRDOS, 1326, NT_STATUS_LOGON_FAILURE}, + {ERRDOS, ERRlogonfailure, NT_STATUS_LOGON_FAILURE}, {ERRDOS, 1327, NT_STATUS_ACCOUNT_RESTRICTION}, {ERRDOS, 1328, NT_STATUS_INVALID_LOGON_HOURS}, {ERRDOS, 1329, NT_STATUS_INVALID_WORKSTATION}, diff --git a/source/libsmb/smberr.c b/source/libsmb/smberr.c index 66256d2385d..a43e4764e86 100644 --- a/source/libsmb/smberr.c +++ b/source/libsmb/smberr.c @@ -25,6 +25,17 @@ /* error code stuff - put together by Merik Karman merik@blackadder.dsh.oz.au */ + +/* There is a big list of error codes and their meanings at: + + http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/errlist_7oz7.asp + + and if you don't like MSDN try: + + http://www.siris.gr/computers/library/error.htm + +*/ + typedef const struct { char *name; @@ -64,6 +75,7 @@ err_code_struct dos_msgs[] = { {"ERRnotconnected",ERRnotconnected,"No process on other end of pipe."}, {"ERRmoredata",ERRmoredata,"There is more data to be returned."}, {"ERRinvgroup",2455,"Invalid workgroup (try the -W option)"}, + {"ERRlogonfailure",ERRlogonfailure,"Logon failure"}, {NULL,-1,NULL}}; /* Server Error Messages */ |