1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

2284 Commits

Author SHA1 Message Date
Gerald Carter
67d474861d r799: BUG 1259 -- add 'printcap cache time' patch from Lars
(This used to be commit fac9074113)
2007-10-10 10:51:46 -05:00
Jeremy Allison
8c0db1bbc4 r786: Memory leak fixes in (mostly) error code paths from
kawasa_r@itg.hitachi.co.jp. A couple of mem leak fixes in
mainline code paths though :-).
Jeremy.
(This used to be commit 4695cc95fe)
2007-10-10 10:51:38 -05:00
Jeremy Allison
28cbc5f8f9 r779: Fix specific case of open that doesn't cause oplock break, or share mode check.
Test case provided by Volker will be added later. There may be other tests
needed.
Jeremy.
(This used to be commit 1f8e7946ed)
2007-10-10 10:51:37 -05:00
Jeremy Allison
49f95e6d27 r762: Fix for #1319 when security > share.
Jeremy.
(This used to be commit 9fe2240d6b)
2007-10-10 10:51:36 -05:00
Jeremy Allison
8b9a044b58 r742: Volker discovered that we can truncate a locked file. Well I never ! :-).
Jeremy
(This used to be commit 1099d60113)
2007-10-10 10:51:36 -05:00
Richard Sharpe
80f72a6300 r740: Fix Bug #1301. Return NT_STATUS_SHARING_VIOLATION when share mode locking
requests fail.
(This used to be commit 5082eb30d0)
2007-10-10 10:51:36 -05:00
Jeremy Allison
400bed7a68 r716: Fix for bugid #1345 (Macromedia Homesite cannot connect anymore after upgrade to 3.0.4).
Cause was premature optimization in unix_convert(). My fault, sorry.
Jeremy.
(This used to be commit e5438f0a84)
2007-10-10 10:51:35 -05:00
Jeremy Allison
5cc86fe405 r710: Fix smbclient symlink command when widelinks = no.
Jeremy.
(This used to be commit ed699a73f8)
2007-10-10 10:51:35 -05:00
Jeremy Allison
d7af7a2619 r706: Fix erroneous commit... I've not finished testing the
symlink stuff yet. Noticed by Stefan (metze).
Jeremy.
(This used to be commit 389ad1a05b)
2007-10-10 10:51:34 -05:00
Jeremy Allison
8fd6298df0 r698: Now wb pipe is non-blocking remember to read in non-blocking mode...
Jeremy.
(This used to be commit 3399727864)
2007-10-10 10:51:34 -05:00
Jeremy Allison
cddd47d2cd r658: Oops - make smbclient work again with widelinks = no :-).
Jeremy.
(This used to be commit a697941706)
2007-10-10 10:51:33 -05:00
Jeremy Allison
89db7e1001 r656: Make widelinks use realpath(). Tidy up cases where we need to become a service.
Jeremy.
(This used to be commit a03b6a05e0)
2007-10-10 10:51:33 -05:00
Richard Sharpe
effc7c0487 r654: There is no point in having two lines of:
sbuf.st_mtime &= ~1;

So I had one refer to st_ctime.
(This used to be commit cf7a64c05d)
2007-10-10 10:51:33 -05:00
Jeremy Allison
327f9b9636 r653: Ok, so tridge convinced me. Allow full UNIX path symlinks
to anywhere on the server filesystem so long as widelinks
is set to true.... :-).
Jeremy.
(This used to be commit ba9809fcd4)
2007-10-10 10:51:32 -05:00
Jeremy Allison
372dac6c98 r645: Patch from kawasa_r@itg.hitachi.co.jp to correctly enable core dumps.
Jeremy.
(This used to be commit ea41d69427)
2007-10-10 10:51:32 -05:00
Jeremy Allison
9aeff8d280 r640: Make cifsvfs symlinks work with paths within and external to the
share. Store external paths prefixed with smbln:.
Jeremy.
(This used to be commit 14a9997b2e)
2007-10-10 10:51:31 -05:00
Jeremy Allison
e0da56a848 r570: Remove lots of globals to handle case issues - move them
to connection struct entries (as they should have been from
the start). Jerry, once you've cut over to 3.0.4 release
branch I'll add this to 3.0 also.
- Jerry cut over :-).
Jeremy.
(This used to be commit 578a508509)
2007-10-10 10:51:30 -05:00
Gerald Carter
ad770b098c r519: fix bug in authorise_login() that broke security = share
(This used to be commit b27192d8e7)
2007-10-10 10:51:27 -05:00
Gerald Carter
c2c069d4b0 r486: BUG 1309: fix seg fault caused by trying to strdup() a NULL pointer
(This used to be commit 0e1a6b34f2)
2007-10-10 10:51:25 -05:00
Jeremy Allison
9294acabb4 r483: Fix typo of appending '\\' instead of '/' now we're using
check_path_syntax.
Jeremy.
(This used to be commit 50ce579322)
2007-10-10 10:51:25 -05:00
Jeremy Allison
34facd7e69 r481: Fix up assert caught by check_path_syntax.
Jeremy.
(This used to be commit 8a58bd39da)
2007-10-10 10:51:25 -05:00
Jeremy Allison
1843f6905c r478: Added Volkers fix to be able to force DOS errors when needed.
Jeremy.
(This used to be commit a9d1738eba)
2007-10-10 10:51:24 -05:00
Herb Lewis
fc52c330ae r428: add acls debug class
(This used to be commit b7703799f8)
2007-10-10 10:51:23 -05:00
Tim Potter
0e551158b7 r422: Compile fix for OpenBSD (ENOTSUP not supported - ha ha).
From Eric Mertens.
(This used to be commit d98a36b459)
2007-10-10 10:51:23 -05:00
Tim Potter
848b86290d r421: Fix debug message. Closes bugzilla #1305.
(This used to be commit 6654b03cbd)
2007-10-10 10:51:23 -05:00
Stefan Metzmacher
9b4e6c7ea6 r410: merge tpot's changeset 353 from trunk:
Move msdfs.c into the source/smbd directory and remove source/msdfs.

metze
(This used to be commit 88e6e6d29c)
2007-10-10 10:51:22 -05:00
Stefan Metzmacher
77182a81f0 r408: - replace (conn->admin_user != True) with (current_user.uid != 0)
because someone changed it in all other places too

- fix quotas support from windows explorer
  we now got the unix file name of a fake_file

metze
(This used to be commit 87e97d7723)
2007-10-10 10:51:22 -05:00
Volker Lendecke
f789481101 r370: The 'it does never happen -- error on close()' does happen when you exceed
your quota on an AFS file system. The specific errno was thrown away by
close_normal_file(). Thus we returned NT_STATUS_UNSUCCESSFUL and not
NT_STATUS_DISK_FULL as we should. Fix that. (Not that this gives more sane
Windows app behaviour.... :-( )

Jerry, jra, could you please look over this one, it's been quite a while since
I touch file server code.

Volker
(This used to be commit 588351d1b3)
2007-10-10 10:51:20 -05:00
Gerald Carter
335b10ef10 r283: removing --with-cracklib after discussion with abartklet @ sambaXP
(This used to be commit df94b0471e)
2007-10-10 10:51:16 -05:00
Jeremy Allison
4938095e77 r247: Fixup a couple of debug messages.
Jeremy.
(This used to be commit c664a277b4)
2007-10-10 10:51:15 -05:00
Jeremy Allison
5573a9ed66 r225: Patch from Pat.Hayward@propero.net to make the session_users list dynamic.
I restricted it to 128k max to prevent DOS attacks.
Jeremy.
(This used to be commit 70fb2a196d)
2007-10-10 10:51:14 -05:00
Jeremy Allison
cd9b973b17 r150: Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for the
UNIX info levels, and the short case preserve names. Tested
with NT - needs more testing. Will work on this more on Monday.
Jeremy.
(This used to be commit 88a9bca9aa)
2007-10-10 10:51:11 -05:00
Jeremy Allison
1db9257c95 r96: Stupid f&%'n UNIX extensions.... SETPATHINFO
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 21cc6ab7e8)
2007-10-10 10:51:08 -05:00
Jeremy Allison
bd04072585 r81: Make EA's case independent - fix smbtorture to test for this.
Jeremy.
(This used to be commit 0661357484)
2007-10-10 10:51:07 -05:00
Andrew Bartlett
d17425ed52 r69: Global rename of 'nt_session_key' -> 'user_session_key'. The session key could
be anything, and may not be based on anything 'NT'.  This is also what microsoft
calls it.
(This used to be commit 724e8d3f33)
2007-10-10 10:51:06 -05:00
Andrew Tridgell
a5dde6c5cc r59: revert session key problem
(This used to be commit 40b5794ae0)
2007-10-10 10:51:06 -05:00
Jeremy Allison
bca29e5377 r50: Fix bug 1139 as per fix suggested by jdev@panix.com,
swap lookups for user and group - group will do an
algorithmic lookup if it fails, user won't.
Jeremy.
(This used to be commit a205c56a75)
2007-10-10 10:51:06 -05:00
Andrew Bartlett
991112a73c r49: Support SMB signing on connections using only the
LANMAN password.  This also corrects the 'session key'
for these connections.
(This used to be commit 26d8791dde)
2007-10-10 10:51:06 -05:00
Gerald Carter
931df5850e r39: * importing .cvsignore files
* updateing WHATSNEW with vl's change
(This used to be commit a7e2730ec4)
2007-10-10 10:51:05 -05:00
Jeremy Allison
c2699d2546 Fix wildcard src with wildcard dest renames.
Jeremy.
(This used to be commit 58b3994244)
2004-04-03 01:21:13 +00:00
Jeremy Allison
3d5fdced72 Fix wildcard unlink.
Jeremy.
(This used to be commit 6e9b4c57cc)
2004-04-03 00:17:18 +00:00
Jeremy Allison
db44caf191 Fix typo in check_path_syntax.
Jeremy.
(This used to be commit 018db85de4)
2004-04-03 00:04:31 +00:00
Jeremy Allison
f16c79732e Fix reply_ctemp - make compatible with w2k3.
Jeremy.
(This used to be commit ddb40a6b1c)
2004-04-02 22:11:08 +00:00
Jeremy Allison
becfb420f7 Fix wildcard identical rename.
Jeremy.
(This used to be commit 610ae1126e)
2004-04-02 19:51:27 +00:00
Jeremy Allison
ff469fb2b2 check_path improvements found by samba4 raw-checkpath tests.
Jeremy.
(This used to be commit 4081f7ce51)
2004-04-02 19:05:57 +00:00
Jeremy Allison
722aa118c6 Added per-share parameter "store dos attributes". When set, will store
dos attributes in an EA. Based on an original patch from tridge, but
modified somewhat to cover all cases.
Jeremy.
(This used to be commit ed653cd468)
2004-04-02 18:46:19 +00:00
Jeremy Allison
e869727420 Reformat in preparation for EA dosmode attributes.
Jeremy
(This used to be commit de2f149e9e)
2004-03-31 22:46:15 +00:00
Jeremy Allison
d113219e78 Added support for OS/2 EA's in smbd server. Test with smbtorture eatest.
New protocol option "ea support" to turn them on (off by default). Conrad
at Apple may like this as it allows MacOS resource forks to be stored on
a file. Passes valgrind. Documentation to follow.
Jeremy.
(This used to be commit 8cc10a6c05)
2004-03-31 02:20:16 +00:00
Jeremy Allison
1a643a6fe9 Committed test code by mistake... removing.
Jeremy.
(This used to be commit 73433dc349)
2004-03-29 23:42:48 +00:00
Jeremy Allison
578d715755 Setting EA's to zero length deletes them.
Jeremy.
(This used to be commit 01fb871762)
2004-03-29 23:39:13 +00:00