summaryrefslogtreecommitdiffstats
path: root/source/client
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix compile warnings on IRIX's cc.Andrew Bartlett2001-09-161-3/+3
|
* declare dbf in one spotAndrew Tridgell2001-09-102-2/+0
|
* replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell2001-09-103-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 typoAndrew Tridgell2001-09-091-1/+1
|
* removed pointless parameter from readfile()Andrew Tridgell2001-09-091-3/+3
|
* added "display charset" option in smb.conf, along with d_printf()Andrew Tridgell2001-09-071-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 Tridgell2001-09-041-2/+3
| | | | the client code still needs some work
* fixed handling of 139/445 in clientsAndrew Tridgell2001-08-243-11/+5
|
* a bunch of fixes from the sflight to seattleAndrew Tridgell2001-08-202-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 Sorce2001-08-122-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 Sorce2001-08-082-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'tTim Potter2001-07-121-1/+1
| | | | have the first set of symbols.
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-044-29/+29
| | | | can't redefine them. damn.
* The big character set handling changeover!Andrew Tridgell2001-07-044-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 Allison2001-07-031-4/+26
| | | | Jeremy.
* next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell2001-06-212-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.cAndrew Tridgell2001-05-071-21/+14
| | | | fixed possible bug with readdirname on systems with NAMELEN != strlen
* new mput code from idra that doesn't need a call to findAndrew Tridgell2001-05-071-66/+152
|
* More gcc compile on solaris tidyups.Jeremy Allison2001-04-271-1/+1
| | | | Jeremy.
* a couple of minor merges from 2_2Andrew Tridgell2001-04-223-3/+8
|
* Getting medieval with compiler warnings as Jeremy puts it.Tim Potter2001-04-161-3/+3
|
* Fix from Tony Butt - shouldn't set got_pass for -c option.Jeremy Allison2001-04-151-1/+0
| | | | Jeremy.
* Patch from Mandrakesoft to ensure we close all files.John Terpstra2001-04-141-1/+3
|
* To stop people complaining about the mktemp call, move it into lib/util.c. ↵Jeremy Allison2001-04-111-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 Allison2001-04-083-6/+6
| | | | Jeremy.
* Fix for smbtar race condition from Glenn Burkhardt <glenn@aoi.ultranet.com>.Jeremy Allison2001-03-261-1/+11
| | | | Jeremy.
* Missed a cli_set_port on message code connect.Jeremy Allison2001-03-261-1/+1
| | | | Jeremy.
* added basic command completion supportAndrew Tridgell2001-03-191-1/+35
|
* much simpler readline codeAndrew Tridgell2001-03-181-51/+44
| | | | should work with readline 2.x
* much better readline support from Simo Sorce, with some mods from meAndrew Tridgell2001-03-181-72/+24
| | | | to make it a bit simpler
* Updates for CUPS 1.1 from Michael Sweet.Jeremy Allison2001-03-161-1/+38
| | | | Jeremy.
* Sync up Urbans changes from 2.2 into HEAD.Jeremy Allison2001-03-102-5/+46
| | | | Jeremy.
* Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison2001-03-091-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 Sharpe2001-03-091-18/+31
|
* the -m option to the client is backAndrew Tridgell2001-02-251-2/+4
|
* Fix a small problem where tree.c was using the creation time to display, ↵Richard Sharpe2001-02-201-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 Sharpe2001-02-191-139/+220
|
* Excise snprintf -> slprintf.Jeremy Allison2001-02-162-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.cRichard Sharpe2001-02-122-5/+104
|
* io_bufsize was set too large and so full length readsAnton Blanchard2001-01-251-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 unicodeRichard Sharpe2001-01-141-17/+25
| | | | strings can be handled correctly.
* Many bug fixes to the libsmbclient.c code plusRichard Sharpe2001-01-122-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 Sharpe2001-01-071-76/+122
|
* Fix some more bugs in libsmbclient.c and add functionality to tree.cRichard Sharpe2001-01-061-5/+23
|
* Fix a minor problem with listing servers in a workgroup and add aRichard Sharpe2001-01-061-0/+460
| | | | gtk+ test application that tests out some of this stuff ...
* The latest changes to libsmbclient ...Richard Sharpe2001-01-051-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 Sharpe2001-01-051-3/+3
|
* I need a callback arg for cli_NetServerEnum and cli_RNetShareEnum, so I hadRichard Sharpe2001-01-041-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 Sharpe2000-12-261-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 Allison2000-11-222-2/+4
| | | | Jeremy.