Gerald Carter
bfa1b2a8bd
source code fix for bug 1095 -- honor the '-l' option
...
(This used to be commit ab48af6993
)
2004-03-26 15:40:06 +00:00
Jeremy Allison
7942c2826b
Merge from HEAD for Amanda group.
...
Apply Craig Barratt's fixes to allow multiple exlusion files and patterns.
Jeremy.
(This used to be commit 0272fac8ca
)
2004-03-18 23:45:15 +00:00
Alexander Bokovoy
6011a89e24
Fix problems with very long filenames in both smbd and smbclient.
...
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 83dac6571f
)
2004-03-12 14:37:37 +00:00
Gerald Carter
929b0b72d5
BUG 1088: patch from SATOH Fumiyasu <fumiya@miraclinux.com> -- use strchr_m() for query_host (smbclient -L)
...
(This used to be commit bc6992c4bf
)
2004-03-11 14:39:32 +00:00
Jeremy Allison
f0039da196
Added client "hardlink" commant to test doing NT rename with hard links.
...
Added hardlink_internals() code - UNIX extensions now use this too.
Jeremy.
(This used to be commit aad6eb2240
)
2004-03-03 23:14:23 +00:00
Jeremy Allison
fba5a72249
Use a common function to parse all pathnames from the wire. This allows
...
much closer emulation of Win2k3 error return codes.
Jeremy.
(This used to be commit c9f31fafed
)
2004-03-03 20:55:59 +00:00
Gerald Carter
659d6a2b61
BUG 692: patch from SATOH Fumiyasu <fumiya@miraclelinux.com> to correct truncation of share names and workgroup names
...
(This used to be commit 822e31d841
)
2004-03-01 17:40:40 +00:00
Steve French
a3425dad72
Fixes to minor security bug pointed out by AB in the mount helper
...
(This used to be commit b83802c5a1
)
2004-02-26 06:42:51 +00:00
Steve French
5e39e9f313
Fix incorrect strnicmp len
...
(This used to be commit ad1ebb5000
)
2004-02-17 22:51:42 +00:00
Steve French
d5ad8c5099
Disable dev (MS_NODEV) on user mounts from cifs vfs
...
(This used to be commit 9b0d1072bc
)
2004-02-17 21:31:25 +00:00
Steve French
269082724a
Disable suid on user mounts (can override with -DCIFS_ALLOW_USR_SUID)
...
(This used to be commit a718f16e0b
)
2004-02-16 23:43:14 +00:00
Gerald Carter
663f07d63b
urban's changes for nosuid,nodev
...
(This used to be commit ed46d9aef3
)
2004-02-13 17:32:20 +00:00
Richard Sharpe
db40d06dd4
Commit Andrew Bartlett's interesting patch to smbclient that allows for
...
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 4df824d38b
)
2004-02-12 17:26:34 +00:00
Steve French
e7a09dd637
Update mount.cifs version to 1.1
...
(This used to be commit e73b6a5ae5
)
2004-02-11 23:14:39 +00:00
Steve French
70fde6311d
Mount helper fixes for nosetuid, noexec part two of two
...
(This used to be commit c2b4d81a8d
)
2004-02-11 23:11:00 +00:00
Steve French
33b944911f
Add missing nosetuid and noexec options
...
(This used to be commit 5bb6429cc4
)
2004-02-11 22:54:01 +00:00
Gerald Carter
3cd61b1597
BUG 900: TAKEDA yasuma <yasuma@miraclelinux.com; fix token processing in cmd_symlink, cmd_link, cmd_chown, cmd_chmod functions
...
(This used to be commit 60eb69ff64
)
2004-02-11 21:42:20 +00:00
Volker Lendecke
4fd80158ab
Patch from "Stoian Ivanov" <sdr@bultra.com>: Add -g (greppable..) to
...
smbclient -L to make the output usable in pipes.
Volker
(This used to be commit 4c90421070
)
2004-01-16 15:01:09 +00:00
Gerald Carter
b20f1a95a9
* BUG 446
...
- 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 79fe75dcdf
)
2004-01-15 19:03:18 +00:00
Steve French
25b483dfc3
cifs mount helper merge
...
(This used to be commit 865fcdcb85
)
2004-01-05 22:18:44 +00:00
Steve French
2e879cfacc
mount.cifs failed to mount to directory owned by user when run setuid
...
(This used to be commit 18c0315c3c
)
2003-12-11 19:47:52 +00:00
Tim Potter
f46e42c69d
Fix crash bug in smbclient completion. Closes bug #659 .
...
(This used to be commit 4480058d85
)
2003-11-04 22:38:58 +00:00
Alexander Bokovoy
3531647574
Fix segfault in mount.cifs helper when there is no options specified during mount
...
(This used to be commit fb87388a9f
)
2003-10-22 15:41:08 +00:00
Jeremy Allison
a4e5e3f3a5
Fix from Craig Barratt <cbarratt@users.sourceforge.net> to fix restore
...
with filenames > 100 chars.
Jeremy.
(This used to be commit aa40a86cbe
)
2003-09-12 01:25:35 +00:00
Jeremy Allison
94f59f5492
More tuning from cachegrind. Change most trim_string() calls to trim_char(0,
...
as that's what they do. Fix string_replace() to fast-path ascii.
Jeremy.
(This used to be commit f35e9a8b90
)
2003-09-05 19:59:55 +00:00
Jeremy Allison
a7e8e39b91
Proposed patch for #308 . Needs testing.
...
Jeremy
(This used to be commit e2b73477e7
)
2003-09-02 23:58:39 +00:00
Steve French
78e75d4f6c
Update mount helper to take synonyms for file_mode and dir_mode (fmask and dmask)
...
(This used to be commit 89a0e97094
)
2003-08-29 07:31:39 +00:00
Tim Potter
64ca334696
Print an error instead of crashing if no argument is specified for
...
smbclient -T
Fixes bug 345.
(This used to be commit a46e58e2b6
)
2003-08-27 07:39:26 +00:00
Gerald Carter
658ccccdde
fix bug #39 ; save the -W value and restore it after lp_load()
...
(This used to be commit 79efe7d72b
)
2003-08-25 17:55:33 +00:00
Gerald Carter
8bfe26b62d
metze's autogenerate patch for version.h
...
(This used to be commit ae452e51b0
)
2003-08-20 17:13:38 +00:00
Steve French
fac0ae1481
Fixes to all mount.cifs to run more safely setuid
...
(This used to be commit bdb65b9a6e
)
2003-08-16 03:32:45 +00:00
Herb Lewis
aa39cc37da
get rid of more compiler warnings
...
(This used to be commit 398bd14fc6
)
2003-08-15 04:42:05 +00:00
Herb Lewis
0fc41a8962
get rid of const as these things really are not const
...
(This used to be commit 61bea183a2
)
2003-08-15 02:25:41 +00:00
Volker Lendecke
13a7870e42
Don't ask twice for the password
...
(This used to be commit 8ebd92da01
)
2003-08-14 21:57:11 +00:00
Volker Lendecke
a757fe10b1
Apply a little const
...
(This used to be commit e3b36906c5
)
2003-08-12 21:30:28 +00:00
Volker Lendecke
ce7d025b20
We get the server and workgroup list only over port 139. Fall back to that
...
and if NetBIOS over TCP/IP is disabled, give an error message.
Fixes Bug #284
Volker
(This used to be commit a2902a6cf8
)
2003-08-10 21:43:28 +00:00
Jeremy Allison
ef65d26556
Ensure smbclient obeys -s smb.conf option.
...
Jeremy.
(This used to be commit 7950f7d6b2
)
2003-08-06 22:45:46 +00:00
Jeremy Allison
e602bca52f
Reversed replacement. Oops.
...
Jeremy.
(This used to be commit 520bee397d
)
2003-08-06 21:31:11 +00:00
Jeremy Allison
33f6eb9a17
Anal formatting tidyup :-).
...
Jeremy.
(This used to be commit 9c01974713
)
2003-08-06 20:01:31 +00:00
Jeremy Allison
17a713d1b9
Get rid of MAXPATHLEN, move to standard PATH_MAX.
...
Jeremy.
(This used to be commit 455ed2d51d
)
2003-08-06 19:30:42 +00:00
Jeremy Allison
72a8b31303
Fix the option processing for smbtar. Does no one check this !
...
Jeremy.
(This used to be commit c4af1ec735
)
2003-08-01 21:09:10 +00:00
Jeremy Allison
d574b612e4
Finish reformatting.
...
Jeremy.
(This used to be commit 5ef75fa366
)
2003-08-01 06:29:16 +00:00
Jeremy Allison
7e39e87ce0
Reformat lots of clitar code as I hate the style so much :-).
...
Jeremy.
(This used to be commit 77f2a91549
)
2003-08-01 01:03:05 +00:00
Jeremy Allison
14f207be92
Reformat clitar option processing - getting ready to fix it for popt...
...
Jeremy.
(This used to be commit 94b30e7b4a
)
2003-08-01 00:41:57 +00:00
Jeremy Allison
29ca70cd34
Add a command line option (-S on|off|required) to enable signing on client
...
connections. Overrides smb.conf parameter if set.
Jeremy.
(This used to be commit 879309671d
)
2003-07-30 23:49:29 +00:00
Gerald Carter
3a5dc7c2ec
convert snprintf() calls using pstrings & fstrings
...
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 9f835b85dd
)
2003-07-23 12:33:59 +00:00
Andrew Tridgell
e895bd2320
fixed the pstrcpy() bug in directory recursion properly
...
(This used to be commit 132d6fdf63
)
2003-07-18 01:36:11 +00:00
Tim Potter
7f7b754483
Fix for bug 222 from Marcin Owsiany.
...
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 f93a2831f1
)
2003-07-17 04:17:58 +00:00
Tim Potter
bcd659f26a
Don't use pstrcpy on non-pstrings.
...
(This used to be commit 3498624d94
)
2003-07-17 03:53:43 +00:00
Tim Potter
bd9a42fa8d
Fix from Dragan Krnic for handling files in tar archives > 8GB.
...
Fixes bug 102.
(This used to be commit b54183a7b2
)
2003-07-16 00:13:40 +00:00