summaryrefslogtreecommitdiffstats
path: root/source/libsmb/libsmbclient.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix debug handling in libsmbclient.c.Richard Sharpe2003-04-051-2/+2
| | | | | Also, PLEASE, PLEASE, PLEASE, do not include bashism and Cisms in shell scripts.
* Some more good stuff from coolo.Richard Sharpe2003-04-041-42/+23
|
* Some castiness for Don McCall.Richard Sharpe2003-04-041-2/+2
|
* More of coolo's changes for UTF-8 and some minor fixes of mine.Richard Sharpe2003-04-021-17/+37
|
* Commit some more fixes for Coolo ...Richard Sharpe2003-04-021-43/+24
|
* Add const (from a patch by Stephan Kulow <coolo@kde.org>)Jelmer Vernooij2003-04-021-10/+11
|
* More patches from coolo. One of these functions needs to be movedRichard Sharpe2003-03-281-42/+78
| | | | elsewhere so other code can use it.
* Some fixes to URL syntax from coolo.Richard Sharpe2003-03-281-2/+85
|
* Patch from colo (on IRC) to get libsmbclient building due to pstring/fstringAndrew Bartlett2003-03-211-19/+19
| | | | | | | | issues. Also pick up these link failures at compile time (rather than runtime). Andrew Bartlett
* Make sure that those cleanups actually went in.Richard Sharpe2003-01-131-2/+2
|
* Try to bring libsmbclient in line with the new global_myname stuffAndrew Bartlett2002-11-131-3/+2
|
* The fixes from Tom plus a minor update from me.Richard Sharpe2002-11-041-70/+99
|
* Include ../include/libsmbclient.h instead of just libsmbclient.h - we don't ↵Jelmer Vernooij2002-09-281-1/+1
| | | | want to include the globally installed libsmbclient.h - found by jht
* merge from SAMBA_2_2Gerald Carter2002-08-271-1/+1
|
* Use a function that actually exists for the keepalive send.Andrew Bartlett2002-08-251-1/+1
| | | | Andrew Bartlett
* A few fixes towards libsmbclient and rpcclient - get pointer types right andAndrew Bartlett2002-08-221-5/+3
| | | | | | try to keep to functions inside libsmbclient. Andrew Bartlett
* Some fix ups but committing so Andrew can look at the problem I have.Richard Sharpe2002-07-131-7/+1
|
* Fix up the include file that had problems as well.Richard Sharpe2002-07-131-11/+0
|
* Fix some multibyte problems that I forgot about.Richard Sharpe2002-07-131-6/+6
|
* Commit Tom Jansen's changes to head.Richard Sharpe2002-07-111-819/+899
|
* Make these functions static. These are not mentioned in the external header,Andrew Bartlett2002-07-031-4/+4
| | | | | | | | and appear to be functions for internal use. Richard: please check. Andrew Bartlett
* removed the wins name registration code from libsmbclientAndrew Tridgell2002-06-261-2/+0
| | | | | | | | | | | it is *completely* bogus for our client code to be doing wins registrations. Not only is it slow as hell (think about when a wins server is down) but how the heck is going to answer the queries that will later come in for our name? And what happens when libsmbclient sends registrations and nmbd then gets the WACK response from the wins server? we end up losing our name! Name registration is a job for nmbd, not for clients.
* Renamed get_nt_error_msg() to nt_errstr().Tim Potter2002-03-171-1/+1
|
* getpid() -> sys_getpid()Tim Potter2002-03-141-1/+1
|
* bcopy must DIE ! Stop people creeping use of bcopy back into the codeJeremy Allison2002-02-261-2/+2
| | | | | (and yes I know who you are..... :-). Jeremy.
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Removed unused static variable.Tim Potter2002-01-251-1/+0
|
* Fix another memory leak spotted by Tom Jansen.Richard Sharpe2001-11-271-0/+1
|
* Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter2001-11-261-3/+2
| | | | | | | and replaced with two functions: void zero_ip(struct in_adder *ip); BOOL is_zero_ip(struct in_addr ip);
* W2K doesn't seem to respond to *#0 names in node status. Ensure nameJeremy Allison2001-11-211-2/+2
| | | | | lookup uses password server parameter when looking for PDCs. Jeremy.
* Fix up the build again...Andrew Bartlett2001-11-211-1/+1
| | | | Andrew Bartlett
* Fix up libsmbclient in head.Richard Sharpe2001-11-211-1366/+1413
| | | | | Apply the patches from Tom Jansen, get rid of fprintfs and change them to DEBUGs, etc ...
* Fix problems with lp_workgroup() being passed to routines that will modifyRichard Sharpe2001-11-171-24/+44
| | | | it and fix smb://<IP-addr>.
* Fix for @ in pathname from Kian Win.Jeremy Allison2001-10-221-1/+5
| | | | Jeremy.
* move to SAFE_FREE()Simo Sorce2001-09-171-46/+34
|
* it now all compiles - so try enabling it by default and see what explodes on ↵Andrew Tridgell2001-09-041-2/+2
| | | | the build farm
* converted another bunch of stuff to NTSTATUSAndrew Tridgell2001-08-271-1/+1
|
* converted smbd to use NTSTATUS by defaultAndrew Tridgell2001-08-271-1/+1
| | | | | | | | | | | | | | | | 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
* Fixes for new client error api.Tim Potter2001-08-101-2/+2
|
* A rewrite of the error handling in the libsmb client code. I've separatedTim Potter2001-08-101-12/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-041-5/+5
| | | | can't redefine them. damn.
* The big character set handling changeover!Andrew Tridgell2001-07-041-4/+0
| | | | | | | 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.
* Fix a stupid typo ...Richard Sharpe2001-06-271-2/+2
|
* Fix up the problems with calling smbc_init multiple times.Richard Sharpe2001-06-071-0/+6
|
* Change EUCLEAN to EINVAL, as some systems do not have EUCLEAN, and EINVALRichard Sharpe2001-05-151-24/+24
| | | | is a better return code anyway (I knew that :-)
* More memory leaks fixed courtesy of Insure ...Richard Sharpe2001-03-281-11/+44
|
* One small Insure fix for a memory leak. More fixes to come perhaps ...Richard Sharpe2001-03-271-2/+52
| | | | | Also fixed an error return for smbc_rmdir so that we can distinguish between EACCES and ENOTEMPTY
* More SGI type fixes ...Richard Sharpe2001-03-091-5/+7
|
* Fix the definition and implementation of smbc_lseekdir ...Richard Sharpe2001-03-071-6/+7
|
* Implement smbc_lseekdir, but it will have to change ... because it has theRichard Sharpe2001-03-061-1/+52
| | | | wrong interface defn.