summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
2001-03-10Sync up Urbans changes from 2.2 into HEAD.Jeremy Allison2-5/+46
Jeremy. (This used to be commit d0fcd9144363acb4136af9d82f25980bd837d73c)
2001-03-09Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison1-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)
2001-03-09Fixes to testsmbc to ensure it will compile on SGI ...Richard Sharpe1-18/+31
(This used to be commit ad3a21b2810883ec38f58bf8f8996a376536c762)
2001-02-25the -m option to the client is backAndrew Tridgell1-2/+4
(This used to be commit 69c13434f68b642bdf1a4974849e8a38da02d6c9)
2001-02-20Fix a small problem where tree.c was using the creation time to display, ↵Richard Sharpe1-2/+2
rather than modification time. Creation time is not returned by the SMB protocol. (This used to be commit d7f3793a2be56acb4a7bc293912d7dc19b96f511)
2001-02-19Improve the sample GTK+ client program to make it a bit more functional.Richard Sharpe1-139/+220
(This used to be commit 3e8366c58ccddae24cc117d37899eb7a06a84212)
2001-02-16Excise snprintf -> slprintf.Jeremy Allison2-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)
2001-02-12Fix calls to smbc_init in testsmbc.c and tree.cRichard Sharpe2-5/+104
(This used to be commit 244edad065a48c110d73617e6c76bdae0ab6885d)
2001-01-25io_bufsize was set too large and so full length readsAnton Blanchard1-1/+1
and writes got broken up into one ~64k and one ~1k packet. (This used to be commit b91f9064673a8ff11a3c0ea2ac40c3f39fa2a2d7)
2001-01-14Fixed bugs relating to Win2K and the need for a codepage so that unicodeRichard Sharpe1-17/+25
strings can be handled correctly. (This used to be commit 5629b097d4f04ad45c66f270bd58f08d7c717353)
2001-01-12Many bug fixes to the libsmbclient.c code plusRichard Sharpe2-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)
2001-01-07Update the tree.c GTK+ App so it can walk down directories etc ...Richard Sharpe1-76/+122
(This used to be commit 0490a0ed10cf6ded5b9483958eddd930ef32fb66)
2001-01-06Fix some more bugs in libsmbclient.c and add functionality to tree.cRichard Sharpe1-5/+23
(This used to be commit d6cef8877a7ed80329b3ba67231a94601fcfd060)
2001-01-06Fix a minor problem with listing servers in a workgroup and add aRichard Sharpe1-0/+460
gtk+ test application that tests out some of this stuff ... (This used to be commit 606c4aeceac0bd1823ec6376df3ca5016007ab38)
2001-01-05The latest changes to libsmbclient ...Richard Sharpe1-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)
2001-01-05Needed a callback arg on cli_list ...Richard Sharpe1-3/+3
(This used to be commit d45e667a74fc2fcbf69c4819d480269c03dbfae4)
2001-01-04I need a callback arg for cli_NetServerEnum and cli_RNetShareEnum, so I hadRichard Sharpe1-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)
2000-12-26First pass at the libsmbclient code ...Richard Sharpe1-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)
2000-11-22Tar fixes from Craig Barratt craig@arraycomm.com.Jeremy Allison2-2/+4
Jeremy. (This used to be commit cf05709ec394d6cac14577c033d658bdc4506208)
2000-09-14fixed typoGerald Carter1-1/+1
jerry (This used to be commit d2949468dccd79eb281769cd0da74e4b37d936b8)
2000-08-29added -A <authfile> option to smbclient for the reading of username /Gerald Carter1-9/+71
password credentials from a file. --jerry (This used to be commit e2915009031d63f43cc11c36dac2dfe6c780b5f0)
2000-06-11Linux kernel oplocks now seem to work, but need a _lot_ of testingAndrew Tridgell1-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)
2000-05-02and yet another memory leak - this one in the clientAndrew Tridgell1-0/+5
(This used to be commit a85ae6e0ae39530a96e8b86ab868cfd7ea5bc967)
2000-05-02Added sys_fork() and sys_getpid() functions to stop the overheadJeremy Allison2-6/+6
of doing a system call every time we want to just get our pid. Jeremy. (This used to be commit 148628b616b5c29ba6340d65fc3ddbcabba6e67a)
2000-04-30- removed all our old wildcard matching code and replaced it with aAndrew Tridgell2-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)
2000-03-10Fix for names with spaces and some I18N filename issues fromJeremy Allison1-10/+11
V. Fyodorov <V.Fyodorov@VAZ.RU>. Jeremy. (This used to be commit 4673aa1a4b133338715059174813b8e29d093972)
2000-02-25client/client.c:Jeremy Allison1-1/+6
libsmb/clientgen.c: Fixes for Win2k smbclient browsing. Other fixes implement smbpasswd -x user to delete users. Also allows swat to do the same. Jeremy. (This used to be commit 9f6ad046761adecafba59040baa3abc9f0959e65)
2000-01-27Fixed code page conversions of messages outgoing/incoming.Jeremy Allison1-0/+7
Jeremy. (This used to be commit 84b045cbc8b337f1e23f200af433ac9d265a22d4)
2000-01-26Second set of inline optimisation fixes from Ying Chen <ying@almaden.ibm.com>.Jeremy Allison1-4/+4
Stop makeing function calls for every use of skip_multibyte_char. This function is called several *million* times during a NetBench run :-). Jeremy. (This used to be commit e5a3deba46ea2d4cb49a6c4b73edd766fe8b5a5c)
2000-01-08cli_open() wasn't handling DENY_FCB or O_WRONLY correctly.Andrew Tridgell3-3/+3
After fixing that I needed to use O_RDWR instead of O_WRONLY in several places to avoid the silly bug in MS servers that doesn't allow getattrE on a file opened with O_WRONLY (This used to be commit e21aa4cb088f348139309d29c85c48c8b777cff5)
2000-01-07this looks like a big commit, but it isn't really :)Andrew Tridgell3-14/+17
This fixes our netbios scope handling. We now have a 'netbios scope' option in smb.conf and the scope option is removed from make_nmb_name() this was prompted by a bug in our PDC finding code where it didn't append the scope to the query of the '*' name. (This used to be commit b563be824b8c3141c49558eced7829b48d4ab26f)
2000-01-06Fixed spurious error message when doing a 'put' of an empty file.Jeremy Allison1-1/+4
Jeremy (This used to be commit 9ba8ad1d3d4559fdf6695a18c99e83a1d37c9ac4)
2000-01-05client/client.c: I18N fixes.Jeremy Allison1-33/+23
smbd/dir.c: Reformatting comments. smbd/ipc.c: New password change code for Win98. Jeremy. (This used to be commit 9e90122afd1b6a7cf38660fc3bc3aa8e526bf08b)
1999-12-21changed %g to %3.1f to be friendly to our poor snprintf() codeAndrew Tridgell1-2/+2
(This used to be commit 6d506ee641a3e3dc9e1d3b3bbb78fe11b9326c70)
1999-12-17client/smbspool.c from 2.0.6Andrew Tridgell1-0/+366
(This used to be commit 599a7e7f9e73fb7c0da960b46f16990991e9424e)
1999-12-132nd phase of head branch sync with SAMBA_2_0 - this delets all the files ↵Andrew Tridgell1-975/+0
that were in the head branch but weren't in SAMBA_2_0 (This used to be commit d7b208786590b5a28618590172b8d523627dda09)
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell5-1203/+1004
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1999-12-01sys_select added one more argument (read, write selectors).Luke Leighton2-2/+2
(This used to be commit e4d92ff9dfc51735e6932748f66a7c20b2c1cb6a)
1999-11-26whoa. _major_ restructure of rpcclient. fixed some buuugs, created a few.Luke Leighton1-5/+5
found out that getopt() _must_ have optind set to 0 before reuse. still haven't decided what to do with the net* api yet... (This used to be commit 29c480085e786905bfd92ea3cd93658f94e96e47)
1999-10-30general, drastic improvements to rpcclient.Luke Leighton1-5/+5
added samgroup <groupname> command added samgroupmem <groupname> command added proper registry key completion added sam command user-completion (e.g samuser [tab]) added sam command group-completion (e.g samgroup [tab]) (This used to be commit bc5d021916a2f070c62011870a80b3b2707aff3b)
1999-07-09Put back in GNU readline support for smbclient accidentally trashed byTim Potter1-1/+210
tridge in the clientgen.c to clientutil.c conversion. (This used to be commit 26d66071fbac2c46445153c214bb13d587a67b49)
1999-06-29smbclient modified to use cli_establish_connection(). smbclient thereforeLuke Leighton1-58/+39
now uses improved authentication. smbclient now "broken" for "scripts" based on DEBUG() output. cli_establish_connection() requires modification to support old scripts. (This used to be commit b0539d43407cb2b0bab7977908de09b21b145218)
1999-03-30declare ttarf as double, as in client.cAlexandre Oliva1-1/+1
(This used to be commit dfcfeb743a7667c9dedf3d2b04587c497af12893)
1999-03-30use double instead of SMB_BIG_UINT for dir_total and ttarfAlexandre Oliva2-4/+4
(by tridge, merged from branch) (This used to be commit b482ac8fc4948ead79be8dd08c8386449f12e5f6)
1999-03-25SMB_BIG_INT dir_total incompatible with %d: must use %llu (line 446)Luke Leighton1-1/+1
(This used to be commit 1cece2124601fad6f5f9e3e16c4b0848ec9be249)
1999-03-25* client/client.c (dir_total): use SMB_BIG_UINTAlexandre Oliva2-4/+5
* client/clitar.c (ttarf): ditto * * lib/snprintf.c: support long longs; adapted from Cloyce D. Spradling's patch <cloyce@headgear.org> (This used to be commit 29581f8486e221f41669c2ca268c282f36a496ce)
1999-02-18Got to the bottom of another weird one...Michael Warfield1-1/+5
Piping the output of smbmount back to autofs/automount was causing the automount process to hang. Reason was that automount was depending on the pipe to close to continue on, rather than detecting the child signal. This occured with debug enabled and the daemon process was not closing the stdout process. Disabling debuging avoids the problem. Debugging is turned off in the cvs repository and a warning placed over the debugging option. (This used to be commit 329ceaee49fa0175f78873433bd942865309f633)
1999-02-14Added caching of user password if it was entered via getpass. We were alreadyMichael Warfield1-1/+102
caching the password if it came from the command line or from the environment. This completes the set and deals with the bloody nusance when reconnecting a connection after we have gone daemon... Grrr... Added code to clean up the mount point following a catastrophic failure during reconnect. The smbmount daemon was exiting but leaving the mount point in an unusable state. If smbmount must exit following a reconnect failure, we "unmount" the mount point and clean up mnttab. Currently, the unmount works, fixing some really ugly I/O errors and failure when trying to remount. The cleanup on mnttab still has problems. This is better than what it was and doesn't break anything that wasn't broken before, so I'm committing this in even with the mnttab problem. Will commit the fix to that when I figure out what is busted there... -mhw- (This used to be commit ad8389804cec6c6bf04601a1d7bb3fb7aa8c2274)
1999-02-13 Fixed a glibc glitch in smbumount.c and reenabled some debuggingMichael Warfield2-2/+2
in smbmount.c (This used to be commit 4b4a706213032ad49a0653e80721bac5f6284f90)
1999-02-03%s not $sLuke Leighton1-1/+1
(This used to be commit 62118e15fed8c9a7e13705842d0ae59669a2dd8f)