diff options
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/errormap.c | 2 | ||||
-rw-r--r-- | source3/libsmb/smberr.c | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c index 65dcdf4bdf..18e70eed36 100644 --- a/source3/libsmb/errormap.c +++ b/source3/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/source3/libsmb/smberr.c b/source3/libsmb/smberr.c index 66256d2385..a43e4764e8 100644 --- a/source3/libsmb/smberr.c +++ b/source3/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 */ |