summaryrefslogtreecommitdiffstats
path: root/source/libsmb/clitrans.c
Commit message (Collapse)AuthorAgeFilesLines
* Add const, and a signed/unsigned fix.Andrew Bartlett2003-03-151-3/+3
|
* Change size parameters from signed to unsigned to fix up warnings.Jeremy Allison2003-03-121-69/+164
| | | | Jeremy.
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Same fix as went into 2.2 (I'm waiting for jerry to finish some code).Jeremy Allison2002-01-111-4/+4
| | | | Jeremy.
* use cli_is_error() instead of looking in smb_rcls, otherwise NT statusAndrew Tridgell2001-09-051-2/+2
| | | | codes don't work correctly
* started converting NTSTATUS to be a structure on systems with gcc in order ↵Andrew Tridgell2001-08-271-20/+6
| | | | to make it type incompatible with BOOL so we catch errors sooner. This has already found a number of bugs
* converted smbd to use NTSTATUS by defaultAndrew Tridgell2001-08-271-12/+17
| | | | | | | | | | | | | | | | major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night
* a bunch of fixes from the sflight to seattleAndrew Tridgell2001-08-201-7/+10
| | | | | | in particular: - fixed NT status code for a bunch of ops - fixed handling of protocol levels in ms_fnmatch
* Use tparam not tdata when reallocing params to make clearer.Jeremy Allison2001-08-171-12/+15
| | | | Jeremy.
* more useful debug messages and check if the size are non null.Jean-François Micouleau2001-08-171-10/+17
| | | | | | that fix the notification backend channel for spoolss. J.F.
* this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce2001-08-121-4/+26
| | | | | | many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also.
* A rewrite of the error handling in the libsmb client code. I've separatedTim Potter2001-08-101-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* The big character set handling changeover!Andrew Tridgell2001-07-041-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.
* simpler clistr interface which handles individual packets havingAndrew Tridgell2001-03-141-6/+2
| | | | unicode bit set differently to capabilities
* to use the same macros in the client and server rename the CLISTR_Andrew Tridgell2001-03-101-2/+2
| | | | macros to STR_
* - neater setting of bccAndrew Tridgell2001-02-201-8/+4
| | | | - converted cli_rename and cli_unlink
* pipe opening now works with unicodeAndrew Tridgell2001-02-201-3/+10
|
* Fixed memory leaks in lsa_XX calls. Fixed memory leaks in smbcacls. MergedJeremy Allison2000-12-151-1/+6
| | | | | | in fixes from appliance-head and 2.2. Fixed multiple connection.tdb open problem. Jeremy.
* - added client support for nttrans callsAndrew Tridgell2000-12-031-0/+200
| | | | - added a cli_ function for querying a security descriptor on a remote file
* split clientgen.c into several partsAndrew Tridgell2000-04-251-0/+233
the next step is splitting out the auth code, to make adding lukes NTLMSSP support easier