summaryrefslogtreecommitdiff
path: root/source3/libsmb/errormap.c
AgeCommit message (Collapse)AuthorFilesLines
2003-10-08Fixup error code returns from Samba4 tester. Ensure invalid paths areJeremy Allison1-1/+1
validated the same way. Jeremy. (This used to be commit 960e2b4a5f09d3ef80a926894ee7a28549b8de45)
2003-08-02port latest changes from SAMBA_3_0 treeSimo Sorce1-0/+1
(This used to be commit 3101c236b8241dc0183995ffceed551876427de4)
2003-02-15Move our NTLMSSP client code into ntlmssp.c. The intention is to provide aAndrew Bartlett1-1/+1
relitivly useful external lib from this code, and to remove the dupicate NTLMSSP code elsewhere in samba (RPC pipes, LDAP client). The code I've replaced this with in cliconnect.c is relitivly ugly, and I hope to replace it with a more general SPENGO layer at some later date. Andrew Bartlett (This used to be commit b2b66909ac2e251f8189e0696b6075dbf748521a)
2003-01-02BIG patch...Andrew Bartlett1-3/+3
This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett (This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
2002-12-11Fix write error returning EFBIG - found by Conrad.Jeremy Allison1-0/+3
Jeremy. (This used to be commit 2d63fc7760634308cc280e4d745a6f7398f75d20)
2002-11-10consolidate error mapping functions into a single fileSimo Sorce1-0/+55
(This used to be commit 80086728f2b0d5d56a8ed9e427cba36898d68fc7)
2002-07-03Add my copyright (which I should have added months ago...)Andrew Bartlett1-0/+1
(This used to be commit 2d7eccbeb258b4fdd14323a40f9537eb265f73e1)
2002-03-23Make a number of the lookup tables 'const'. I'm told this assists in sharingAndrew Bartlett1-3/+3
memory between users of shared libs. Andrew Bartlett (This used to be commit 41dd5a4d292bb08fa313f6220014cd9b4490237b)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-17fixed a typo in the error map for WRONG_PASSWORDAndrew Tridgell1-1/+1
(This used to be commit fb300e411bb385dcba2c3ca166598a71ed693b35)
2002-01-16Fixup error mapping so we have only one table containing errno -> dos error ↵Jeremy Allison1-0/+1
-> NT STATUS maps. Fixes problem with disk full returning incorrect error. Jeremy. (This used to be commit 16fcbf3c1ccf1d704765653f68395dd596c0d841)
2002-01-06DOS error 31 is ERRgeneral, General Failure. This is the WERROR equivalentTim Potter1-1/+1
to NT_STATUS_UNSUCCESSFUL according to AB's funky new error map. (This used to be commit 9c968fbb017d3369ac207e65348a9a22dbed0213)
2002-01-05Add a comment on how this error map was derrived.Andrew Bartlett1-0/+22
This applies only to the NT->Dos map, I'm still trying to come up with a way to do the reverse. (This used to be commit 323dd422bd4bdeeee72c9200821e28f86d3072c8)
2002-01-03Update the NT_STATUS -> DOS error table.Andrew Bartlett1-404/+427
This new table is rather different to the old one (see diff posted to the list for a sorted list of differences) and needs a *lot* of testing. It does however seem to line up much better with what NT is using, as exampled by the change to the OBJECT_NAME_COLLISION DOS error, it now matches win2k where it didn't before. I can't see any critical errors we now get wrong, and I know that the auth errors are correct as per my on-the-wire observations. This table was produced (and I hope to comment this better later) by using the ERRMAPEXTRACT smbtorture tool, a Win2k domain member and the 'name_to_ntstatus' auth module on the HEAD PDC. This module returned the username as the error, and the NT box was forced to give me a dos error becouse thats all I negotiated on that connection. Hence the map. Andrew Bartlett (This used to be commit a855dfb2e0b899d03087860e5462c2aed3ca4cad)
2002-01-01This brings the NT->DOS error mapping into better line with what NT does.Andrew Bartlett1-2/+2
I'll post the changes to the actual map to the list for comment, but this fixes the 'unknown' case. Andrew Bartlett (This used to be commit 024843a2cedb0b9f06a3351c5838caea372b6c5c)
2001-12-10NT_STATUS(0x80000005) maps to ERRDOS,234Jean-François Micouleau1-1/+1
J.F. (This used to be commit 80e36549b61cc2bb5148f6abb175d31a0c7782a1)
2001-11-23Update some of the error mapping, based on on-the-wire observations of an ↵Andrew Bartlett1-7/+7
NT4 server. This lets our Win9X clients give sane error messages when you get passwords wrong and the like. Andrew Bartlett (This used to be commit f199e9518226ed57a011113bdf06c85265e49674)
2001-11-23Added constants and error message for dos error code 1326 (logon failure).Tim Potter1-1/+1
(This used to be commit 6ce1eec09de64f19d969a67fc236abd4ae277926)
2001-09-03more NTSTATUS/WERROR conversionAndrew Tridgell1-0/+584
(This used to be commit ad648c5cd8ebe4be8304379117f403d7673dcbc8)
2001-09-01use a name not a number for ERRinsufficientbufferAndrew Tridgell1-1/+1
(This used to be commit 8e70666fccde1025d77e4db51b5b63e5142d98ec)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell1-1/+1
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-08-27started converting NTSTATUS to be a structure on systems with gcc in order ↵Andrew Tridgell1-0/+854
to make it type incompatible with BOOL so we catch errors sooner. This has already found a number of bugs (This used to be commit 1b778bc7d22efff3f90dc450eb12baa1241cf68f)