summaryrefslogtreecommitdiff
path: root/source3/smbd/nttrans.c
AgeCommit message (Collapse)AuthorFilesLines
2004-03-04Fix my breakage of NT pipes from the previous patch (sorry). Use theJeremy Allison1-4/+1
original srvstr_pull_buf() function to get the pipename not srvstr_get_path(). Jeremy. (This used to be commit ac5e0c4bb686e2aaccc9b70f240f79747fd48cd8)
2004-03-03Added client "hardlink" commant to test doing NT rename with hard links.Jeremy Allison1-2/+7
Added hardlink_internals() code - UNIX extensions now use this too. Jeremy. (This used to be commit 3f2b9f10dec58d3e3ae463e3804d96052fb27a4d)
2004-03-03Use a common function to parse all pathnames from the wire. This allowsJeremy Allison1-29/+40
much closer emulation of Win2k3 error return codes. Jeremy. (This used to be commit 883f89a0184e37bff4f5877a25d31b994996ab08)
2004-02-28Can't set allocation size on directories, return correct error code onJeremy Allison1-0/+12
fail if file exists and target is a directory. gentest. Jeremy. (This used to be commit 4b1262322995c8794cd73d84712f82d8c91abdc6)
2004-02-25Figured out a new flags bit with gentest and ethereal....Jeremy Allison1-2/+10
Jeremy. (This used to be commit 755b66303d04b73a855fa8db5fe3ae920a901bf3)
2004-02-24More gentest error fixups.Jeremy Allison1-2/+0
Jeremy. (This used to be commit f353cafa9d9e6142b4aec45cfbc567dc4ab20d7e)
2004-02-24Added NTrename SMB (0xA5) - how did we miss this.... ?Jeremy Allison1-0/+50
Jeremy. (This used to be commit d236372876918be2a886a89383cf843b82d4c8db)
2004-02-20Make us bug-for-bug compatible with W2K3 - to get delete on close semanticsJeremy Allison1-6/+19
on an initial open the desired_access field *must* contain DELETE_ACCESS, simply having it map from a GENERIC_ALL won't do. Fixes delete on close test. Jeremy. (This used to be commit fb4249e7d12bee4589edff40f1e76f1a19a6ffaa)
2004-02-08(merge from 3.0)Andrew Bartlett1-2/+3
Make more functions static, and remove duplication in the use of functions in lib/smbpasswd.c that were exact duplicates of functions in passdb/passdb.c (These should perhaps be pulled back out to smbpasswd.c, but that can occour later). This also includes some >14 character password changes, and the start of a move away from using 'admin user' to determine if the user is root (as root can login without setting 'admin user'). Andrew Bartlett (This used to be commit be0704abb919152c359a735023283acbf9be3076)
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 b97596df7834a80b648022e22983cab5dfb0f7dd)
2003-11-05Merge of 64-bit printf warning fixes.Tim Potter1-4/+4
(This used to be commit a6cc763333943bc6e360bb7e78cf9bfb1bc936e8)
2003-10-21Add server side support for epmapper pipe. Currently only does a fixedJim McDonough1-0/+1
mapping, but this is the base for changes to come. (This used to be commit 73882e970a3aea1c3c9f34779b4220bbf28f6dad)
2003-10-16Tidyup wrap checking.Jeremy Allison1-4/+12
Jeremy. (This used to be commit 707554bcce91f33d0931f9d99050aab50765f5ff)
2003-10-08Fixup error code returns from Samba4 tester. Ensure invalid paths areJeremy Allison1-7/+41
validated the same way. Jeremy. (This used to be commit 960e2b4a5f09d3ef80a926894ee7a28549b8de45)
2003-09-17Fix coredump from Samba4 torture suite.Jeremy Allison1-0/+3
Jeremy. (This used to be commit 640bc276ba3d1ab83cd8994bddd64fd745f75101)
2003-09-09sync 3.0 into HEAD for the last timeGerald Carter1-34/+155
(This used to be commit c17a7dc9a190156a069da3e861c18fd3f81224ad)
2003-08-02port latest changes from SAMBA_3_0 treeSimo Sorce1-0/+7
(This used to be commit 3101c236b8241dc0183995ffceed551876427de4)
2003-07-16trying to get HEAD building again. If you want the codeGerald Carter1-95/+612
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE (This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
2003-04-11A new RPC pipe! The \pipe\echo named pipe is for testing large RPCTim Potter1-0/+1
requests and responses and is only compiled in when --enable-developer is passed to configure. It includes server and client side code for generating and responding to functions on this pipe. The functions are: - AddOne: add one to the uint32 argument and return ig - EchoData: echo back a variable sized char array to the caller - SourceData: request a variable sized char array - SinkData: send a variable sized char array and throw it away There's a win32 implementation of the client and server in the junkcode CVS repository in the rpcecho-win32 subdirectory. (This used to be commit 4ccd34ef836eba05f81dc2da73fd7cfaac201798)
2003-03-08Fix typo in earlier fix, caught by Ranjit @ HP.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 13ab94fa73dbaf54da0169bbcf4d027d5c07d207)
2003-03-07Use ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out.Jeremy Allison1-1/+1
Jeremy. (This used to be commit c0930e6d15eb68f06453d9b67142ccd7fb1370a0)
2003-03-07Found at Connectathon, .NET RC1 arranges trans/trans2/nttrans parametersJeremy Allison1-22/+80
differently to W2K, cope with this. Jeremy. (This used to be commit 172f415c9eaa4d310a52794e3dc1a6bc92206ce4)
2003-02-12add a note about relative opens with blank paths - its a re-open!Andrew Tridgell1-0/+10
(not implemented yet) (This used to be commit bceac9cdde04a57d661b6a7ece329fa6d5a169bd)
2003-01-02BIG patch...Andrew Bartlett1-1/+1
This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett (This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
2002-12-20Forward port the change to talloc_init() to make all talloc contextsJeremy Allison1-2/+2
named. Ensure we can query them. Jeremy. (This used to be commit 842e08e52a665ae678eea239759bb2de1a0d7b33)
2002-12-04Fix for 64 bit issues with oplocks and allocation size.Jeremy Allison1-9/+9
Jeremy. (This used to be commit 4a9c995e50b24e6ee6ec58c46da32100a8197724)
2002-12-03Fixed nasty bug where file writes with start offsets in the rangeJeremy Allison1-2/+2
0x80000000 -> 0xFFFFFFFF would fail as they were being cast from IVAL (uint32) to SMB_OFF_T (off_t or off64_t, both *signed* types). The sign extension would cause the offset to be treated as negative. Thanks to Herb for helping me track this one down (IRIX is good for large file tests :-). Jeremy. PS. That horrid EXEXIST thing has broken configure..... (This used to be commit fc7d3faed798e7496f2991ec7d795c3b1a3758f5)
2002-08-28Return correct FILE_SUPERSEDED response - IFSTEST strikes again...Jeremy Allison1-2/+8
Jeremy. (This used to be commit df3e467eb7cce059782870bfec222293577c4f69)
2002-08-23Merged initial allocation code for IFSTEST fix.Jeremy Allison1-3/+37
Jeremy. (This used to be commit 095e2bf9469a4c26814fb049f2870983c090ed81)
2002-08-22We were returning incorrect flags in smb_action....Jeremy Allison1-6/+9
IFSTEST strikes again :-). Jeremy. (This used to be commit 4e0a2564302bdb18087e395576208fa0f0c5c32e)
2002-08-22Fixed IFSTEST errors with OpenParams... more to go.Jeremy Allison1-9/+9
Jeremy. (This used to be commit 31a0c4ac33e89be4a27ff697dd3850fe6578e75f)
2002-08-20IFSTEST fixes for open fid, nametoolong.Jeremy Allison1-0/+15
Jeremy. (This used to be commit e53a81261ed189881c0f07e1b46f97aa6770cab7)
2002-08-19IFS kit test - don't allow TEMP attribute on directory open.Jeremy Allison1-0/+12
Jeremy. (This used to be commit 81eacd926bd1f7054522351e1bd24a2192dcbbc1)
2002-07-29an initial fix for handling sparse files in smbdAndrew Tridgell1-12/+39
This gets my test code working, where we previously failed with files above 20G in size. I'm still not completely happy with this. There are just too many fields in trans2.c that we don't fill in. (This used to be commit 7dfdb456d4c9bcf6ecb1f7e5c5e79989f95e5627)
2002-07-19Allow trans2 and nttrans messages to be processed in oplock break state.Jeremy Allison1-3/+5
As noticed by Lev Iserovich <lev@ciprico.com> this seems to fix a problem with oplock breaks and Win2k, and we are protected from problems by existing code in trans2.c and nttrans.c Jeremy. (This used to be commit e3f7d6c03f100962395763a5066313d60b4761d0)
2002-07-19Formatting fixup. Fix shadow warning.Jeremy Allison1-452/+455
Jeremy. (This used to be commit beb298898d5700dcd775ee3b1f1965e67214e9e5)
2002-07-14Move nttrans.c into the NTSTATUS age.Andrew Bartlett1-41/+29
This could do with another eye looking over it, but it seems to work. Andrew Bartlett (This used to be commit e6746db60daa4a61a3ed4302e4105345984af6ac)
2002-06-22Raise some debug levels.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 5c0e4ecfaf9bf7e6e799dceeb275b5db2d4142dd)
2002-06-07Allow sd_len to be zero on NT_TRANSACT_CREATE but not for set sd (helpsJeremy Allison1-4/+7
Novell client). Jeremy. (This used to be commit ac49fd297acf27384a5e133a5fd7a32c1ba27ca6)
2002-04-17Fixed the AFP_Resource:$DATA filename creation bug.Jeremy Allison1-239/+255
Jeremy. (This used to be commit b6c466e8800c03d154381c02a3893f338430b82d)
2002-04-16make sure we don't walk past the end of the current SMB buffer whenAndrew Tridgell1-9/+8
pulling a string this might explain a serious filename corruption bug that Quantum QA spotted (This used to be commit a877eae24becad9e0cd5b33ffe0916a20d5ba227)
2002-04-15merge from SAMBA_2_2Gerald Carter1-1/+1
(This used to be commit fedc11cab16dbecfdae858fc48d629b9172c0fb8)
2002-04-09Shirish pointed out more areas we should be doing roundups for allocation size.Jeremy Allison1-17/+16
Jeremy. (This used to be commit cda9fccd629d084039af642d9177865d88553be6)
2002-04-02Fixed the error bad path for recursive mkdir so mkdir \a\b\c\d works.Jeremy Allison1-28/+6
Forward ported some of the code tidyups from 2.2. Jeremy. (This used to be commit 2475c09b354cc7b5f4ce384e4497207d30f619bb)
2002-03-23Fix the mp3 rename bug - also tidy up our open code and remove the specialJeremy Allison1-5/+4
cases for rename and unlink. Had to add desired_access into the share mode record. Jeremy. (This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)
2002-03-20Remove the "stat open" code - make it inline. This should fix theJeremy Allison1-50/+3
bugs with opening and renaming mp3 files, also the word rename problems that people have had for a while. Needs a make clean :-) make. Also added JohnR's printing fix. Jeremy. (This used to be commit 504e5ef0494c54efbd0357e334cb2aa5a9eb9c14)
2002-03-07get the right return code for batch vs exclusive oplocksAndrew Tridgell1-5/+12
(This used to be commit 91fc5b2de577019d7646f3c29173b27605d9ba12)
2002-03-07Fixed delete on close semantics - preparing for share mode rewrite.Jeremy Allison1-13/+12
Jeremy. (This used to be commit 25dd73be29bbf0a080fe0bcbe5c478545d1e8db7)
2002-03-06Reformat preparing for changes to come...Jeremy Allison1-155/+155
Jeremy. (This used to be commit b56df25d48a7adaa49b0bd44f8ff7be81b970da2)
2002-02-27Added "nt status support" parameter. Fix offline synchronisation.Jeremy Allison1-5/+4
Jeremy. (This used to be commit 9243a9778e52999d5c62cba484640637b24994d8)