summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r653: Ok, so tridge convinced me. Allow full UNIX path symlinksJeremy Allison1-26/+25
to anywhere on the server filesystem so long as widelinks is set to true.... :-). Jeremy. (This used to be commit ba9809fcd493a53b33c3a24c9f91b0c1d9bd9726)
2007-10-10r640: Make cifsvfs symlinks work with paths within and external to theJeremy Allison1-7/+41
share. Store external paths prefixed with smbln:. Jeremy. (This used to be commit 14a9997b2eb394174ccb36d2a10a755279740cba)
2007-10-10r570: Remove lots of globals to handle case issues - move themJeremy Allison1-7/+6
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 578a508509d21226ad3332fc54c3ab54cd8ae452)
2007-10-10r422: Compile fix for OpenBSD (ENOTSUP not supported - ha ha).Tim Potter1-0/+2
From Eric Mertens. (This used to be commit d98a36b4596d1de979adab6c476022eb95474c48)
2007-10-10r408: - replace (conn->admin_user != True) with (current_user.uid != 0)Stefan Metzmacher1-2/+2
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 87e97d7723674e3835578ef080ce554d9c5537ac)
2007-10-10r247: Fixup a couple of debug messages.Jeremy Allison1-2/+2
Jeremy. (This used to be commit c664a277b428c036510966734ba71e43112c1cac)
2007-10-10r225: Patch from Pat.Hayward@propero.net to make the session_users list dynamic.Jeremy Allison1-1/+1
I restricted it to 128k max to prevent DOS attacks. Jeremy. (This used to be commit 70fb2a196d83c4bde11d27608da27f956f3f19b8)
2007-10-10r150: Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for theJeremy Allison1-75/+175
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 88a9bca9aade3ee0ce9713857becfe0a13bbfd07)
2007-10-10r96: Stupid f&%'n UNIX extensions.... SETPATHINFOJeremy Allison1-29/+32
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-10r81: Make EA's case independent - fix smbtorture to test for this.Jeremy Allison1-1/+24
Jeremy. (This used to be commit 0661357484a33329c75457527416667feaf57ef9)
2004-04-02Added per-share parameter "store dos attributes". When set, will storeJeremy Allison1-8/+8
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 ed653cd468213e0be901bc654aa3748ce5837947)
2004-03-31Added support for OS/2 EA's in smbd server. Test with smbtorture eatest.Jeremy Allison1-3/+328
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 8cc10a6c0550c017a62e8a3790afd2172d173e00)
2004-03-29Committed test code by mistake... removing.Jeremy Allison1-10/+0
Jeremy. (This used to be commit 73433dc349698b1b1f128439ab40eea6cbfa1187)
2004-03-29Setting EA's to zero length deletes them.Jeremy Allison1-0/+10
Jeremy. (This used to be commit 01fb8717628d1daad19725a97f6ae2d729afcac2)
2004-03-12Fix from Robert.Dahlem@gmx.net (Robert Dahlem) for bugid #1048Jeremy Allison1-2/+2
when mangled names are turned off. Jeremy. (This used to be commit 29909ce26ac9a0d8e631b1ed884c525674ee5606)
2004-03-09Fix dfs referrals - don't use check_path_syntax. Also use mb char calls inJeremy Allison1-6/+1
dfs code. Jeremy. (This used to be commit 42175b4518764e484d33d9fbfba3b78ba4102ead)
2004-03-05Several mb tidyups - getting ready to address the XXX_sub function.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 92c3ae3458177ec7f721598311a8ad04b2db5138)
2004-03-03Added client "hardlink" commant to test doing NT rename with hard links.Jeremy Allison1-14/+81
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-16/+53
much closer emulation of Win2k3 error return codes. Jeremy. (This used to be commit c9f31fafeda6ad79e590276f36e03ecd2e93f818)
2004-02-28More gentest fixes. Fix up regression in IS_NAME_VALID and renames.Jeremy Allison1-2/+4
Jeremy. (This used to be commit 367f5c3bc27aafb04f7589b3d4ac5b58189909fb)
2004-02-24Fixup bad-path error found by gentest.Jeremy Allison1-4/+6
Jeremy. (This used to be commit 63d47f336464080e20e68f21d826e82786b9719e)
2004-02-20Make SMB_FILE_ACCESS_INFORMATION call work correctly.Jeremy Allison1-1/+3
Jeremy. (This used to be commit 0ea0ada6c609e1bb0fb4aace24e1beb7197495b5)
2003-12-01Ensure the server can cope with multiple secondary transJeremy Allison1-0/+8
requests when signing is turned on. Jeremy. (This used to be commit 206464a748a59b1d485d4d3d0cb4d257d60fbd00)
2003-10-30bug 696; check for an invalid fid before dereferencing the fsp pointerGerald Carter1-0/+5
(This used to be commit f5229d5d62510f981bd08ad8139675b50421e042)
2003-10-28Don't log at level zero when chdir fails. Ensure correct error message is ↵Jeremy Allison1-1/+1
returned. Jeremy. (This used to be commit 26bfe37a10f7337acb8c5ac0e04fac7a8dddc769)
2003-10-28Fix for bug #667. DFS filenames can now have arbitrary case.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 74148111e16a863d5a33511e5b15632a736d7e99)
2003-10-16Tidyup wrap checking.Jeremy Allison1-4/+12
Jeremy. (This used to be commit 41d1870a51c259f0cf17caf59928a3b38b21ea11)
2003-10-07Version of patch from nick@isilon.com (Nicholas Kirsch) for bug #564.Jeremy Allison1-6/+23
Canonicalise SMB_INFO_ALLOCATION in the same was as SMB_FS_FULL_SIZE_INFORMATION. Jeremy. (This used to be commit 166efa30d2d680d8c19529c46ace3db115b43532)
2003-10-02Correct fix for excel read-only bug. Add panic for logic error in developer ↵Jeremy Allison1-3/+0
mode. Jeremy. (This used to be commit f00af98f379463829b1ef62d78dda0365c1d7997)
2003-09-05More cachegrind tuning, plus fix an error message.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 8cb9ec5d533085d40fc6bfe4ca9647d80bf41ac7)
2003-08-18Added level 262. Found by Samba4 torture tester.Jeremy Allison1-0/+44
Jeremy. (This used to be commit 12d8863be3045efa33ece1aa17073b21aecb2e97)
2003-08-18Add level 261 to search. Found using Samba4 tester.Jeremy Allison1-0/+22
Jeremy. (This used to be commit 4ee99d1c412ecc77541c988f6795ae3cb89907b8)
2003-08-16Implemented the level 1010 NT rename level. Many fixes for Samba4 testJeremy Allison1-41/+86
correctness. Jeremy. (This used to be commit f57429befa43d63ed9a6e19b854e22fd4151db40)
2003-08-15Fix attribute set using setfileinfo - Samba4 found.Jeremy Allison1-3/+0
Jeremy. (This used to be commit 309835deacea9e49a8867cc981e78e6ae3efe42b)
2003-08-15Ignore silently set disposition information when set on a path.Jeremy Allison1-1/+2
Samba4 tester. Jeremy. (This used to be commit e9cef615550fc2dc4a8a84ca080f13dc39d5b292)
2003-08-14nlink field should decrement when delete pending is set.Jeremy Allison1-2/+8
Found by Samba4. Jeremy. (This used to be commit fbdf276e36b66e9ae65cb3f127ed80cfe9a43cac)
2003-08-14Fix setfileinfo level 1 - it only takes 12 bytes. Found by Samba4Jeremy Allison1-6/+1
torture tester. Jeremy. (This used to be commit 273ebfceb3142f485c2874f84114600d4a58c523)
2003-08-14Fix changing of attributes via setattr. Samba4 test fixes.Jeremy Allison1-4/+12
Jeremy. (This used to be commit 97e1d5c9573513c9c9be9a709341bda54fbe44be)
2003-08-14Fix SMBseek and get/set position information SMBs. Works againstJeremy Allison1-3/+22
Samba4 tester. You will need a make clean; make all after this ! Jeremy. (This used to be commit 10d90171ed58bee3e5ab6476341059b585034134)
2003-08-13Query volume info level 2 fix - found by Samba4 tester.Jeremy Allison1-1/+1
Jeremy. (This used to be commit fd86e2a38766af1cf01667c6f6248af7572b278f)
2003-08-02Add the same signing code to the server. Ensure we use identical sessionJeremy Allison1-0/+6
numbers and MIDs when in trans/trans2/nttrans code. Jeremy. (This used to be commit 901544b29b4d815709b3dbad3012f1d2c419d904)
2003-07-23convert snprintf() calls using pstrings & fstringsGerald Carter1-1/+1
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-18this fixes a bug where Samba would under some circumstances returnAndrew Tridgell1-1/+7
incomplete directory listings. The problem was the exact_match optimisation that short circuited directory listings on exact matches. This optimisation doesn't work when the unix filename contains Microsoft wildcard characters. (This used to be commit 84cee2c3fcc34fe6356e842821a5f0a361477637)
2003-07-01Fix for bug 189 from MORIYAMA Masayuki <msyk@mtg.biglobe.ne.jp>. IncorrectJeremy Allison1-1/+1
call for Japanese characters. Jeremy. (This used to be commit c6de5df01d470c2dab48cdd6298f450fa94f9a8e)
2003-06-062 more places where win2003 forces UCS2Andrew Tridgell1-2/+2
(This used to be commit b64f6e52ec8aa0892b405d3360079ababc8527f4)
2003-06-06- the ALL_INFO trans2 QFILEINFO level uses a forced UCS2 nameAndrew Tridgell1-3/+3
- win2003 returns 0 for ea_size when there are no EAs (This used to be commit 83e0c21831f32aad2dfb6ebe4a27c7a0d2adb692)
2003-06-06- the 8.3 name in BOTH_DIRECTORY_INFO is supposed to be always unicodeAndrew Tridgell1-5/+5
(to match win2003 behaviour) - added the STR_TERMINATE_ASCII flag from samba4 so we can get the string termination right for the case where it is supposed to be non-terminated for UCS2 and terminated when ASCII (This used to be commit 791a4cc7cf84eca77116bca00aeb5f95560f6705)
2003-06-06fixed the string alignment of the QUERY_EA_SIZE trans2 findfirst levelAndrew Tridgell1-2/+1
(This used to be commit ff5e37ed293b61c2585c66e7366fae478754cca1)
2003-06-06fixed the layout of the FULL_DIRECTORY_INFO trans2 findfirst levelAndrew Tridgell1-5/+5
found by samba4 smbtorture SEARCH test (This used to be commit 5a5f59cf5eec39394b8aec4aab7f2c347d617255)
2003-06-06removed the 'valgrind fix' that (although it may well remove aAndrew Tridgell1-8/+0
valgrind warning) causes us to return a completely wrong 8.3 filename in directory searches! come on guys, this close to a release you need to TEST CODE BEFORE COMMITTING (This used to be commit 381cea68b81aeb42b088677d2a8bfd410a7da329)