summaryrefslogtreecommitdiff
path: root/source3/libsmb/clierror.c
AgeCommit message (Collapse)AuthorFilesLines
2001-08-21Distinguish between NT informational and error codes.Tim Potter1-4/+10
(This used to be commit 02fe0e18dfcb8cc83b3cf0b6c8dd4dc1ddb7e196)
2001-08-10Debug cleanups.Tim Potter1-3/+3
(This used to be commit e98f9481235dce9a0a76450b84769b86eca57ca2)
2001-08-10Had the test for cli_is_error() reversed. You idiot Stimpy!Tim Potter1-1/+1
(This used to be commit e9ceb17d777f4bcb7a9ff6b509c178f063be4722)
2001-08-10A rewrite of the error handling in the libsmb client code. I've separatedTim Potter1-92/+157
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-07-04The big character set handling changeover!Andrew Tridgell1-1/+1
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-06-15Added a unix error code for NT_STATUS_PATH_NOT_COVERED.Tim Potter1-0/+1
(This used to be commit 66e62245ea50fe7b996484ca919083eec2edfd14)
2001-01-29Add an extra error code translation to clierror.c so that libsmbclientRichard Sharpe1-1/+2
gets some more error codes correct ... (This used to be commit bca6b7dd20839a15aa97b4e6ba03c60eab9ed237)
2001-01-02Return EACCES for bad password.Tim Potter1-1/+1
(This used to be commit 143006d32f0a0d339b870741b811ec49795b7099)
2000-10-11changes to sync with 2.2. treeHerb Lewis1-1/+1
.cvsignore remove config.h - not in this directory include/profile.h profile changes lib/messages.c added message to return debug level libsmb/clierror.c cast to get rid of compiler warning libsmb/smbencrypt.c cast to get rid of compiler warning profile/profile.c add flush profile stats changes for profile struct rpc_parse/parse_samr.c fix for compiler warning rpc_server/srv_samr.c cast to get rid of compiler warning smbd/ipc.c profile stats message.c profile stats smbd/negprot.c profile stats smbd/nttrans.c profile stats smbd/trans2.c profile stats utils/smbcontrol.c new flush stats command (This used to be commit bbb24daa25dca4e4b6b1f8942cd84ee3aa1bed8e)
2000-08-04In cli_error() return ENOENT when an ERROR_INVALID_NAME is received insteadTim Potter1-0/+1
of the generic EINVAL. (This used to be commit a290107aee01a85ca1ef5565f23c8f00e18e98c2)
2000-08-01Tidyup removing many of the 0xC0000000 | NT_STATUS_XXX stuff (only need ↵Jeremy Allison1-1/+2
NT_STATUS_XXX). Removed IS_BITS_xxx macros as they were just reproducing "C" syntax in a more obscure way. Jeremy. (This used to be commit c55bcec817f47d6162466b193d533c877194124a)
2000-05-10more mergingAndrew Tridgell1-1/+1
it is now at the stage that winbindd can compile in the head branch, but not link (This used to be commit d178c00aae77710ae6ff20a7f54a30e3bd8232bb)
2000-04-25split clientgen.c into several partsAndrew Tridgell1-0/+213
the next step is splitting out the auth code, to make adding lukes NTLMSSP support easier (This used to be commit 10c5470835b43116ed48b3137c3b9cc867a20989)