Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix debug handling in libsmbclient.c. | Richard Sharpe | 2003-04-05 | 1 | -2/+2 |
| | | | | | Also, PLEASE, PLEASE, PLEASE, do not include bashism and Cisms in shell scripts. | ||||
* | Some more good stuff from coolo. | Richard Sharpe | 2003-04-04 | 1 | -42/+23 |
| | |||||
* | Some castiness for Don McCall. | Richard Sharpe | 2003-04-04 | 1 | -2/+2 |
| | |||||
* | More of coolo's changes for UTF-8 and some minor fixes of mine. | Richard Sharpe | 2003-04-02 | 1 | -17/+37 |
| | |||||
* | Commit some more fixes for Coolo ... | Richard Sharpe | 2003-04-02 | 1 | -43/+24 |
| | |||||
* | Add const (from a patch by Stephan Kulow <coolo@kde.org>) | Jelmer Vernooij | 2003-04-02 | 1 | -10/+11 |
| | |||||
* | More patches from coolo. One of these functions needs to be moved | Richard Sharpe | 2003-03-28 | 1 | -42/+78 |
| | | | | elsewhere so other code can use it. | ||||
* | Some fixes to URL syntax from coolo. | Richard Sharpe | 2003-03-28 | 1 | -2/+85 |
| | |||||
* | Patch from colo (on IRC) to get libsmbclient building due to pstring/fstring | Andrew Bartlett | 2003-03-21 | 1 | -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 Sharpe | 2003-01-13 | 1 | -2/+2 |
| | |||||
* | Try to bring libsmbclient in line with the new global_myname stuff | Andrew Bartlett | 2002-11-13 | 1 | -3/+2 |
| | |||||
* | The fixes from Tom plus a minor update from me. | Richard Sharpe | 2002-11-04 | 1 | -70/+99 |
| | |||||
* | Include ../include/libsmbclient.h instead of just libsmbclient.h - we don't ↵ | Jelmer Vernooij | 2002-09-28 | 1 | -1/+1 |
| | | | | want to include the globally installed libsmbclient.h - found by jht | ||||
* | merge from SAMBA_2_2 | Gerald Carter | 2002-08-27 | 1 | -1/+1 |
| | |||||
* | Use a function that actually exists for the keepalive send. | Andrew Bartlett | 2002-08-25 | 1 | -1/+1 |
| | | | | Andrew Bartlett | ||||
* | A few fixes towards libsmbclient and rpcclient - get pointer types right and | Andrew Bartlett | 2002-08-22 | 1 | -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 Sharpe | 2002-07-13 | 1 | -7/+1 |
| | |||||
* | Fix up the include file that had problems as well. | Richard Sharpe | 2002-07-13 | 1 | -11/+0 |
| | |||||
* | Fix some multibyte problems that I forgot about. | Richard Sharpe | 2002-07-13 | 1 | -6/+6 |
| | |||||
* | Commit Tom Jansen's changes to head. | Richard Sharpe | 2002-07-11 | 1 | -819/+899 |
| | |||||
* | Make these functions static. These are not mentioned in the external header, | Andrew Bartlett | 2002-07-03 | 1 | -4/+4 |
| | | | | | | | | and appear to be functions for internal use. Richard: please check. Andrew Bartlett | ||||
* | removed the wins name registration code from libsmbclient | Andrew Tridgell | 2002-06-26 | 1 | -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 Potter | 2002-03-17 | 1 | -1/+1 |
| | |||||
* | getpid() -> sys_getpid() | Tim Potter | 2002-03-14 | 1 | -1/+1 |
| | |||||
* | bcopy must DIE ! Stop people creeping use of bcopy back into the code | Jeremy Allison | 2002-02-26 | 1 | -2/+2 |
| | | | | | (and yes I know who you are..... :-). Jeremy. | ||||
* | Removed version number from file header. | Tim Potter | 2002-01-30 | 1 | -2/+1 |
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. | ||||
* | Removed unused static variable. | Tim Potter | 2002-01-25 | 1 | -1/+0 |
| | |||||
* | Fix another memory leak spotted by Tom Jansen. | Richard Sharpe | 2001-11-27 | 1 | -0/+1 |
| | |||||
* | Got medieval on another pointless extern. Removed extern struct ipzero | Tim Potter | 2001-11-26 | 1 | -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 name | Jeremy Allison | 2001-11-21 | 1 | -2/+2 |
| | | | | | lookup uses password server parameter when looking for PDCs. Jeremy. | ||||
* | Fix up the build again... | Andrew Bartlett | 2001-11-21 | 1 | -1/+1 |
| | | | | Andrew Bartlett | ||||
* | Fix up libsmbclient in head. | Richard Sharpe | 2001-11-21 | 1 | -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 modify | Richard Sharpe | 2001-11-17 | 1 | -24/+44 |
| | | | | it and fix smb://<IP-addr>. | ||||
* | Fix for @ in pathname from Kian Win. | Jeremy Allison | 2001-10-22 | 1 | -1/+5 |
| | | | | Jeremy. | ||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 1 | -46/+34 |
| | |||||
* | it now all compiles - so try enabling it by default and see what explodes on ↵ | Andrew Tridgell | 2001-09-04 | 1 | -2/+2 |
| | | | | the build farm | ||||
* | converted another bunch of stuff to NTSTATUS | Andrew Tridgell | 2001-08-27 | 1 | -1/+1 |
| | |||||
* | converted smbd to use NTSTATUS by default | Andrew Tridgell | 2001-08-27 | 1 | -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 Potter | 2001-08-10 | 1 | -2/+2 |
| | |||||
* | A rewrite of the error handling in the libsmb client code. I've separated | Tim Potter | 2001-08-10 | 1 | -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 Tridgell | 2001-07-04 | 1 | -5/+5 |
| | | | | can't redefine them. damn. | ||||
* | The big character set handling changeover! | Andrew Tridgell | 2001-07-04 | 1 | -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 Sharpe | 2001-06-27 | 1 | -2/+2 |
| | |||||
* | Fix up the problems with calling smbc_init multiple times. | Richard Sharpe | 2001-06-07 | 1 | -0/+6 |
| | |||||
* | Change EUCLEAN to EINVAL, as some systems do not have EUCLEAN, and EINVAL | Richard Sharpe | 2001-05-15 | 1 | -24/+24 |
| | | | | is a better return code anyway (I knew that :-) | ||||
* | More memory leaks fixed courtesy of Insure ... | Richard Sharpe | 2001-03-28 | 1 | -11/+44 |
| | |||||
* | One small Insure fix for a memory leak. More fixes to come perhaps ... | Richard Sharpe | 2001-03-27 | 1 | -2/+52 |
| | | | | | Also fixed an error return for smbc_rmdir so that we can distinguish between EACCES and ENOTEMPTY | ||||
* | More SGI type fixes ... | Richard Sharpe | 2001-03-09 | 1 | -5/+7 |
| | |||||
* | Fix the definition and implementation of smbc_lseekdir ... | Richard Sharpe | 2001-03-07 | 1 | -6/+7 |
| | |||||
* | Implement smbc_lseekdir, but it will have to change ... because it has the | Richard Sharpe | 2001-03-06 | 1 | -1/+52 |
| | | | | wrong interface defn. |