summaryrefslogtreecommitdiff
path: root/source3/libsmb/clierror.c
AgeCommit message (Collapse)AuthorFilesLines
2011-07-11s3:libsmb: add cli_state_disconnect()Stefan Metzmacher1-0/+7
metze
2011-07-11s3:libsmb: make use of cli_state_is_connected()Stefan Metzmacher1-13/+9
metze
2011-07-08s3:libsmb: don't use the cli->inbuf to store the last errorStefan Metzmacher1-58/+23
We keep the raw error in cli->raw_status now, until we fixed all caller to get the NTSTATUS from the function calls. metze
2011-07-08s3:libsmb: remove unused enum smb_read_errors infrastructureStefan Metzmacher1-72/+8
metze
2011-07-03s3: RAP errors are WERRORVolker Lendecke1-39/+2
2011-07-03s3: Remove some bogus error mappingsVolker Lendecke1-6/+0
The old cli_session_request that used this is gone
2011-07-03S3: Fix some nonempty blank linesVolker Lendecke1-4/+4
2011-05-23s3: Remove unused cli_get_nt_errorVolker Lendecke1-17/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 23 16:54:21 CEST 2011 on sn-devel-104
2011-05-23s3: Remove unused cli_set_nt_errorVolker Lendecke1-9/+0
2011-05-23s3: Remove unused cli_reset_errorVolker Lendecke1-12/+0
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner1-0/+1
Guenther
2010-03-29s3:libsmb: add cli_state_is_connected() functionStefan Metzmacher1-0/+18
metze
2008-10-07Make map_errno_from_nt_status() a generic call, not just a cli specific one.Jeremy Allison1-138/+2
Remove some unused calls from vfs_acl_xattr. Test for SD's on existing files. Jeremy.
2008-02-28Fix from Guenter Kukkukk <linux@kukkukk.com> to fix listing againstJeremy Allison1-0/+12
OS/2 servers. OS/2 returns eclass == ERRDOS && ecode == ERRnofiles for a zero entry directory listing. Jeremy. (This used to be commit b34da627053581a9584367e177566d4a2cef7e82)
2007-11-29Remove the explicit TALLOC_CTX * from cli_struct.Jeremy Allison1-0/+6
Make us very explicit about how long a talloc ctx should last. Jeremy. (This used to be commit ba9e2be2b5a59684e854609f9d82ea1633448c62)
2007-11-25In libsmbclient, map NT_STATUS_OBJECT_PATH_NOT_FOUND to ENOENTVolker Lendecke1-0/+1
Thanks to SATOH Fumiyasu! This fixes bug 4974 (This used to be commit 41e07682dc1fa535ddaf405efa26fabb33c8bbf9)
2007-11-11Some pstring removalVolker Lendecke1-4/+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-11-03Remove the smb_read_error global variable and replaceJeremy Allison1-10/+10
it with accessor functions. "One global or pstring a day...." :-). Jeremy. (This used to be commit d50d14c300abc83b7015718ec48acc8b3227a273)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-3/+3
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-5/+0
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
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-10r23723: Alexander Larsson pointed me at a missing mapping in clierror.cSimo Sorce1-1/+3
When renaming a file across 2 filesystem a samba server returns NT_STATUS_NOT_SAME_DEVICE but thius is not translated to EXDEV, and the generic EINVAL is returned instead. This should fix it, Jeremy or Derrel please check if this is ok. (This used to be commit b35038fa4e3e69f1397758497a46dc0d37edee79)
2007-10-10r22732: - Testing of libsmbclient against Vista revealed what is likely a bug inDerrell Lipman1-0/+9
Vista. Vista provides a plethora of kludges to simulate older versions of Windows. The kludges are in the form of shortcuts (or more likely symbolic links, but I don't know enough about Vista to determine that definitively) and in most cases, attempts to access them get back an "access denied" error. On one particular folder, however, "<share>/Users/All Users", it returns an unknown (to ethereal and the Samba3 code) NT status code: 0x8000002d. Although this code does not have a high byte of 0xc0 indicating that it is an error, it appears to be an alternate form of "access denied". Without this patch, libsmbclient times out on an attempt to enumerate that folder rather than returning an error to the caller. This patch corrects that problem. (This used to be commit cc0cd3a12f76b8cd711e3165d4cfe920552f256d)
2007-10-10r21865: Add in the stubs for SMB transport encryption. Will fleshJeremy Allison1-0/+5
these out as I implement. Don't add to SAMBA_3_0_25, this is experimental code. NFSv4 you're now officially on notice... :-). Jeremy. (This used to be commit 5bfe638f2172e272741997100ee5ae8ff280494d)
2007-10-10r21576: Patch based on work from Todd Stecher <todd.stecher@isilon.com>Jeremy Allison1-0/+9
to allow client to fragment large SPNEGO blobs (large krb5 tickets). Tested against W2K3R2. Should fix bug #4400. Jeremy. (This used to be commit b81c5c6adce51cec06df0e993534064b20666a8e)
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-10r18858: arrgh! - since HAVE_IMMEDIATE_STRUCTURES were last enabled the codeAndrew Tridgell1-1/+1
can no longer handle it (at least with gcc 4.1.2). Disable it until investigated and fixed properly. (This used to be commit c8670b33b490daeaff987c21fcb0ec601a91d54e)
2007-10-10r17863: Fix unneeded NULL check on pointer parameters causing theJeremy Allison1-7/+2
Stanford checker to flag null deref. Jeremy. (This used to be commit b7fc023e9025127855fab71002d556e5f84e00b4)
2007-10-10r13669: Get rid of poor errno mapping table. Bounce through NTSTATUS instead.Jeremy Allison1-39/+6
DO NOT MERGE FOR 3.0.21c PLEASE. Jeremy. (This used to be commit 3de0d9af6925e3dc0328c02c2a30127ea5c82a83)
2007-10-10r13664: Fix the cli_error codes to always detect a socket error.Jeremy Allison1-39/+107
This code needs a tidyup and common code with libsmb/errormap.c merging. Should fix the winbindd crash Jerry found (I hope). Jeremy. (This used to be commit e81227d044fbe7c73c121e540ccafc7f6517c4ea)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-0/+17
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.Tim Potter1-2/+0
(This used to be commit 985dbb47d925e79c1195ca219f7ab5d6648b22b8)
2007-10-10r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison1-2/+2
safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy (This used to be commit 9506b8e145982b1160a2f0aee5c9b7a54980940a)
2007-10-10r547: Add entry for NT_STATUS_DUPLICATE_NAME in the ntstatus to unix error ↵Jelmer Vernooij1-0/+3
mapping table (This used to be commit 31c21d520d030e27e4adc6075a50026724b87173)
2003-07-30Eliminate valgrind error when client gets bad sig on list. Some reformatting.Jeremy Allison1-0/+3
Jeremy. (This used to be commit b8f6b836468b3a0ae75977dc65cae8400f74734c)
2003-07-16Spelling.Tim Potter1-1/+1
(This used to be commit 2750418752e491c5e87f0f2adf253291e31ee4c2)
2003-04-21Merge SMB signing, cli buffer clobber and NTLMSSP signing tweaks from HEAD.Andrew Bartlett1-4/+8
(This used to be commit c6c4f69b8ddc500890a65829e1b9fb7a3e9839e9)
2003-04-15Add some more NT to unix error code mappings (from HEAD)Jelmer Vernooij1-3/+92
(This used to be commit 62dac3d6ebc72bec24f3c0df4c8d8e37029473e2)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett1-3/+3
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2002-10-01Cope with rw errors and timeout to peer.Jeremy Allison1-5/+25
Jeremy. (This used to be commit d8d351eb01ea7c84828dbc96224d7b13d643b558)
2002-10-01Added error string for server timeout on client call.Jeremy Allison1-0/+8
Jeremy. (This used to be commit 28d2eb934318818a3b0527e391987ea139dbf4a3)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-2/+2
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-03-17Renamed get_nt_error_msg() to nt_errstr().Tim Potter1-1/+1
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
2002-02-13merge from 2.2Gerald Carter1-0/+5
(This used to be commit 50fa21c995d33601920b3b56a3e03b09262e7fd9)
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-22Add more string explanations of RAP errors that are already documentedMartin Pool1-8/+17
in clirap2. (This used to be commit 935955b50ff503d18265f745e6e0df90d3e5dd4b)
2001-12-10Treat RAP codes differently.Jeremy Allison1-19/+20
Jeremy. (This used to be commit 919b11a787145139e6255674179b2ff7e587475d)
2001-12-10RAP error strings take precedence as they are not encoded in the SMB headerJeremy Allison1-9/+9
(ie. the call can succeed, but still be an encoded error). Jeremy. (This used to be commit 3c68b94199ff08b205d1eb14da56804936b900a8)
2001-11-26Fix --enable-developer shadow warningAndrew Bartlett1-3/+3
(This used to be commit 6a919bcf3d5848e09ddba1e8946f985661af8f67)