Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix compile warnings on IRIX's cc. | Andrew Bartlett | 2001-09-16 | 1 | -3/+3 | |
| | ||||||
* | declare dbf in one spot | Andrew Tridgell | 2001-09-10 | 2 | -2/+0 | |
| | ||||||
* | replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down | Andrew Tridgell | 2001-09-10 | 3 | -26/+26 | |
| | | | | | | | | | replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default. | |||||
* | fixed typo | Andrew Tridgell | 2001-09-09 | 1 | -1/+1 | |
| | ||||||
* | removed pointless parameter from readfile() | Andrew Tridgell | 2001-09-09 | 1 | -3/+3 | |
| | ||||||
* | added "display charset" option in smb.conf, along with d_printf() | Andrew Tridgell | 2001-09-07 | 1 | -117/+118 | |
| | | | | | | | | | which should now be used instead of DEBUG(0) or printf() for interactive messages I have only converted client.c to use d_printf(), and the code hasn't had much testing yet. Eventually we want all interactive code to use d_printf(), plus SWAT | |||||
* | the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵ | Andrew Tridgell | 2001-09-04 | 1 | -2/+3 | |
| | | | | the client code still needs some work | |||||
* | fixed handling of 139/445 in clients | Andrew Tridgell | 2001-08-24 | 3 | -11/+5 | |
| | ||||||
* | a bunch of fixes from the sflight to seattle | Andrew Tridgell | 2001-08-20 | 2 | -2/+1 | |
| | | | | | | in particular: - fixed NT status code for a bunch of ops - fixed handling of protocol levels in ms_fnmatch | |||||
* | this is a big global fix for the ptr = Realloc(ptr, size) bug. | Simo Sorce | 2001-08-12 | 2 | -4/+8 | |
| | | | | | | many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. | |||||
* | Change all realloc() statements to Realloc() (ecxept for tdb.c) | Simo Sorce | 2001-08-08 | 2 | -0/+9 | |
| | | | | | | | changed some code to exploit the fact that Realloc(NULL, size) == malloc(size) fixed some possible mem leaks, or seg faults. thanks to andreas moroder (mallocs not checked in client/client.c, client/smbumount.c) | |||||
* | Changed instances of TRUE, FALSE to True, False as some compilers don't | Tim Potter | 2001-07-12 | 1 | -1/+1 | |
| | | | | have the first set of symbols. | |||||
* | strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵ | Andrew Tridgell | 2001-07-04 | 4 | -29/+29 | |
| | | | | can't redefine them. damn. | |||||
* | The big character set handling changeover! | Andrew Tridgell | 2001-07-04 | 4 | -92/+39 | |
| | | | | | | | 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. | |||||
* | Applied Michael Sweet's patch, with one minor signal change. | Jeremy Allison | 2001-07-03 | 1 | -4/+26 | |
| | | | | Jeremy. | |||||
* | next_token() was supposed to be a reentrant replacement for strtok(), | Andrew Tridgell | 2001-06-21 | 2 | -32/+32 | |
| | | | | | | | | | but the code suffered from bitrot and is not now reentrant. That means we can get bizarre behaviour i've fixed this by making next_token() reentrant and creating a next_token_nr() that is a small non-reentrant wrapper for those lumps of code (mostly smbclient) that have come to rely on the non-reentrant behaviour | |||||
* | removed need for scandir in client.c | Andrew Tridgell | 2001-05-07 | 1 | -21/+14 | |
| | | | | fixed possible bug with readdirname on systems with NAMELEN != strlen | |||||
* | new mput code from idra that doesn't need a call to find | Andrew Tridgell | 2001-05-07 | 1 | -66/+152 | |
| | ||||||
* | More gcc compile on solaris tidyups. | Jeremy Allison | 2001-04-27 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | a couple of minor merges from 2_2 | Andrew Tridgell | 2001-04-22 | 3 | -3/+8 | |
| | ||||||
* | Getting medieval with compiler warnings as Jeremy puts it. | Tim Potter | 2001-04-16 | 1 | -3/+3 | |
| | ||||||
* | Fix from Tony Butt - shouldn't set got_pass for -c option. | Jeremy Allison | 2001-04-15 | 1 | -1/+0 | |
| | | | | Jeremy. | |||||
* | Patch from Mandrakesoft to ensure we close all files. | John Terpstra | 2001-04-14 | 1 | -1/+3 | |
| | ||||||
* | To stop people complaining about the mktemp call, move it into lib/util.c. ↵ | Jeremy Allison | 2001-04-11 | 1 | -10/+25 | |
| | | | | | | | | Thanks to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke XFS ACL code. Jeremy. | |||||
* | Got "medieval on our ass" about adding the -1 to slprintf. | Jeremy Allison | 2001-04-08 | 3 | -6/+6 | |
| | | | | Jeremy. | |||||
* | Fix for smbtar race condition from Glenn Burkhardt <glenn@aoi.ultranet.com>. | Jeremy Allison | 2001-03-26 | 1 | -1/+11 | |
| | | | | Jeremy. | |||||
* | Missed a cli_set_port on message code connect. | Jeremy Allison | 2001-03-26 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | added basic command completion support | Andrew Tridgell | 2001-03-19 | 1 | -1/+35 | |
| | ||||||
* | much simpler readline code | Andrew Tridgell | 2001-03-18 | 1 | -51/+44 | |
| | | | | should work with readline 2.x | |||||
* | much better readline support from Simo Sorce, with some mods from me | Andrew Tridgell | 2001-03-18 | 1 | -72/+24 | |
| | | | | to make it a bit simpler | |||||
* | Updates for CUPS 1.1 from Michael Sweet. | Jeremy Allison | 2001-03-16 | 1 | -1/+38 | |
| | | | | Jeremy. | |||||
* | Sync up Urbans changes from 2.2 into HEAD. | Jeremy Allison | 2001-03-10 | 2 | -5/+46 | |
| | | | | Jeremy. | |||||
* | Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues. | Jeremy Allison | 2001-03-09 | 1 | -55/+246 | |
| | | | | | | | | | We were reading the endainness in the RPC header and then never propagating it to the internal parse_structs used to parse the data. Also removed the "align" argument to prs_init as it was *always* set to 4, and if needed can be set differently on a case by case basis. Now ready for AS/U testing when Herb gets it set up :-). Jeremy. | |||||
* | Fixes to testsmbc to ensure it will compile on SGI ... | Richard Sharpe | 2001-03-09 | 1 | -18/+31 | |
| | ||||||
* | the -m option to the client is back | Andrew Tridgell | 2001-02-25 | 1 | -2/+4 | |
| | ||||||
* | Fix a small problem where tree.c was using the creation time to display, ↵ | Richard Sharpe | 2001-02-20 | 1 | -2/+2 | |
| | | | | rather than modification time. Creation time is not returned by the SMB protocol. | |||||
* | Improve the sample GTK+ client program to make it a bit more functional. | Richard Sharpe | 2001-02-19 | 1 | -139/+220 | |
| | ||||||
* | Excise snprintf -> slprintf. | Jeremy Allison | 2001-02-16 | 2 | -5/+5 | |
| | | | | | | | srv_samr.c: duplicate gid fix. srv_spoolss_nt.c: Merge of JF's work. uid.c: Fix for returning names when a PDC. Jeremy. | |||||
* | Fix calls to smbc_init in testsmbc.c and tree.c | Richard Sharpe | 2001-02-12 | 2 | -5/+104 | |
| | ||||||
* | io_bufsize was set too large and so full length reads | Anton Blanchard | 2001-01-25 | 1 | -1/+1 | |
| | | | | and writes got broken up into one ~64k and one ~1k packet. | |||||
* | Fixed bugs relating to Win2K and the need for a codepage so that unicode | Richard Sharpe | 2001-01-14 | 1 | -17/+25 | |
| | | | | strings can be handled correctly. | |||||
* | Many bug fixes to the libsmbclient.c code plus | Richard Sharpe | 2001-01-12 | 2 | -29/+236 | |
| | | | | | | | - 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 | |||||
* | Update the tree.c GTK+ App so it can walk down directories etc ... | Richard Sharpe | 2001-01-07 | 1 | -76/+122 | |
| | ||||||
* | Fix some more bugs in libsmbclient.c and add functionality to tree.c | Richard Sharpe | 2001-01-06 | 1 | -5/+23 | |
| | ||||||
* | Fix a minor problem with listing servers in a workgroup and add a | Richard Sharpe | 2001-01-06 | 1 | -0/+460 | |
| | | | | gtk+ test application that tests out some of this stuff ... | |||||
* | The latest changes to libsmbclient ... | Richard Sharpe | 2001-01-05 | 1 | -1/+118 | |
| | | | | | | | | It can now do a directory listing for workgroups, servers, and shares, and, with a bit more effort, it will be able to list directories and files. I also does not request a username and password for the IPC$ share, but it should if the first attempt to connect fails. | |||||
* | Needed a callback arg on cli_list ... | Richard Sharpe | 2001-01-05 | 1 | -3/+3 | |
| | ||||||
* | I need a callback arg for cli_NetServerEnum and cli_RNetShareEnum, so I had | Richard Sharpe | 2001-01-04 | 1 | -5/+7 | |
| | | | | | | to modifiy any routine that calls it to pass NULL and so forth. Should have no impact. It compiles OK. | |||||
* | First pass at the libsmbclient code ... | Richard Sharpe | 2000-12-26 | 1 | -0/+219 | |
| | | | | | | | | | | | | This code handles the basic stuff and compiles and links under Linux, but I do not know about any other operating systems. Now onto directory listing routines, including those that list workgroups, servers, etc. Nothing is built automatically yet, you have to make client/testsmbc to build the library and test program. Also, no make install targets are defined for libsmbclient.so as yet, either. Would be good if people test on operating systems other than Linux. | |||||
* | Tar fixes from Craig Barratt craig@arraycomm.com. | Jeremy Allison | 2000-11-22 | 2 | -2/+4 | |
| | | | | Jeremy. |