summaryrefslogtreecommitdiff
path: root/source3/libsmb/nterr.c
AgeCommit message (Collapse)AuthorFilesLines
2009-09-11s3-errors: add NT_STATUS_RPC_NT_PROCNUM_OUT_OF_RANGE.Günther Deschner1-0/+1
Guenther
2009-09-11s3-nterr: add NT_STATUS_RPC_NT_PROTOCOL_ERROR to nt_errstr().Günther Deschner1-0/+1
Guenther
2009-09-08s3-nterr: add NT_STATUS_RPC_NT_CALL_FAILED.Günther Deschner1-0/+1
Guenther
2009-07-31s3: Remove invalid constantMatthias Dieter Wallnöfer1-1/+0
2009-02-10If we receive a DOS error code, nt_errstr should display itVolker Lendecke1-0/+5
2008-11-10nterrors: add NT_STATUS_DS_BUSY.Günther Deschner1-0/+1
Guenther
2008-10-23Use common error definitions.Jelmer Vernooij1-2/+2
2008-08-13Revert "If it is a forced DOS error, nt_errstr should say so"Volker Lendecke1-5/+0
This reverts commit ef5489ac805237274d6088aaa7ae870cc0deb52f. (This used to be commit e987e9956f02557c7ec87a369b92f87083fda620)
2008-08-13If it is a forced DOS error, nt_errstr should say soVolker Lendecke1-0/+5
(This used to be commit ef5489ac805237274d6088aaa7ae870cc0deb52f)
2008-04-03Add NT_STATUS_RPC_CANNOT_SUPPORT.Günther Deschner1-0/+1
Guenther (This used to be commit 9e15ce03ca66a0b5ffdb39dd2faaad6e0f967e31)
2007-12-07Add NT_STATUS_DOWNGRADE_DETECTED (thanks to Magnus Mertens).Günther Deschner1-0/+1
Guenther (This used to be commit 970daaa0a620d8e47475909cd7b5e54869602530)
2007-11-11Some pstring removalVolker Lendecke1-8/+10
Hi! Feel free to push :-) Volker From 7fae6b3709a973bd0a5a13d3f5c880c61d5e35de Mon Sep 17 00:00:00 2001 From: Volker Lendecke <vl@sernet.de> Date: Sun, 11 Nov 2007 15:28:59 +0100 Subject: [PATCH] Remove some static pstrings (This used to be commit c3a66b4ee97a902c5cf43c3bb145541849a029ed)
2007-10-10r25538: Revert r25533Volker Lendecke1-2/+26
(This used to be commit 1e02208c43cb27ca4b43d268a7f0324f2a9b2cfd)
2007-10-10r25533: remove a pstringVolker Lendecke1-26/+2
(This used to be commit 0f2552e20fb66b0b80006a8a7b999ccf6f54c656)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r21581: Add an error code I just gotVolker Lendecke1-0/+1
(This used to be commit 5ef0286b56b368abd4da2cbe3d826a3438f3acc3)
2007-10-10r18891: Fix "double const" warning from host opiVolker Lendecke1-1/+1
(This used to be commit 47c19811ae2282259f523a0d41a08d84de74cbda)
2007-10-10r18865: fixed some of the most obvious NTSTATUS/WERROR mixups in Samba3. ItAndrew Tridgell1-1/+1
still doesn't compile with immediate structures and the NTSTATUS/WERROR separation, as there are still several places where the two error types are mixed up. I haven't fixed those as they require decisions about the rpcclient code that I really don't want to get into (the error handling there is a mess) So samba3 compiles now, but only becaise HAVE_IMMEDIATE_STRUCTURES is not used (look for HAVE_IMMEDIATE_STRUCTURES_XX_DISABLED) (This used to be commit 8438a6a7d4506d395c8b4bd0e99f9c100e5e3c4e)
2007-10-10r17855: Fix the build on systems without LDAPVolker Lendecke1-0/+2
(This used to be commit 2e9f5c520a843ad22088388d155a172a63c140d5)
2007-10-10r17854: Steal the LDAP in NTSTATUS trick from Samba4Volker Lendecke1-2/+5
Thanks to Michael Adam <ma@sernet.de> Volker (This used to be commit 91878f9b6fbe5187fb7d0464008ea0abe7f11a73)
2007-10-10r17672: remove duplicate description on NT_STATUS_INVALID_PARAMETER (from ↵Gerald Carter1-1/+0
Michael Adam <ma@sernet.de>) (This used to be commit 7b51e27d026f2511edcde054f0d2deb9932d2fe8)
2007-10-10r17556: Remove duplicate entries. Thanks to Michael Adam <ma@sernet.de>Volker Lendecke1-2/+0
Volker (This used to be commit ea83001d3ed0b5da67cf367c17fdef662bc01681)
2007-10-10r13502: Fix error messages for usershares when smbd is notJeremy Allison1-0/+4
running. More generic error return cleanup in libsmb/ needs doing (everything returning NTSTATUS not BOOL). Jeremy (This used to be commit 654bb9853b450c5d509d182f67ec26ac320fd590)
2007-10-10r2575: Return correct error codes on old SEARCH call (from Samba4 torture ↵Jeremy Allison1-7/+9
tester). Jeremy. (This used to be commit fc51c97ea86bd1a86830d4ab2c6c7c4ec9fccc88)
2007-10-10r84: Implement --required-membership-of=, an ntlm_auth option that restrictsAndrew Bartlett1-0/+28
all authentication to members of this particular group. Also implement an option to allow ntlm_auth to get 'squashed' error codes, which are safer to communicate to remote network clients. Andrew Bartlett (This used to be commit eb1c1b5eb086f49a230142ad2de45dc0e9691df3)
2003-05-12Add NT quota support. Patch from Stefan (metze) MetzemacherAlexander Bokovoy1-0/+1
1. Allows to change quota settings for shared mount points from Win2K and WinXP from Explorer properties tab 2. Disabled by default and when requested, will be probed and enabled only on Linux where it works 3. Was tested for approx. two weeks now on Linux by two independent QA teams, have not found any bugs so far Documentation to follow (This used to be commit 4bf022ce9e45be85609426762ba2644ac2031326)
2003-02-12adding more descriptions for nt status codesGerald Carter1-1/+66
(This used to be commit 2fa33fcaee288f0607db9fc72d2f1cafdd6c5959)
2003-01-23Fixed typo.Tim Potter1-1/+1
(This used to be commit 09d8a8e87fbb13928b863f659381dddb09592985)
2003-01-22fix for CR 1603; provide description of NT_STATUS_PIPE_NOT_AVAILABLEGerald Carter1-0/+1
(This used to be commit b063acd9062704be6352647dae2ad801ecacec75)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett1-4/+4
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2002-12-17app_head merge for get_friendly_nt_err()Gerald Carter1-2/+2
(This used to be commit 5b311250257b3c45879a85ac46d6b6aa316514bf)
2002-12-04cleaning up some friendly error messagesGerald Carter1-22/+26
(This used to be commit 0f963685d9da1cd68cf922372c8ddaa769880f27)
2002-11-21get_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD. This ↵Jim McDonough1-1/+1
should fix the build. (This used to be commit a89187ccc95cc54e39518413bd4fff92c7223108)
2002-11-21merge get_friendly_nt_err_msg() from app_headGerald Carter1-0/+50
(This used to be commit af21e7738404f073fe2e22b282322e3facdfeb82)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-1/+1
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-0/+1
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-04-15Merge of lsa lookup names/sids patch from HEAD.Tim Potter1-0/+1
(This used to be commit e57c162897d4a7e66bb87091d179ac138f751c64)
2002-03-17Renamed get_nt_error_msg() to nt_errstr().Tim Potter1-1/+1
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
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-01Add a function to convert 'NT_STATUS...' strings back into their actual errorAndrew Bartlett1-0/+16
code. Andrew Bartlett (This used to be commit f0089b089b319009576bb39a076397bb44aff628)
2001-11-25Add a new torture test to extract a NT->DOS error map from an NT member of aAndrew Bartlett1-0/+21
samba domain. The PDC must be running a special authenticaion module that spits out NT errors based on username. Andrew Bartlett (This used to be commit adc7a6048c13342b79b6228beafb5142c50f318d)
2001-11-23Finally worked out why a enumerate trusted domains was returning aTim Potter1-2/+3
NT_STATUS_UNABLE_TO_FREE_VM error. This error code was mis-defined as 0x8000001a instead of 0xc000001a. The former is actually a NT_STATUS_NO_MORE_ENTRIES warning which is what we see in the status code. Removed the & 0xffffff from the loop in get_nt_error_msg() as all the error constants now have the correct high bits set. (This used to be commit 80dca2c9e46753d87e673d712c96c76ffde0b276)
2001-10-29This patch applied, except without the structure changes to nmblib.cAndrew Bartlett1-1/+1
Andrew Bartlett. From kai@cmail.ru Mon Oct 29 18:50:42 2001 Date: Fri, 19 Oct 2001 17:26:06 +0300 From: Andrew V. Samoilov <kai@cmail.ru> To: samba-technical@lists.samba.org Subject: [patch]: makes some arrays const to be shared between processes Hi! This patch makes some arrays const. So these arrays go to text/rodata segment and are shared between all of the processes which use shared library with these arrays. Regards, Andrew V. Samoilov. P.S. Please cc your answer to kai@cmail.ru, I don't subscribed to this list. ChangeLog: * cliconnect.c (prots): Make const. * clierror.c (rap_errmap): Likewise. * nmblib.c (nmb_header_opcode_names): Likewise. (lookup_opcode_name): Make opcode_namep const. Eliminate i. * nterr.c (nt_err_code_struct): Typedef const. * smberr.c (err_code_struct): Make const. (err_classes): Likewise. (This used to be commit cb84485a2b0e1fdcb6fa90e0bfb97e125ae1b3dd)
2001-09-11Added a string for NT_STATUS_OK, m'kay?Tim Potter1-0/+1
(This used to be commit ff149308349fbf80399d9d541659f3c1d668306a)
2001-08-27started converting NTSTATUS to be a structure on systems with gcc in order ↵Andrew Tridgell1-7/+6
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)
2001-08-10A rewrite of the error handling in the libsmb client code. I've separatedTim Potter1-21/+29
out the error handling into a bunch of separate functions rather than all being handled in one big function. Fetch error codes from the last received packet: void cli_dos_error(struct cli_state *cli, uint8 *eclass, uint32 *num); uint32 cli_nt_error(struct cli_state *); Convert errors to UNIX errno values: int cli_errno_from_dos(uint8 eclass, uint32 num); int cli_errno_from_nt(uint32 status); int cli_errno(struct cli_state *cli); Detect different kinds of errors: BOOL cli_is_dos_error(struct cli_state *cli); BOOL cli_is_nt_error(struct cli_state *cli); BOOL cli_is_error(struct cli_state *cli); This also means we now support CAP_STATUS32 as we can decode and understand NT errors instead of just DOS errors. Yay! Ported a whole bunch of files in libsmb to use this new API instead of the just the DOS error. (This used to be commit 6dbdb0d813f3c7ab20b38baa1223b0b479aadec9)
2001-06-26Put an 0x in front of a hex number.Tim Potter1-1/+1
(This used to be commit a48d480ce986ff1c00f2c17f30f23723ce0bb044)
2000-12-08Removed compiler warning.Tim Potter1-1/+2
(This used to be commit 6d3bd1d80635d91e9590bcf093662259090ea6da)
2000-07-03first pass at merging rpcclient from TNG to HEAD. You can get aGerald Carter1-6/+16
semi-connection and a rpcclient prompt, but no functionality there yet. Will be a few more days on that. These files changed only with the addition of some support functions from TNG --jerry (This used to be commit a04ea15f723e559db3c60bed03318cc7be851f69)