summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison1-20/+20
allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
2007-10-10r4007: Fix bug #2088 - ensure inherit permissions is only applied on a new file,Jeremy Allison1-2/+2
not an existing one. Jeremy. (This used to be commit fbbdb72cf1adfe567112556626f26b031747f440)
2007-10-10r3946: Fix for bugid #2085 reported by Jason Mader <jason@ncac.gwu.edu>. Use ↵Jeremy Allison1-1/+1
consistent enum type for Protocol extern. Jeremy. (This used to be commit 65dfae7ea45d4c9452b2a08efa09b01d870142f3)
2007-10-10r3895: Fix for bug #2045. May also fix other timestamp bugs with ExcelJeremy Allison1-7/+13
(Volker please test). Setting a last write timestamp from Windows overrides any subsequent write timestamp changes and must be immediately seen by and findfirst/findnexts. This is a racy solution, but should work most of the time. This may also fix #1061, not sure. Jeremy. (This used to be commit 47bab92c0b062f3fefbb4fd4a09852e1c829a7f9)
2007-10-10r3889: Only set mtime from pending_modtime if it's not already zero...Jeremy Allison1-1/+1
Jeremy. (This used to be commit 984c3506351ba97f74813d678424858508c4197a)
2007-10-10r3859: Ensure if num_acls is set to 0xFFFF this field is ignored.Jeremy Allison1-27/+40
Use def_acl everywhere instead of dir_acl. Jeremy. (This used to be commit d28611c960f87830aa8449725951984aa155b089)
2007-10-10r3814: At least use a proper constant name (aRONLY :-) not a number.Jeremy Allison1-2/+2
That way we can at least remember why we did this :-). Jeremy. (This used to be commit d84f5f8cc10f89d5fbd6cfb694bccfbd1c3d8a3f)
2007-10-10r3811: Believe it or not, but this patch seems to be necessary. If someone ↵Volker Lendecke1-2/+11
sets a folder icon in the start menu and saves the profile on a samba server, after logging in again this setting is gone. Why is this? The folder for which the icon is set must have the read only flag set. If it is not set, the desktop.ini file (the file containing the icon reference) inside that folder is ignored. lp_profile_acls is a hack for such a situation, so overload this parameter with another profile-related hack. Volker (This used to be commit b8d888000eb7456c7620e9a783d6f1b3ba4c8985)
2007-10-10r3794: Added set posix acl functionality into the UNIX extensions code.Jeremy Allison1-0/+38
One part missing - delete file acl (to be added asap). No client code yet, also needs testing with valgrind. Jeremy. (This used to be commit 6101ec2247c182fde6ea3e7e1f64a92b353ec4e8)
2007-10-10r3714: Getfacl now seems to work on files and directories. Next do setfaclJeremy Allison1-0/+1
and port to Samba4. Jeremy. (This used to be commit 4d52bf7c8b3147dd4f0d3081fbf9a1f5ebd246a1)
2007-10-10r3713: Implementation of get posix acls in UNIX extensions. Passes valgrind.Jeremy Allison1-3/+194
Need to add printout functions in client and set posix acl in server. SteveF - take a look at this for the cifsfs client ! Once this is working and tested the next step is to write this up for the UNIX extensions spec. documents. Jeremy. (This used to be commit 1bd3f133442a472b4718b94a636f2fec89a2e0dc)
2007-10-10r3674: Stefan Esser <s.esser@e-matters.de> pointed out that the max dataJeremy Allison1-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)
2007-10-10r3663: Fix too tight checking of incoming secondary trans2 requests.Jeremy Allison1-2/+2
Found by Stefan Esser <s.esser@e-matters.de>. Jeremy. (This used to be commit 44132c39ecbf055b897b1aa7bfca4eb1731badbf)
2007-10-10r3642: Extend vfs to add seekdir/telldir/rewinddir. Yes I know I have toJeremy Allison1-7/+9
fix the modules too... First step in fixing out large directories problem. Jeremy. (This used to be commit 344e9dd33a936b429fefb67cd748ac009a1bab10)
2007-10-10r3225: Fix correct use of resume name. Cope with the resumeJeremy Allison1-3/+7
name not existing. Found using Samba4 RAW-SEARCH. Jeremy. (This used to be commit 74dd2b33ff1ecba752682937c792628e081f17f5)
2007-10-10r3002: Fix for bug #1886 - prevent delete on close being setJeremy Allison1-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)
2007-10-10r2708: Don't look for bzero, we don't use it.Jeremy Allison1-1/+11
Samba4 torture tester treates maxentries = 0 as maxentries ==1. Jeremy. (This used to be commit 38f3d3e263f59f94f243907447b5a82f67d3e3f7)
2007-10-10r2651: Added 'stat' command to smbclient to exercise the UNIX_FILE_BASICJeremy Allison1-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)
2007-10-10r2637: Fix the roundup problem (returning 1mb roundup) for non-WindowsJeremy Allison1-11/+34
clients. This upsets the smb client in the Linux kernel (and Linus :-). Jeremy. (This used to be commit dad699ce0b36d23b80fe70b74d5e98df568a0495)
2007-10-10r2196: This error code change is incorrect. Still working on it...Jeremy Allison1-5/+0
Jeremy. (This used to be commit 3dbd822f5e4a241ac12fa6c75de93013f80f00f4)
2007-10-10r2194: Here is the efforts of much pain reproducing W2K3 pathnameJeremy Allison1-0/+5
parsing. :-(. One more check for CreateFile() needed. Jeremy. (This used to be commit 294e2021b34c806900ec65ecbf17d9038ac6229a)
2007-10-10r1472: Make mknod work again for the CIFS client. Still needs someJeremy Allison1-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)
2007-10-10r1255: Ensure we check attributes correctly on rename request. Gets us ↵Jeremy Allison1-1/+1
further with Samba4 RAW-RENAME test. Jeremy. (This used to be commit f17382ad8ad7211bbd34c823d88936a83dceb940)
2007-10-10r1115: Fix for #1427. Catch bad path errors at the right point. Ensure allJeremy Allison1-26/+35
our pathname parsing is consistent. Jeremy. (This used to be commit 5e8237e306f0bb0e492f10fb6487938132899384)
2007-10-10r1093: Ensure we clear any cached errors on a deferred open call soJeremy Allison1-0/+1
we don't return the wrong error code on the next packet. Jeremy. (This used to be commit c1b06deb574d7b8e746bdf0d6f0eab16848a6cc1)
2007-10-10r1085: Now it's had some proper user testing, merge in the deferred open ↵Jeremy Allison1-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)
2007-10-10r957: Fixup moribund unix extensions mknod code path. Don't add inJeremy Allison1-2/+3
configure test yet. Also allow unix domain socket create. Jeremy. (This used to be commit 2db0c4ca7b23cdd1dbf83d4de58acbf4dc118df2)
2007-10-10r779: Fix specific case of open that doesn't cause oplock break, or share ↵Jeremy Allison1-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)
2007-10-10r710: Fix smbclient symlink command when widelinks = no.Jeremy Allison1-70/+7
Jeremy. (This used to be commit ed699a73f899b3212185ecf52d1c4cd59cc8a7ea)
2007-10-10r706: Fix erroneous commit... I've not finished testing theJeremy Allison1-9/+3
symlink stuff yet. Noticed by Stefan (metze). Jeremy. (This used to be commit 389ad1a05b2197edb20eda270fbd5c7eed7bb2f3)
2007-10-10r698: Now wb pipe is non-blocking remember to read in non-blocking mode...Jeremy Allison1-2/+8
Jeremy. (This used to be commit 3399727864f3aa8981f022254dfed622fcb50c49)
2007-10-10r658: Oops - make smbclient work again with widelinks = no :-).Jeremy Allison1-6/+4
Jeremy. (This used to be commit a6979417063e0f0067004dc6207e8e78aa41a58f)
2007-10-10r654: There is no point in having two lines of:Richard Sharpe1-1/+1
sbuf.st_mtime &= ~1; So I had one refer to st_ctime. (This used to be commit cf7a64c05dbc281802a2dc97a182b530fb925db9)
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)