summaryrefslogtreecommitdiffstats
path: root/source3/client
Commit message (Collapse)AuthorAgeFilesLines
...
* 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 (This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
* fixed handling of 139/445 in clientsAndrew Tridgell2001-08-243-11/+5
| | | | (This used to be commit 22b372f8a7996a19bebb8cdb411df999cffa32a4)
* 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 used to be commit 3eba9606f71f90bfd9820af26f8676277ed22390)
* 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. (This used to be commit fa8e55b8b465114ce209344965c1ca0333b84db9)
* 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) (This used to be commit 7f33c01688b825ab2fa9bbb2730bff4f2fa352be)
* Changed instances of TRUE, FALSE to True, False as some compilers don'tTim Potter2001-07-121-1/+1
| | | | | have the first set of symbols. (This used to be commit ad0cbfbd790bc5d6003ffcff2835d82fb0140625)
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-044-29/+29
| | | | | | can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
* 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. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
* Applied Michael Sweet's patch, with one minor signal change.Jeremy Allison2001-07-031-4/+26
| | | | | Jeremy. (This used to be commit 8d1dab74c26d25938de14b34b383890731e9ebd0)
* 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 (This used to be commit 674ee2f1d12b0afc164a9e9072758fd1c5e54df7)
* removed need for scandir in client.cAndrew Tridgell2001-05-071-21/+14
| | | | | fixed possible bug with readdirname on systems with NAMELEN != strlen (This used to be commit 78f448b7d4b83f569d27e0abf6b1759c43ff21f3)
* new mput code from idra that doesn't need a call to findAndrew Tridgell2001-05-071-66/+152
| | | | (This used to be commit 5dac4cdee40b906455d984f4d7a7333ab411f876)
* More gcc compile on solaris tidyups.Jeremy Allison2001-04-271-1/+1
| | | | | Jeremy. (This used to be commit 956201c4fb6e604407911b9709574f0c24dcb84f)
* a couple of minor merges from 2_2Andrew Tridgell2001-04-223-3/+8
| | | | (This used to be commit 67aa587eb2ee9044574ee212dfd7d52895f868c0)
* Getting medieval with compiler warnings as Jeremy puts it.Tim Potter2001-04-161-3/+3
| | | | (This used to be commit d05c3cf0f47a3c863adbed7ad4ab8f3248cd072d)
* Fix from Tony Butt - shouldn't set got_pass for -c option.Jeremy Allison2001-04-151-1/+0
| | | | | Jeremy. (This used to be commit 83aa76205858a0d0a0fa2a22648e727b796908f2)
* Patch from Mandrakesoft to ensure we close all files.John Terpstra2001-04-141-1/+3
| | | | (This used to be commit 8051406588987005f621cb095067d3628638d250)
* 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. (This used to be commit 9b32b8a8cfc8ddb93c14d5581f433d2e93f89ed2)
* Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison2001-04-083-6/+6
| | | | | Jeremy. (This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)
* Fix for smbtar race condition from Glenn Burkhardt <glenn@aoi.ultranet.com>.Jeremy Allison2001-03-261-1/+11
| | | | | Jeremy. (This used to be commit 0c9a92a0557b2595e520cbaf2feaa587f9e7502d)
* Missed a cli_set_port on message code connect.Jeremy Allison2001-03-261-1/+1
| | | | | Jeremy. (This used to be commit 799e043ae3a4478b9e42604a3d1c88abbb74f047)
* added basic command completion supportAndrew Tridgell2001-03-191-1/+35
| | | | (This used to be commit 386fdff2dfeaeef60b210ebc0b4d33a6c7b5d5ec)
* much simpler readline codeAndrew Tridgell2001-03-181-51/+44
| | | | | should work with readline 2.x (This used to be commit 7940b6b0cf614ac72266d9e600220c9a9dbd2a43)
* much better readline support from Simo Sorce, with some mods from meAndrew Tridgell2001-03-181-72/+24
| | | | | to make it a bit simpler (This used to be commit e1487eb2c4626dbe0cc3b17606eda702cedef28b)
* Updates for CUPS 1.1 from Michael Sweet.Jeremy Allison2001-03-161-1/+38
| | | | | Jeremy. (This used to be commit 4e76f338698aaacdfa750205a1de7296b78cdd87)
* Sync up Urbans changes from 2.2 into HEAD.Jeremy Allison2001-03-102-5/+46
| | | | | Jeremy. (This used to be commit d0fcd9144363acb4136af9d82f25980bd837d73c)
* 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. (This used to be commit 0cd37c831d79a12a10e479bf4fa89ffe64c1292a)
* Fixes to testsmbc to ensure it will compile on SGI ...Richard Sharpe2001-03-091-18/+31
| | | | (This used to be commit ad3a21b2810883ec38f58bf8f8996a376536c762)
* the -m option to the client is backAndrew Tridgell2001-02-251-2/+4
| | | | (This used to be commit 69c13434f68b642bdf1a4974849e8a38da02d6c9)
* 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. (This used to be commit d7f3793a2be56acb4a7bc293912d7dc19b96f511)
* Improve the sample GTK+ client program to make it a bit more functional.Richard Sharpe2001-02-191-139/+220
| | | | (This used to be commit 3e8366c58ccddae24cc117d37899eb7a06a84212)
* 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. (This used to be commit d938ad6963a2dd4eda930d508600ec1902dc2b16)
* Fix calls to smbc_init in testsmbc.c and tree.cRichard Sharpe2001-02-122-5/+104
| | | | (This used to be commit 244edad065a48c110d73617e6c76bdae0ab6885d)
* 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. (This used to be commit b91f9064673a8ff11a3c0ea2ac40c3f39fa2a2d7)
* Fixed bugs relating to Win2K and the need for a codepage so that unicodeRichard Sharpe2001-01-141-17/+25
| | | | | strings can be handled correctly. (This used to be commit 5629b097d4f04ad45c66f270bd58f08d7c717353)
* 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 (This used to be commit 7f559c1a7307b91218d5984f48f65e7dc0ab66b9)
* Update the tree.c GTK+ App so it can walk down directories etc ...Richard Sharpe2001-01-071-76/+122
| | | | (This used to be commit 0490a0ed10cf6ded5b9483958eddd930ef32fb66)
* Fix some more bugs in libsmbclient.c and add functionality to tree.cRichard Sharpe2001-01-061-5/+23
| | | | (This used to be commit d6cef8877a7ed80329b3ba67231a94601fcfd060)
* 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 ... (This used to be commit 606c4aeceac0bd1823ec6376df3ca5016007ab38)
* 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. (This used to be commit 38ff91c5059a32c7ad2fd6074697c7c7f68a878c)
* Needed a callback arg on cli_list ...Richard Sharpe2001-01-051-3/+3
| | | | (This used to be commit d45e667a74fc2fcbf69c4819d480269c03dbfae4)
* 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. (This used to be commit 7f862e387f935a2125481338eee850afcb8d82ba)
* 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. (This used to be commit 51c0436a50e9f9274cee9de043bbefc93aff8011)
* Tar fixes from Craig Barratt craig@arraycomm.com.Jeremy Allison2000-11-222-2/+4
| | | | | Jeremy. (This used to be commit cf05709ec394d6cac14577c033d658bdc4506208)
* fixed typoGerald Carter2000-09-141-1/+1
| | | | | jerry (This used to be commit d2949468dccd79eb281769cd0da74e4b37d936b8)
* added -A <authfile> option to smbclient for the reading of username /Gerald Carter2000-08-291-9/+71
| | | | | | | | | password credentials from a file. --jerry (This used to be commit e2915009031d63f43cc11c36dac2dfe6c780b5f0)
* Linux kernel oplocks now seem to work, but need a _lot_ of testingAndrew Tridgell2000-06-111-2/+2
| | | | | | I had to modify sys_select() to not loop on EINTR. I added a wrapper called sys_select_intr() which gives the old behaviour. (This used to be commit b28cc4163bc2faaa80c5782fc02c8f03c410cdeb)
* and yet another memory leak - this one in the clientAndrew Tridgell2000-05-021-0/+5
| | | | (This used to be commit a85ae6e0ae39530a96e8b86ab868cfd7ea5bc967)
* Added sys_fork() and sys_getpid() functions to stop the overheadJeremy Allison2000-05-022-6/+6
| | | | | | of doing a system call every time we want to just get our pid. Jeremy. (This used to be commit 148628b616b5c29ba6340d65fc3ddbcabba6e67a)
* - removed all our old wildcard matching code and replaced it with aAndrew Tridgell2000-04-302-3/+3
| | | | | | | | | | | | | | | | | call to ms_fnmatch(). This also removes all the Win9X semantics stuff and a bunch of other associated cruft. - moved the stat cache code into statcache.c - fixed the uint16 alignment requirements of ascii_to_unistr() and unistr_to_ascii() - trans2 SMB_FIND_FILE_BOTH_DIRECTORY_INFO returns the short name as unicode always (at least thats what NT4 does) - fixed some errors in the in-memory tdb code. Still ugly, but doesn't crash as much (This used to be commit 03e9cea004bbba72161a5323cf3b4556c94aed8e)