summaryrefslogtreecommitdiffstats
path: root/source/client/client.c
Commit message (Collapse)AuthorAgeFilesLines
* r6685: smbclient fixesGerald Carter2005-05-091-3/+16
| | | | | | * BUG 2680: copy files from an MSDFS win2k root share * BUG 2688: re-implement support for the -P (--port) option * support connecting to an 'msdfs proxy' share on a Samba server
* r6388: BUG 2626: ensure that the calling_name is set to something after ↵Gerald Carter2005-04-191-0/+2
| | | | parsing smb.conf (if not set via -n)
* r6348: Fix for bug #2605 reported by Daniel Patterson ↵Jeremy Allison2005-04-151-6/+21
| | | | | | | <Daniel_Patterson@national.com.au>. Ensure smbclient doesn't perform commands if the "chdir" fails in a scripted set. Jeremy.
* r6291: BUG 2588: force smbclient messages to port 139 unless someone set the ↵Gerald Carter2005-04-111-1/+6
| | | | -p option
* r6225: get rid of warnings from my compiler about nested externsHerb Lewis2005-04-061-3/+3
|
* r6120: Added "volume" command to smbclient that prints out the volume name andJeremy Allison2005-03-301-0/+20
| | | | | serial number. Jeremy.
* r5979: Don't crash when talking to a Win98 server (bugid #2530 - not a fixJeremy Allison2005-03-221-0/+1
| | | | | buy just prevent the crash). Jeremy.
* r5968: derrell's large file fix for libsmbclient (BUG 2505)Gerald Carter2005-03-221-2/+2
|
* r5835: Make smbclient obey the max protocol argument again.Jeremy Allison2005-03-161-1/+1
| | | | Jeremy.
* r5578: get 'recurse; dir' working across multiple levels of dfs referrals Gerald Carter2005-02-261-16/+16
| | | | | | note that this does not handle the situation where the same \\server\share is mounted mutliple times in the dfs tree since I store a single mount path per struct cli_state *
* r5577: get recurse; dir working across single level dfs referralsGerald Carter2005-02-261-3/+5
|
* r5545: move cli_cm_XXX() connection handling code to clidfs and out of ↵Gerald Carter2005-02-241-273/+27
| | | | client.c; client.c still maintains a pointer to the first connection so the change is fairly reansparent to other smbclient functions such as -L and -M
* r5542: fix a few more msdfs bugs in smbclient against both smbd and 2k dfs rootGerald Carter2005-02-241-5/+29
| | | | shares.
* r5527: Allow own netbios name to be set in smbclient's session setup.Günther Deschner2005-02-241-2/+8
| | | | Guenther
* r5520: fix last remaining dfs issues with smbclient.Gerald Carter2005-02-231-53/+146
| | | | | | | | | | | | | | | * all the unix extension commands should work * send the correct TRANS2_FINDFIRST format to 2k to get a listing from a msdfs root share (tested against smbd as well). * mkdir, rmdir, etc... all seem ok. I'm sure bugs will pop up so keep testing. Last thing I plan on doing is to clean up the horrible mess with connection management in smbclient and global variables (so i can move the cli_cm_xx() routines to a separate file).
* r5519: fix msdfs support for [m]get and [m]putGerald Carter2005-02-231-16/+32
|
* r5518: Add initial msdfs support to smbclient. Currently I can only Gerald Carter2005-02-231-104/+141
| | | | | | | | | | | | cd up and down the tree and get directory listings. Still have to figure out how to get a directory listing on a 2k dfs root. Also have to work out some issues with relative paths that cross dfs mount points. We're protected from the new code paths when connecting to a non-dfs root share ( the flag from the tcon&X is stored in the struct cli_state* )
* r5495: * add in some code from Mike Nix <mnix@wanm.com.au> for the SMBsplopenGerald Carter2005-02-221-129/+271
| | | | | | | | | | | | | | | | and SMBsplclose commands (BUG 2010) * clarify some debug messages in smbspool (also from Mike) my changes: * start adding msdfs client routines * enable smbclient to maintain multiple connections * set the CAP_DFS flag for our internal clienht routines. I actualy have a dfs referral working in do_cd() but that code is too ugly to live so I'm not checking it in just yet. Further work is to merge with vl's changes in trunk to support multiple TIDs per cli_state *.
* r4697: Fix for bug #2231 inspired by brad.ellis@its.monash.edu.au.Jeremy Allison2005-01-121-3/+3
| | | | | Remove double "\\" from findfirst. Jeremy.
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2004-12-071-14/+14
| | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy.
* r3931: Fix all "may be used uninitialized" and "shadow" warnings.Jeremy Allison2004-11-241-2/+4
| | | | Jeremy.
* r3714: Getfacl now seems to work on files and directories. Next do setfaclJeremy Allison2004-11-131-2/+132
| | | | | and port to Samba4. Jeremy.
* r3713: Implementation of get posix acls in UNIX extensions. Passes valgrind.Jeremy Allison2004-11-121-0/+47
| | | | | | | | Need to add printout functions in client and set posix acl in server. SteveF - take a look at this for the cifsfs client ! Once this is working and tested the next step is to write this up for the UNIX extensions spec. documents. Jeremy.
* r3292: A fix from Narayana Pattipati ↵Richard Sharpe2004-10-271-2/+2
| | | | | | <narayana[dot]pattipati[at]wipro\dotty/com> for Solaris to ensure we distinguish properly between 5.1 and 5.10.
* r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid of Tim Potter2004-10-071-1/+1
| | | | | '..' from all #include preprocessor commands. This fixes bugzilla #1880 where OpenVMS gets confused about the '.' characters.
* r2651: Added 'stat' command to smbclient to exercise the UNIX_FILE_BASICJeremy Allison2004-09-261-0/+153
| | | | | | | | info level. Outputs data on the file in the same format the the stat command in Linux. Should be useful to people wanting to learn how to parse the UNIX extension output. Yes I will add the docs later :-). Jeremy.
* r1908: Bugzilla #1541. Fix recursive ls in smbclient. Fix by Josef Zlomek.Tim Potter2004-08-191-1/+1
|
* r1320: Return an error when the last command read from stdin fails in ↵Jelmer Vernooij2004-07-011-2/+4
| | | | | | smbclient + prepare for better error checking in tar..
* r1154: Change default setting for case sensitivity to "auto". If set to autoJeremy Allison2004-06-151-0/+16
| | | | | | | | | | | | then is the client supports it (current clients supported are Samba and CIFSVFS - detected by the negprot strings "Samba", "POSIX 2" and a bare "NT LM 0.12" string) then the setting of the per packet flag smb_flag FLAG_CASELESS_PATHNAMES is taken into account per packet. This allows the linux CIFS client to use Samba in a case sensitive manner. Additional command in smbclient "case_sensitive", toggles the flag in subsequent packets. Docs to follow. Jeremy.
* r1085: Now it's had some proper user testing, merge in the deferred open ↵Jeremy Allison2004-06-081-1/+1
| | | | | | | | fix. I'm still doing more testing, but it fixes a behaviour that we've been wrong on ever since the start of Samba. Jeremy.
* r710: Fix smbclient symlink command when widelinks = no.Jeremy Allison2004-05-131-2/+1
| | | | Jeremy.
* r96: Stupid f&%'n UNIX extensions.... SETPATHINFOJeremy Allison2004-04-061-18/+18
| | | | | | | | | | | | | | normally takes as it's param entry the filename to be acted upon.... Unless it's UNIX extensions create hardlink, or UNIX extensions create symlink. Then it's param -> newfile name data -> oldfile name. This caused me to stuff them up in 3.0.2 (and the client commands link and symlink). Fixed them, everything is now called oldname and newname - thus specifying which name should already exist (hint - the old one...) and which will be created (newname). Jeremy.
* r2: import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunkCVS Import User2004-04-041-0/+3085
metze