Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | smb.h: add one error code for no such printer job | Richard Sharpe | 2001-03-05 | 1 | -3/+28 |
| | | | | libsmbclient.c: fix problems with return codes on smbc_unlink_print_job | ||||
* | Fix two problems identified by the test suite, one a major one | Richard Sharpe | 2001-03-01 | 1 | -3/+61 |
| | | | | where I was indexing through a NULL pointer :-( | ||||
* | Fix some errors uncovered in libsmbclient by the test suite | Richard Sharpe | 2001-02-26 | 1 | -115/+42 |
| | | | | | Fix some problems with unused variables and reaching the end of a nonvoid function | ||||
* | the unicode conversion of our client code is complete enough to be | Andrew Tridgell | 2001-02-21 | 1 | -6/+0 |
| | | | | | | enabled by default you can disable it by setting the environment variable CLI_FORCE_ASCII | ||||
* | Opps, last one did not commit the correct changes ... Here they are. | Richard Sharpe | 2001-02-19 | 1 | -7/+31 |
| | | | | | | This now uses a lookup on <DOMAIN><1D> and then does a name status query to the IP address returned to find the name of the server. Seems to work well against Samba, Win9X, WinNT and Win2K. | ||||
* | Fixes to libsmbclient so it will work when browsing real Windows systems which | Richard Sharpe | 2001-02-18 | 1 | -2/+2 |
| | | | | | | only respond to port 138 when dealing with NetBIOS datagrams. We use the unexpected packed database. | ||||
* | Added commented/documented version of libsmbclient.h and fixed up a small | Richard Sharpe | 2001-02-12 | 1 | -3/+1 |
| | | | | problem in libsmbclient.c where we no longer pass the workgroup. | ||||
* | Fix problems in libsmbclient with pring job struct plus add implementation | Richard Sharpe | 2001-02-06 | 1 | -0/+96 |
| | | | | of last two print routines ... | ||||
* | Implement two printing related functions and start the remaining two. | Richard Sharpe | 2001-02-05 | 1 | -0/+63 |
| | |||||
* | Fix some further small bugs in libsmbclient to make it pass the | Richard Sharpe | 2001-02-04 | 1 | -7/+56 |
| | | | | Caldera test suite and start to add the printing routines. | ||||
* | Fix some bugs and prepare for some other bug fixes ... | Richard Sharpe | 2001-01-29 | 1 | -6/+67 |
| | |||||
* | Fix a problem with smbc_unlink on directories where it was returning EACCES | Richard Sharpe | 2001-01-24 | 1 | -1/+39 |
| | | | | | instead of EPERM and a problem with SMBC_OPEN where it ignored an error from the underlying cli_open routine and cheerfully returned a bogus FD. | ||||
* | Fixed bugs relating to Win2K and the need for a codepage so that unicode | Richard Sharpe | 2001-01-14 | 1 | -3/+12 |
| | | | | strings can be handled correctly. | ||||
* | Some more bug fixes plus implementations of smbc_mkdir and smbc_rmdir, | Richard Sharpe | 2001-01-12 | 1 | -0/+157 |
| | | | | | | both tested ... More later. | ||||
* | Many bug fixes to the libsmbclient.c code plus | Richard Sharpe | 2001-01-12 | 1 | -38/+137 |
| | | | | | | | - an implementation of smbc_readdir - extensions to tree.c to show files in a second window - changes to auth_fn to provide buffers for username, password, etc from caller rather than callee | ||||
* | Add support for logging to wherever smb.conf specifies. | Richard Sharpe | 2001-01-08 | 1 | -2/+8 |
| |