summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
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)
2004-02-13urban's changes for nosuid,nodevGerald Carter1-1/+1
(This used to be commit ed46d9aef3b423f583475da77db672b685ddf531)
2004-02-12Commit Andrew Bartlett's interesting patch to smbclient that allows forRichard Sharpe1-1/+57
multiple logins and changing vuids. I fixed up a couple of variables so it actually works. We want to use this to test our multiple SIDs in the kernel changes etc. (This used to be commit 4df824d38bd7673b27dd7d7f880420e78a136032)
2004-02-11Update mount.cifs version to 1.1Steve French1-1/+1
(This used to be commit e73b6a5ae51687c42b621f6bf496c8ae1a73aee1)
2004-02-11Mount helper fixes for nosetuid, noexec part two of twoSteve French1-10/+10
(This used to be commit c2b4d81a8dae23170d32713e3e766dcf5be9a040)
2004-02-11Add missing nosetuid and noexec optionsSteve French1-7/+41
(This used to be commit 5bb6429cc46f4bedd87b309ed98b61b10684cd0f)
2004-02-11BUG 900: TAKEDA yasuma <yasuma@miraclelinux.com; fix token processing in ↵Gerald Carter1-9/+9
cmd_symlink, cmd_link, cmd_chown, cmd_chmod functions (This used to be commit 60eb69ff64cc9836072f8f3894e8bc685dc7466a)
2004-01-16Patch from "Stoian Ivanov" <sdr@bultra.com>: Add -g (greppable..) toVolker Lendecke1-14/+34
smbclient -L to make the output usable in pipes. Volker (This used to be commit 4c904210705f2be16daad21c07a4fb5117a3360b)
2004-01-15* BUG 446Gerald Carter1-1/+2
- setup_logging() in smbclient to be interactive (remove the timestamps) - Fix bad return value in pull_ucs2( needs more testing to make sure this didn't break something else) that caused clistr_pull() to always read the same string from the buffer (pull_usc2() could return -1 if the original source length was given as -1) - increment some debugging messages to avoid printing them out so often (This used to be commit 79fe75dcdf6cc38e18ca1231e4357893db4d4a08)
2004-01-05cifs mount helper mergeSteve French1-226/+450
(This used to be commit 865fcdcb85d47eeff854f4df0aba0c0f3452bdd9)
2003-12-11mount.cifs failed to mount to directory owned by user when run setuidSteve French1-2/+2
(This used to be commit 18c0315c3cb1a28fd870f8dd5d92f2e9117a29fc)
2003-11-04Fix crash bug in smbclient completion. Closes bug #659.Tim Potter1-3/+2
(This used to be commit 4480058d85ebe9175c4720c18100b459877dbd07)
2003-10-22Fix segfault in mount.cifs helper when there is no options specified during ↵Alexander Bokovoy1-1/+1
mount (This used to be commit fb87388a9fe959ecb01d88e2f974b077bac0a34d)
2003-09-12Fix from Craig Barratt <cbarratt@users.sourceforge.net> to fix restoreJeremy Allison1-2/+4
with filenames > 100 chars. Jeremy. (This used to be commit aa40a86cbe797cba4e281cb8dc09b2ae67e93dc2)
2003-09-05More tuning from cachegrind. Change most trim_string() calls to trim_char(0,Jeremy Allison1-1/+1
as that's what they do. Fix string_replace() to fast-path ascii. Jeremy. (This used to be commit f35e9a8b909d3c74be47083ccc4a4e91a14938db)
2003-09-02Proposed patch for #308. Needs testing.Jeremy Allison1-7/+10
Jeremy (This used to be commit e2b73477e772ac2f527719df0d3d64c67649bb1c)
2003-08-29Update mount helper to take synonyms for file_mode and dir_mode (fmask and ↵Steve French1-9/+28
dmask) (This used to be commit 89a0e97094fa85b6339f0ad0884cf55987758263)
2003-08-27Print an error instead of crashing if no argument is specified forTim Potter1-0/+4
smbclient -T Fixes bug 345. (This used to be commit a46e58e2b6e3d9526012d6a2d903163a3373fa59)
2003-08-25fix bug #39; save the -W value and restore it after lp_load()Gerald Carter1-1/+18
(This used to be commit 79efe7d72ba503b58c8ad3b9b1c711f5ebb33521)
2003-08-20metze's autogenerate patch for version.hGerald Carter3-4/+4
(This used to be commit ae452e51b02672a56adf18aa7a7e365eeaba9272)
2003-08-16Fixes to all mount.cifs to run more safely setuidSteve French1-3/+22
(This used to be commit bdb65b9a6e033ca25d98e924d44b1639dd0c0fb9)
2003-08-15get rid of more compiler warningsHerb Lewis1-2/+2
(This used to be commit 398bd14fc6e2f8ab2f34211270e179b8928a6669)
2003-08-15get rid of const as these things really are not constHerb Lewis1-2/+2
(This used to be commit 61bea183a229cc11f25c4a7cb5341faad9833d7b)
2003-08-14Don't ask twice for the passwordVolker Lendecke1-0/+1
(This used to be commit 8ebd92da01a72b26df769125f51934796e9e3d4f)
2003-08-12Apply a little constVolker Lendecke1-1/+1
(This used to be commit e3b36906c53bd4a9231c2efb007cec234e52a78f)
2003-08-10We get the server and workgroup list only over port 139. Fall back to thatVolker Lendecke1-0/+16
and if NetBIOS over TCP/IP is disabled, give an error message. Fixes Bug #284 Volker (This used to be commit a2902a6cf8d05569d1c690436f69b4a4cedac400)
2003-08-06Ensure smbclient obeys -s smb.conf option.Jeremy Allison1-6/+16
Jeremy. (This used to be commit 7950f7d6b2c5e8247bce1e96ddd1a9ec1045f7f9)
2003-08-06Reversed replacement. Oops.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 520bee397d946766cef8ab9f0d7d89064106f510)
2003-08-06Anal formatting tidyup :-).Jeremy Allison1-181/+198
Jeremy. (This used to be commit 9c0197471366ad1acf922e02bb694769863054a6)
2003-08-06Get rid of MAXPATHLEN, move to standard PATH_MAX.Jeremy Allison3-5/+5
Jeremy. (This used to be commit 455ed2d51d86f39ce0fa6e6abca31a5425d2ea17)
2003-08-01Fix the option processing for smbtar. Does no one check this !Jeremy Allison2-6/+35
Jeremy. (This used to be commit c4af1ec73584656fb9d2b372461da4748e1643f1)
2003-08-01Finish reformatting.Jeremy Allison1-516/+467
Jeremy. (This used to be commit 5ef75fa36620a87e8fd8567b854ea0770d8125ea)
2003-08-01Reformat lots of clitar code as I hate the style so much :-).Jeremy Allison1-563/+540
Jeremy. (This used to be commit 77f2a91549c8b61e74e2088faef2b61612803aed)
2003-08-01Reformat clitar option processing - getting ready to fix it for popt...Jeremy Allison1-183/+176
Jeremy. (This used to be commit 94b30e7b4a4f71d3aa2fefee60b9ea8ead2acccd)
2003-07-30Add a command line option (-S on|off|required) to enable signing on clientJeremy Allison2-1/+3
connections. Overrides smb.conf parameter if set. Jeremy. (This used to be commit 879309671df6b530e0bff69559422a417da4a307)
2003-07-23convert snprintf() calls using pstrings & fstringsGerald Carter2-5/+5
to pstr_sprintf() and fstr_sprintf() to try to standardize. lots of snprintf() calls were using len-1; some were using len. At least this helps to be consistent. (This used to be commit 9f835b85dd38cbe655eb19021ff763f31886ac00)
2003-07-18fixed the pstrcpy() bug in directory recursion properlyAndrew Tridgell1-1/+2
(This used to be commit 132d6fdf635eb2bf2a1afd6e850d0f6967260f84)
2003-07-17Fix for bug 222 from Marcin Owsiany.Tim Potter1-0/+5
Don't get stuck in an infinite loop listing directories recursively if the server returns an empty directory name. This can happen with incorrect i18n configuration on a Samba server. (This used to be commit f93a2831f1b4e5751ca86d46a6e5ede9adf660cb)
2003-07-17Don't use pstrcpy on non-pstrings.Tim Potter1-1/+1
(This used to be commit 3498624d941fe200b06f114ece3373d4c4cfb2d1)
2003-07-16Fix from Dragan Krnic for handling files in tar archives > 8GB.Tim Potter1-0/+10
Fixes bug 102. (This used to be commit b54183a7b23d1046faad0890de3fdda3df0fec88)
2003-07-04More conversions I missed. Thanks metze.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 4f78d747e66b38edcd2a5754681f9a01aeaf7864)
2003-07-03Removed strupper/strlower macros that automatically map to ↵Jeremy Allison2-3/+3
strupper_m/strlower_m. I really want people to think about when they're using multibyte strings. Jeremy. (This used to be commit ff222716a08af65d26ad842ce4c2841cc6540959)