summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5545: move cli_cm_XXX() connection handling code to clidfs and out of ↵Gerald Carter1-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 (This used to be commit d6a05ffd664e2e304f6e481af34a4c5d640fc3f9)
2007-10-10r5542: fix a few more msdfs bugs in smbclient against both smbd and 2k dfs rootGerald Carter1-5/+29
shares. (This used to be commit 5d2624c453b0bc961302edd9f2421a7c3d504d1f)
2007-10-10r5527: Allow own netbios name to be set in smbclient's session setup.Günther Deschner1-2/+8
Guenther (This used to be commit 3660b7e64d9a17bcaa4f43c6d782b0b1d52ed6ab)
2007-10-10r5520: fix last remaining dfs issues with smbclient.Gerald Carter1-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). (This used to be commit 53d6a5f9d16aef4afc60b4b37b296b256da00dfd)
2007-10-10r5519: fix msdfs support for [m]get and [m]putGerald Carter1-16/+32
(This used to be commit 6a9e4d6af1a4a4f426189e71aac5a4e7e217d6f7)
2007-10-10r5518: Add initial msdfs support to smbclient. Currently I can onlyGerald Carter1-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* ) (This used to be commit e57fd2c5f00de2b11a2b44374830e89a90bc0022)
2007-10-10r5495: * add in some code from Mike Nix <mnix@wanm.com.au> for the SMBsplopenGerald Carter2-132/+274
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 *. (This used to be commit 0449756309812d854037ba0af631abad678e670e)
2007-10-10r5295: fix compile issue with MIT 1.4 due to broken gssapi.hGerald Carter1-30/+0
(This used to be commit f88f5e12187ed87934ae2cafbf9e9599d4fd7f6c)
2007-10-10r5263: bug 2249: patch from Manuel Baena <mbaena@lcc.uma.es> to print error ↵Gerald Carter1-1/+2
message in fullpath() (This used to be commit 0f66db48b09adc5b78a10e5023604c333684cbb3)
2007-10-10r5236: Ignore users mount parm (since unneeded by cifs kernel code). ↵Steve French1-1/+5
Suggested by Dirk Jagdmann. (This used to be commit 076485169e44a95981a12606c639b973c4e79d4e)
2007-10-10r5207: patches from Jay Fenlason @ RedHat (scooped from their Fedora packages)Gerald Carter2-7/+11
(This used to be commit 9019a8436162d3606f6b8584701b0832cf5a7439)
2007-10-10r4697: Fix for bug #2231 inspired by brad.ellis@its.monash.edu.au.Jeremy Allison1-3/+3
Remove double "\\" from findfirst. Jeremy. (This used to be commit 88a89b31059ac21e09d283f8795cd6ea88c4315c)
2007-10-10r4291: More *alloc fixes inspired by Albert Chin (china@thewrittenword.com).Jeremy Allison1-1/+1
Jeremy (This used to be commit efc1b688cf9b1a17f1a6bf46d481280ed8bd0c46)
2007-10-10r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2-25/+25
allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
2007-10-10r3931: Fix all "may be used uninitialized" and "shadow" warnings.Jeremy Allison1-2/+4
Jeremy. (This used to be commit 8e979772a640bb4f00f4d72b6a9c837b8ef14333)
2007-10-10r3714: Getfacl now seems to work on files and directories. Next do setfaclJeremy Allison1-2/+132
and port to Samba4. Jeremy. (This used to be commit 4d52bf7c8b3147dd4f0d3081fbf9a1f5ebd246a1)
2007-10-10r3713: Implementation of get posix acls in UNIX extensions. Passes valgrind.Jeremy Allison1-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. (This used to be commit 1bd3f133442a472b4718b94a636f2fec89a2e0dc)
2007-10-10r3292: A fix from Narayana Pattipati ↵Richard Sharpe1-2/+2
<narayana[dot]pattipati[at]wipro\dotty/com> for Solaris to ensure we distinguish properly between 5.1 and 5.10. (This used to be commit 96baa5bb6c908fa5e870d86d3f380fd368ada658)
2007-10-10r3275: Fix from Michael Sweet <mike@easysw.com> for bug #1892.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 13278744cce43060379b7bbebcdf90b41546d43d)
2007-10-10r3068: strip guest mount option off before sending to kernel mount routine ↵Steve French1-0/+6
to avoid logging spurious message (This used to be commit a23c607ef0594ab098d1e5d85fb7635e530e3818)
2007-10-10r2917: Fix ip address override in mount.cifs mount helper and clean up ↵Steve French1-45/+61
warning messages from the sparse tool and expand syntax help (This used to be commit 1052eabf29f6c197b126f44d32fd5c5bc8f4a9c3)
2007-10-10r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid ofTim Potter2-2/+2
'..' from all #include preprocessor commands. This fixes bugzilla #1880 where OpenVMS gets confused about the '.' characters. (This used to be commit 7f161702fa4916979602cc0295919b541912acd6)
2007-10-10r2651: Added 'stat' command to smbclient to exercise the UNIX_FILE_BASICJeremy Allison1-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. (This used to be commit b25cc596417d29815814c3968ac2627bf59ffc0b)
2007-10-10r2361: Fix the appalling toktocliplist() fn. Bug found by Luis Benvenutto.Jeremy Allison1-3/+5
Jeremy. (This used to be commit d434d8e2b47bc8553ee04bd7211f622e3fcbb7fb)
2007-10-10r1908: Bugzilla #1541. Fix recursive ls in smbclient. Fix by Josef Zlomek.Tim Potter1-1/+1
(This used to be commit e59af43f6b8f824447bd20efc08dd81f2774e99c)
2007-10-10r1616: Fix user unmount of shares mount with suid mount.cifsSteve French1-9/+33
(This used to be commit 2bd28007159a3ce4a1b8737218e7b75bc2286682)
2007-10-10r1320: Return an error when the last command read from stdin fails in ↵Jelmer Vernooij2-5/+7
smbclient + prepare for better error checking in tar.. (This used to be commit 374f00b56b7e9bff08e70ee2d93538b2c7fde7b7)
2007-10-10r1154: Change default setting for case sensitivity to "auto". If set to autoJeremy Allison1-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. (This used to be commit cf84c0fe1a061acc0313f7db124b8f947cdf623d)
2007-10-10r1085: Now it's had some proper user testing, merge in the deferred open ↵Jeremy Allison1-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. (This used to be commit 894cc6d16296b934c112786eec896846156aee5d)
2007-10-10r947: Patch from Fabian Franz <FabianFranz@gmx.de> that allows youJelmer Vernooij1-4/+16
to specify a port in the device URL. (This used to be commit e6dcda2b10c4871ca8488bf04b22c2c11673621d)
2007-10-10r737: Handle -S and user mount parmsSteve French1-24/+40
(This used to be commit ea597e75237cf14343b217da7119f9ade2303ae5)
2007-10-10r710: Fix smbclient symlink command when widelinks = no.Jeremy Allison1-2/+1
Jeremy. (This used to be commit ed699a73f899b3212185ecf52d1c4cd59cc8a7ea)
2007-10-10r96: Stupid f&%'n UNIX extensions.... SETPATHINFOJeremy Allison1-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. (This used to be commit 21cc6ab7e8a41160a3e2970623ade7445b5214d6)
2007-10-10r88: Add missing guest mount option for mount.cifsSteve French1-9/+10
(This used to be commit e688c08d330836640af91c734d2c6f451c2f4337)
2007-10-10r77: Fix path canonicalization of the mount target path and help text ↵Steve French1-5/+25
display in the cifs mount helper (This used to be commit 69861f168c6be90b4e7f47e29006b2d60d442ffd)
2007-10-10r76: Fix smbfs problem with Tree Disconnect issued before smbfs starts its work.Alexander Bokovoy1-0/+1
We use cli_state.smb_rw_error to pass this specific case into cli_close_connection() from smbmount as smb_rw_error can have only selected number of states and it is ignored in cli_close_connection(). Compiled and tested by Lars Mueller from SuSE on x86, x86_64, ppc, ppc64, s390 and s390x. (This used to be commit 738666ce0a310fae14476020fd6dac027b0e3ec5)
2007-10-10r39: * importing .cvsignore filesGerald Carter1-1/+0
* updateing WHATSNEW with vl's change (This used to be commit a7e2730ec4389e0c249886a8bfe1ee14c5abac41)
2007-10-10r18: Fix free of incremented pointerSteve French1-5/+4
(This used to be commit dfac69be4fc63745e2d0b4cecb8106286c7c8ca0)
2004-04-02Fix credential file mountinf for cifs vfsSteve French1-10/+37
(This used to be commit 9ad22b8a3d839501b72f3b96d43a22365c15ec43)
2004-03-26source code fix for bug 1095 -- honor the '-l' optionGerald Carter1-2/+6
(This used to be commit ab48af6993b427f525c36aa0ffd57c612c100561)
2004-03-18Merge from HEAD for Amanda group.Jeremy Allison1-2/+2
Apply Craig Barratt's fixes to allow multiple exlusion files and patterns. Jeremy. (This used to be commit 0272fac8ca40b3d4ea4de8ac8a2e371d450d12e6)
2004-03-12Fix problems with very long filenames in both smbd and smbclient.Alexander Bokovoy1-37/+37
It appears that we pass filename through resolve_wildcards() as pstring and use fstring temporary buffer there. As result, a long filename in unix charset (UTF-8 by default) can easily expand over 255 bytes while Windows is able to send to us such names (e.g. Japanese name of ~190 mb chars) which we unable to process through this small fstring buffer. Tested with W2K and smbclient, Japanese and Cyrillics. (This used to be commit 83dac6571f99b854ac607d4313cc3f742c1fae2e)
2004-03-11BUG 1088: patch from SATOH Fumiyasu <fumiya@miraclinux.com> -- use ↵Gerald Carter1-29/+19
strchr_m() for query_host (smbclient -L) (This used to be commit bc6992c4bffed043dd8ad58d721202091cd14cd3)
2004-03-03Added client "hardlink" commant to test doing NT rename with hard links.Jeremy Allison1-12/+6
Added hardlink_internals() code - UNIX extensions now use this too. Jeremy. (This used to be commit aad6eb2240393931940c982e25a981ce32264f38)
2004-03-03Use a common function to parse all pathnames from the wire. This allowsJeremy Allison1-3/+43
much closer emulation of Win2k3 error return codes. Jeremy. (This used to be commit c9f31fafeda6ad79e590276f36e03ecd2e93f818)
2004-03-01BUG 692: patch from SATOH Fumiyasu <fumiya@miraclelinux.com> to correct ↵Gerald Carter1-4/+4
truncation of share names and workgroup names (This used to be commit 822e31d841e720d48f4feeec673b75575caa8fac)
2004-02-26Fixes to minor security bug pointed out by AB in the mount helperSteve French1-1/+8
(This used to be commit b83802c5a14800554d30c32c12ae3a86e3136bdf)
2004-02-17Fix incorrect strnicmp lenSteve French1-23/+22
(This used to be commit ad1ebb5000066d44ce94f0341fb31351b3900e95)
2004-02-17Disable dev (MS_NODEV) on user mounts from cifs vfsSteve French1-1/+1
(This used to be commit 9b0d1072bc66d05d0e9afcbe0da349ccaa99ba6e)
2004-02-16Disable suid on user mounts (can override with -DCIFS_ALLOW_USR_SUID)Steve French1-1/+5
(This used to be commit a718f16e0bf78139ea46383feec0ce72c63a4986)