summaryrefslogtreecommitdiffstats
path: root/source3/smbd/trans2.c
Commit message (Collapse)AuthorAgeFilesLines
...
* r408: - replace (conn->admin_user != True) with (current_user.uid != 0)Stefan Metzmacher2007-10-101-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)
* r247: Fixup a couple of debug messages.Jeremy Allison2007-10-101-2/+2
| | | | | Jeremy. (This used to be commit c664a277b428c036510966734ba71e43112c1cac)
* r225: Patch from Pat.Hayward@propero.net to make the session_users list dynamic.Jeremy Allison2007-10-101-1/+1
| | | | | | I restricted it to 128k max to prevent DOS attacks. Jeremy. (This used to be commit 70fb2a196d83c4bde11d27608da27f956f3f19b8)
* r150: Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for theJeremy Allison2007-10-101-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)
* r96: Stupid f&%'n UNIX extensions.... SETPATHINFOJeremy Allison2007-10-101-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)
* r81: Make EA's case independent - fix smbtorture to test for this.Jeremy Allison2007-10-101-1/+24
| | | | | Jeremy. (This used to be commit 0661357484a33329c75457527416667feaf57ef9)
* Added per-share parameter "store dos attributes". When set, will storeJeremy Allison2004-04-021-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)
* Added support for OS/2 EA's in smbd server. Test with smbtorture eatest.Jeremy Allison2004-03-311-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)
* Committed test code by mistake... removing.Jeremy Allison2004-03-291-10/+0
| | | | | Jeremy. (This used to be commit 73433dc349698b1b1f128439ab40eea6cbfa1187)
* Setting EA's to zero length deletes them.Jeremy Allison2004-03-291-0/+10
| | | | | Jeremy. (This used to be commit 01fb8717628d1daad19725a97f6ae2d729afcac2)
* Fix from Robert.Dahlem@gmx.net (Robert Dahlem) for bugid #1048Jeremy Allison2004-03-121-2/+2
| | | | | | when mangled names are turned off. Jeremy. (This used to be commit 29909ce26ac9a0d8e631b1ed884c525674ee5606)
* Fix dfs referrals - don't use check_path_syntax. Also use mb char calls inJeremy Allison2004-03-091-6/+1
| | | | | | dfs code. Jeremy. (This used to be commit 42175b4518764e484d33d9fbfba3b78ba4102ead)
* Several mb tidyups - getting ready to address the XXX_sub function.Jeremy Allison2004-03-051-3/+3
| | | | | Jeremy. (This used to be commit 92c3ae3458177ec7f721598311a8ad04b2db5138)
* Added client "hardlink" commant to test doing NT rename with hard links.Jeremy Allison2004-03-031-14/+81
| | | | | | Added hardlink_internals() code - UNIX extensions now use this too. Jeremy. (This used to be commit aad6eb2240393931940c982e25a981ce32264f38)
* Use a common function to parse all pathnames from the wire. This allowsJeremy Allison2004-03-031-16/+53
| | | | | | much closer emulation of Win2k3 error return codes. Jeremy. (This used to be commit c9f31fafeda6ad79e590276f36e03ecd2e93f818)
* More gentest fixes. Fix up regression in IS_NAME_VALID and renames.Jeremy Allison2004-02-281-2/+4
| | | | | Jeremy. (This used to be commit 367f5c3bc27aafb04f7589b3d4ac5b58189909fb)
* Fixup bad-path error found by gentest.Jeremy Allison2004-02-241-4/+6
| | | | | Jeremy. (This used to be commit 63d47f336464080e20e68f21d826e82786b9719e)
* Make SMB_FILE_ACCESS_INFORMATION call work correctly.Jeremy Allison2004-02-201-1/+3
| | | | | Jeremy. (This used to be commit 0ea0ada6c609e1bb0fb4aace24e1beb7197495b5)
* Ensure the server can cope with multiple secondary transJeremy Allison2003-12-011-0/+8
| | | | | | requests when signing is turned on. Jeremy. (This used to be commit 206464a748a59b1d485d4d3d0cb4d257d60fbd00)
* bug 696; check for an invalid fid before dereferencing the fsp pointerGerald Carter2003-10-301-0/+5
| | | | (This used to be commit f5229d5d62510f981bd08ad8139675b50421e042)
* Don't log at level zero when chdir fails. Ensure correct error message is ↵Jeremy Allison2003-10-281-1/+1
| | | | | | | returned. Jeremy. (This used to be commit 26bfe37a10f7337acb8c5ac0e04fac7a8dddc769)
* Fix for bug #667. DFS filenames can now have arbitrary case.Jeremy Allison2003-10-281-1/+1
| | | | | Jeremy. (This used to be commit 74148111e16a863d5a33511e5b15632a736d7e99)
* Tidyup wrap checking.Jeremy Allison2003-10-161-4/+12
| | | | | Jeremy. (This used to be commit 41d1870a51c259f0cf17caf59928a3b38b21ea11)
* Version of patch from nick@isilon.com (Nicholas Kirsch) for bug #564.Jeremy Allison2003-10-071-6/+23
| | | | | | Canonicalise SMB_INFO_ALLOCATION in the same was as SMB_FS_FULL_SIZE_INFORMATION. Jeremy. (This used to be commit 166efa30d2d680d8c19529c46ace3db115b43532)
* Correct fix for excel read-only bug. Add panic for logic error in developer ↵Jeremy Allison2003-10-021-3/+0
| | | | | | | mode. Jeremy. (This used to be commit f00af98f379463829b1ef62d78dda0365c1d7997)
* More cachegrind tuning, plus fix an error message.Jeremy Allison2003-09-051-1/+1
| | | | | Jeremy. (This used to be commit 8cb9ec5d533085d40fc6bfe4ca9647d80bf41ac7)
* Added level 262. Found by Samba4 torture tester.Jeremy Allison2003-08-181-0/+44
| | | | | Jeremy. (This used to be commit 12d8863be3045efa33ece1aa17073b21aecb2e97)
* Add level 261 to search. Found using Samba4 tester.Jeremy Allison2003-08-181-0/+22
| | | | | Jeremy. (This used to be commit 4ee99d1c412ecc77541c988f6795ae3cb89907b8)
* Implemented the level 1010 NT rename level. Many fixes for Samba4 testJeremy Allison2003-08-161-41/+86
| | | | | | correctness. Jeremy. (This used to be commit f57429befa43d63ed9a6e19b854e22fd4151db40)
* Fix attribute set using setfileinfo - Samba4 found.Jeremy Allison2003-08-151-3/+0
| | | | | Jeremy. (This used to be commit 309835deacea9e49a8867cc981e78e6ae3efe42b)
* Ignore silently set disposition information when set on a path.Jeremy Allison2003-08-151-1/+2
| | | | | | Samba4 tester. Jeremy. (This used to be commit e9cef615550fc2dc4a8a84ca080f13dc39d5b292)
* nlink field should decrement when delete pending is set.Jeremy Allison2003-08-141-2/+8
| | | | | | Found by Samba4. Jeremy. (This used to be commit fbdf276e36b66e9ae65cb3f127ed80cfe9a43cac)
* Fix setfileinfo level 1 - it only takes 12 bytes. Found by Samba4Jeremy Allison2003-08-141-6/+1
| | | | | | torture tester. Jeremy. (This used to be commit 273ebfceb3142f485c2874f84114600d4a58c523)
* Fix changing of attributes via setattr. Samba4 test fixes.Jeremy Allison2003-08-141-4/+12
| | | | | Jeremy. (This used to be commit 97e1d5c9573513c9c9be9a709341bda54fbe44be)
* Fix SMBseek and get/set position information SMBs. Works againstJeremy Allison2003-08-141-3/+22
| | | | | | Samba4 tester. You will need a make clean; make all after this ! Jeremy. (This used to be commit 10d90171ed58bee3e5ab6476341059b585034134)
* Query volume info level 2 fix - found by Samba4 tester.Jeremy Allison2003-08-131-1/+1
| | | | | Jeremy. (This used to be commit fd86e2a38766af1cf01667c6f6248af7572b278f)
* Add the same signing code to the server. Ensure we use identical sessionJeremy Allison2003-08-021-0/+6
| | | | | | numbers and MIDs when in trans/trans2/nttrans code. Jeremy. (This used to be commit 901544b29b4d815709b3dbad3012f1d2c419d904)
* convert snprintf() calls using pstrings & fstringsGerald Carter2003-07-231-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)
* this fixes a bug where Samba would under some circumstances returnAndrew Tridgell2003-07-181-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)
* Fix for bug 189 from MORIYAMA Masayuki <msyk@mtg.biglobe.ne.jp>. IncorrectJeremy Allison2003-07-011-1/+1
| | | | | | call for Japanese characters. Jeremy. (This used to be commit c6de5df01d470c2dab48cdd6298f450fa94f9a8e)
* 2 more places where win2003 forces UCS2Andrew Tridgell2003-06-061-2/+2
| | | | (This used to be commit b64f6e52ec8aa0892b405d3360079ababc8527f4)
* - the ALL_INFO trans2 QFILEINFO level uses a forced UCS2 nameAndrew Tridgell2003-06-061-3/+3
| | | | | - win2003 returns 0 for ea_size when there are no EAs (This used to be commit 83e0c21831f32aad2dfb6ebe4a27c7a0d2adb692)
* - the 8.3 name in BOTH_DIRECTORY_INFO is supposed to be always unicodeAndrew Tridgell2003-06-061-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)
* fixed the string alignment of the QUERY_EA_SIZE trans2 findfirst levelAndrew Tridgell2003-06-061-2/+1
| | | | (This used to be commit ff5e37ed293b61c2585c66e7366fae478754cca1)
* fixed the layout of the FULL_DIRECTORY_INFO trans2 findfirst levelAndrew Tridgell2003-06-061-5/+5
| | | | | found by samba4 smbtorture SEARCH test (This used to be commit 5a5f59cf5eec39394b8aec4aab7f2c347d617255)
* removed the 'valgrind fix' that (although it may well remove aAndrew Tridgell2003-06-061-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)
* fixed the termination of several trans2 stringsAndrew Tridgell2003-06-041-3/+3
| | | | (This used to be commit 8f23ad3054febe47b667172d680d2d19ad141416)
* shouldn't null terminate trans2 qfileinfo all_info/nameAndrew Tridgell2003-06-041-1/+1
| | | | (This used to be commit f7cd16ab58753be25bc9c7b487289361e3882da3)
* added the COMPRESSION_INFO trans2 QFILEINFO level and fixed theAndrew Tridgell2003-06-011-3/+9
| | | | | IS_NAME_VALID QPATHINFO level (This used to be commit 1634346e2a6e73af80d4e68d50c6398fb24869a5)
* fixed the ALL_INFO and ALL_INFORMATION trans2 QFILEINFO levels. TheAndrew Tridgell2003-06-011-35/+2
| | | | | | | | | structure we were using was completely wrong after the first few parameters. found by samba4 testsuite. Lots of other stuff also fails, but is harder to fix. (This used to be commit 6f34bd423ebb805e1e5a3b61bb5b2ca8530ce69d)