summaryrefslogtreecommitdiffstats
path: root/source3/smbd/trans2.c
Commit message (Collapse)AuthorAgeFilesLines
...
* r3674: Stefan Esser <s.esser@e-matters.de> pointed out that the max dataJeremy Allison2007-10-101-48/+46
| | | | | | | | | value is only valid on the initial trans/trans2/nttrans request, so if there are secondary requests we can't read it from them. Read it from the initial request and pass as a parameter for those functions that need it. Jeremy. (This used to be commit e007845e67e0604321fb36b216a98e4fca1c98e1)
* r3663: Fix too tight checking of incoming secondary trans2 requests.Jeremy Allison2007-10-101-2/+2
| | | | | | Found by Stefan Esser <s.esser@e-matters.de>. Jeremy. (This used to be commit 44132c39ecbf055b897b1aa7bfca4eb1731badbf)
* r3642: Extend vfs to add seekdir/telldir/rewinddir. Yes I know I have toJeremy Allison2007-10-101-7/+9
| | | | | | | fix the modules too... First step in fixing out large directories problem. Jeremy. (This used to be commit 344e9dd33a936b429fefb67cd748ac009a1bab10)
* r3225: Fix correct use of resume name. Cope with the resumeJeremy Allison2007-10-101-3/+7
| | | | | | name not existing. Found using Samba4 RAW-SEARCH. Jeremy. (This used to be commit 74dd2b33ff1ecba752682937c792628e081f17f5)
* r3002: Fix for bug #1886 - prevent delete on close being setJeremy Allison2007-10-101-16/+29
| | | | | | | for readonly files (and return the correct error code). We now pass the Samba4 test suite on this. Jeremy. (This used to be commit 6ae417f12cc6f8d2ad00bea27ce0a20242f76325)
* r2708: Don't look for bzero, we don't use it.Jeremy Allison2007-10-101-1/+11
| | | | | | Samba4 torture tester treates maxentries = 0 as maxentries ==1. Jeremy. (This used to be commit 38f3d3e263f59f94f243907447b5a82f67d3e3f7)
* r2651: Added 'stat' command to smbclient to exercise the UNIX_FILE_BASICJeremy Allison2007-10-101-26/+0
| | | | | | | | | info level. Outputs data on the file in the same format the the stat command in Linux. Should be useful to people wanting to learn how to parse the UNIX extension output. Yes I will add the docs later :-). Jeremy. (This used to be commit b25cc596417d29815814c3968ac2627bf59ffc0b)
* r2637: Fix the roundup problem (returning 1mb roundup) for non-WindowsJeremy Allison2007-10-101-11/+34
| | | | | | clients. This upsets the smb client in the Linux kernel (and Linus :-). Jeremy. (This used to be commit dad699ce0b36d23b80fe70b74d5e98df568a0495)
* r2196: This error code change is incorrect. Still working on it...Jeremy Allison2007-10-101-5/+0
| | | | | Jeremy. (This used to be commit 3dbd822f5e4a241ac12fa6c75de93013f80f00f4)
* r2194: Here is the efforts of much pain reproducing W2K3 pathnameJeremy Allison2007-10-101-0/+5
| | | | | | parsing. :-(. One more check for CreateFile() needed. Jeremy. (This used to be commit 294e2021b34c806900ec65ecbf17d9038ac6229a)
* r1472: Make mknod work again for the CIFS client. Still needs someJeremy Allison2007-10-101-10/+29
| | | | | | | client changes. With this, storing home directories on a Samba share that require unix domain socket entries should work. Jeremy. (This used to be commit da943b5b72090e23c1cf67c3449b8e33344643f8)
* r1255: Ensure we check attributes correctly on rename request. Gets us ↵Jeremy Allison2007-10-101-1/+1
| | | | | | | | further with Samba4 RAW-RENAME test. Jeremy. (This used to be commit f17382ad8ad7211bbd34c823d88936a83dceb940)
* r1115: Fix for #1427. Catch bad path errors at the right point. Ensure allJeremy Allison2007-10-101-26/+35
| | | | | | our pathname parsing is consistent. Jeremy. (This used to be commit 5e8237e306f0bb0e492f10fb6487938132899384)
* r1093: Ensure we clear any cached errors on a deferred open call soJeremy Allison2007-10-101-0/+1
| | | | | | we don't return the wrong error code on the next packet. Jeremy. (This used to be commit c1b06deb574d7b8e746bdf0d6f0eab16848a6cc1)
* r1085: Now it's had some proper user testing, merge in the deferred open ↵Jeremy Allison2007-10-101-2/+6
| | | | | | | | | fix. I'm still doing more testing, but it fixes a behaviour that we've been wrong on ever since the start of Samba. Jeremy. (This used to be commit 894cc6d16296b934c112786eec896846156aee5d)
* r957: Fixup moribund unix extensions mknod code path. Don't add inJeremy Allison2007-10-101-2/+3
| | | | | | configure test yet. Also allow unix domain socket create. Jeremy. (This used to be commit 2db0c4ca7b23cdd1dbf83d4de58acbf4dc118df2)
* r779: Fix specific case of open that doesn't cause oplock break, or share ↵Jeremy Allison2007-10-101-1/+1
| | | | | | | | | mode check. Test case provided by Volker will be added later. There may be other tests needed. Jeremy. (This used to be commit 1f8e7946edbb2930ba5f9738688dc843bc368fbf)
* r710: Fix smbclient symlink command when widelinks = no.Jeremy Allison2007-10-101-70/+7
| | | | | Jeremy. (This used to be commit ed699a73f899b3212185ecf52d1c4cd59cc8a7ea)
* r706: Fix erroneous commit... I've not finished testing theJeremy Allison2007-10-101-9/+3
| | | | | | symlink stuff yet. Noticed by Stefan (metze). Jeremy. (This used to be commit 389ad1a05b2197edb20eda270fbd5c7eed7bb2f3)
* r698: Now wb pipe is non-blocking remember to read in non-blocking mode...Jeremy Allison2007-10-101-2/+8
| | | | | Jeremy. (This used to be commit 3399727864f3aa8981f022254dfed622fcb50c49)
* r658: Oops - make smbclient work again with widelinks = no :-).Jeremy Allison2007-10-101-6/+4
| | | | | Jeremy. (This used to be commit a6979417063e0f0067004dc6207e8e78aa41a58f)
* r654: There is no point in having two lines of:Richard Sharpe2007-10-101-1/+1
| | | | | | | sbuf.st_mtime &= ~1; So I had one refer to st_ctime. (This used to be commit cf7a64c05dbc281802a2dc97a182b530fb925db9)
* r653: Ok, so tridge convinced me. Allow full UNIX path symlinksJeremy Allison2007-10-101-26/+25
| | | | | | | to anywhere on the server filesystem so long as widelinks is set to true.... :-). Jeremy. (This used to be commit ba9809fcd493a53b33c3a24c9f91b0c1d9bd9726)
* r640: Make cifsvfs symlinks work with paths within and external to theJeremy Allison2007-10-101-7/+41
| | | | | | share. Store external paths prefixed with smbln:. Jeremy. (This used to be commit 14a9997b2eb394174ccb36d2a10a755279740cba)
* r570: Remove lots of globals to handle case issues - move themJeremy Allison2007-10-101-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)
* r422: Compile fix for OpenBSD (ENOTSUP not supported - ha ha).Tim Potter2007-10-101-0/+2
| | | | | From Eric Mertens. (This used to be commit d98a36b4596d1de979adab6c476022eb95474c48)
* 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)