summaryrefslogtreecommitdiffstats
path: root/source3/smbd/nttrans.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Added NTrename SMB (0xA5) - how did we miss this.... ?Jeremy Allison2004-02-241-0/+50
| | | | | Jeremy. (This used to be commit dfd7d1c2b7b577a084a94926abfce82c91f20b7e)
* Make us bug-for-bug compatible with W2K3 - to get delete on close semanticsJeremy Allison2004-02-201-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 5c6f8b1053fd1f170fbb76640649653f8aa80f18)
* Make more functions static, and remove duplication in the use of functionsAndrew Bartlett2004-02-081-2/+3
| | | | | | | | | | 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). Andrew Bartlett (This used to be commit fcdc5efb1e245c8fa95cd031f67ec56093b9056e)
* 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)
* Fix missing bracket in quota quote - my fault.Tim Potter2003-11-041-1/+1
| | | | (This used to be commit fc30b6b5473124bad9c2c30b604bc21c9de258c1)
* Fix more 64-bit printf warnings.Tim Potter2003-11-031-4/+4
| | | | (This used to be commit 23443e3aa079710221557e18158d0ddb8ff48a36)
* Tidyup wrap checking.Jeremy Allison2003-10-161-4/+12
| | | | | Jeremy. (This used to be commit 41d1870a51c259f0cf17caf59928a3b38b21ea11)
* Fixup error code returns from Samba4 tester. Ensure invalid paths areJeremy Allison2003-10-081-7/+41
| | | | | | validated the same way. Jeremy. (This used to be commit 6ad2f0ba27566ab3928ccbbbb3c3a64b09ca139c)
* Fix coredump from Samba4 torture suite.Jeremy Allison2003-09-171-0/+3
| | | | | Jeremy. (This used to be commit 9c1bab944526270d2ad79c75894c33f58f8e3845)
* Implemented the level 1010 NT rename level. Many fixes for Samba4 testJeremy Allison2003-08-161-12/+6
| | | | | | correctness. Jeremy. (This used to be commit f57429befa43d63ed9a6e19b854e22fd4151db40)
* Shadow copy API - Original work by "Ken Cross" <kcross@nssolutions.com>, adaptedJeremy Allison2003-08-071-22/+149
| | | | | | into a patch by "Stefan (metze) Metzmacher" <metze@metzemix.de>. Jeremy. (This used to be commit ce5c91d35dabc5ff6fb3df2b259ed186d6a7e0da)
* Ensure we don't leak any sign records on cancel of pending requests.Jeremy Allison2003-08-021-0/+1
| | | | | Jeremy. (This used to be commit 9a8ffc239c0f1aada713de7e9e007066738d8874)
* 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)
* Ensure everywhere we defer an incoming SMB request (blocking lock queue,Jeremy Allison2003-07-241-2/+0
| | | | | | | | in oplock break state, change notify queue) we also push the MID onto the deferred signing queue. Tomorrow I will test this with valgrind and oplock tests. Jeremy. (This used to be commit 33a377f3726c85379ba5b962dd7c8ead337b892f)
* SMB signing is now working with change notify. Need to fix the disconnectJeremy Allison2003-07-241-0/+2
| | | | | | when bad signature received, plus check the oplock breaks.... Jermey. (This used to be commit dd83931a00ec0a2c4b78b939c54bc101ec82312f)
* use names from enumerated type to get rid of compiler warningsHerb Lewis2003-07-111-3/+3
| | | | (This used to be commit c9d6782e091406ed105b7dc34c8c83e53bfe515e)
* Some const correctness. Stop tdb being used as a remote backend. If anJeremy Allison2003-06-271-5/+5
| | | | | | | | idmap backend is specified cause smbd to ask winbindd (use winbindd if you want a consistant remote backend solution). Should work well enough for next beta now... Jeremy. (This used to be commit 8f830c509af5976d988a30f0b0aee4ec61dd97a3)
* Found out a good number of NT_STATUS_IS_ERR used the wrong way.Simo Sorce2003-06-221-1/+1
| | | | | | | | | | | | As abartlet rememberd me NT_STATUS_IS_ERR != !NT_STATUS_IS_OK This patch will cure the problem. Working on this one I found 16 functions where I think NT_STATUS_IS_ERR() is used correctly, but I'm not 100% sure, coders should check the use of NT_STATUS_IS_ERR() in samba is ok now. Simo. (This used to be commit c501e84d412563eb3f674f76038ec48c2b458687)
* Change get_nt_acl() to include security_info wanted. Only return this.Jeremy Allison2003-05-291-91/+103
| | | | | | | | This gets us closer to W2k+ in what we return for file ACLs. Fix horribly broken make_sec_desc() that screwed up the size when given a SD with no owner or group (how did it get this bad... ?). Jeremy. (This used to be commit 183c9ed4052ab14e269ed1234ca557053f77e77a)
* fix quota build on non-64bit systemsGerald Carter2003-05-141-3/+3
| | | | (This used to be commit 227ac953386d0040c661cde85a5b23e10529fb0c)
* Evolve quotas configure check more. Patch from Stefan (metze) Metzemacher. ↵Alexander Bokovoy2003-05-141-6/+6
| | | | | | Now we are defaulting to --with-quotas=no but anyway trying to test them in configure. This is done to get information about as much quota API variations as possible -- when --with-quotas=no this does not affect build but provides us with more detailed information on build farm. (This used to be commit 3786695c72e6ff6a52a527382ac77142e236971b)
* Prefix VFS API macros with SMB_ for consistency and to avoid problems with ↵Alexander Bokovoy2003-05-141-2/+2
| | | | | | VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out (This used to be commit c2689ed118b490e49497a76ed6a2251262018769)
* And finally IDMAP in 3_0Simo Sorce2003-05-121-5/+3
| | | | | | | | | | | | | | | | | | | | | We really need idmap_ldap to have a good solution with ldapsam, porting it from the prvious code is beeing made, the code is really simple to do so I am confident it is not a problem to commit this code in. Not committing it would have been worst. I really would have been able to finish also the group code, maybe we can put it into a followin release after 3.0.0 even if it may be an upgrade problem. The code has been tested and seem to work right, more testing is needed for corner cases. Currently winbind pdc (working only for users and not for groups) is disabled as I was not able to make a complete group code replacement that works somewhat in a week (I have a complete patch, but there are bugs) Simo. (This used to be commit 0e58085978f984436815114a2ec347cf7899a89d)
* Better isolate quota stuffAlexander Bokovoy2003-05-121-0/+8
| | | | (This used to be commit 73de13159c57de21a59d2e32216812f5d9d2292e)
* Add NT quota support. Patch from Stefan (metze) MetzemacherAlexander Bokovoy2003-05-121-27/+526
| | | | | | | | 1. Allows to change quota settings for shared mount points from Win2K and WinXP from Explorer properties tab 2. Disabled by default and when requested, will be probed and enabled only on Linux where it works 3. Was tested for approx. two weeks now on Linux by two independent QA teams, have not found any bugs so far Documentation to follow (This used to be commit 4bf022ce9e45be85609426762ba2644ac2031326)
* Fix VFS layer:Alexander Bokovoy2003-05-111-2/+2
| | | | | | | | | | 1. Finally work with cascaded modules with private data storage per module 2. Convert VFS API to macro calls to simplify cascading 3. Add quota support to VFS layer (prepare to NT quota support) Patch by Stefan (metze) Metzemacher, with review of Jelmer and me Tested in past few weeks. Documentation to new VFS API for third-party developers to follow (This used to be commit 91984ef5caa2d13c5d52e1f535bd3bbbae1ec978)
* Merge of rpcecho pipe for testing large dcerpc requests and responses.Tim Potter2003-04-141-0/+1
| | | | | Only compiled in when --enable-developer argument passed to configure. (This used to be commit 017da9393bab276543d0d5c50df8c760780f2450)
* Fix typo in earlier fix, caught by Ranjit @ HP.Jeremy Allison2003-03-081-1/+1
| | | | | Jeremy. (This used to be commit 11077368ec30313c2e7ee1d23f9f348910aa36bf)
* Use ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out.Jeremy Allison2003-03-071-1/+1
| | | | | Jeremy. (This used to be commit 723e9ee31cc1f5eb4b7aefefd58f7f13d0abda05)
* Found at Connectathon, .NET RC1 arranges trans/trans2/nttrans parametersJeremy Allison2003-03-071-22/+80
| | | | | | differently to W2K, cope with this. Jeremy. (This used to be commit 5e2755508f08ecf561348d4edf0a4064732c5213)
* Ensure we are not forgetting our janitorial duties...Jeremy Allison2003-02-121-0/+10
| | | | | Jeremy. (This used to be commit 7812370cabd4a8809eed1eb4968d552bcb0df2f5)
* Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-031-1/+1
| | | | | | | warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
* Forward port the change to talloc_init() to make all talloc contextsJeremy Allison2002-12-201-2/+2
| | | | | | named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
* Fix for 64 bit issues with oplocks and allocation size.Jeremy Allison2002-12-041-9/+9
| | | | | Jeremy. (This used to be commit 379e719e983fb71f94cd2b691f8b194c109496c3)
* Fixed nasty bug where file writes with start offsets in the rangeJeremy Allison2002-12-031-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 2d14c442bc601a277458b69f05a763aa2a1ab3b7)
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-19/+89
| | | | (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
* Sync 3.0 branch with headJelmer Vernooij2002-08-171-464/+496
| | | | (This used to be commit 42615b945e2e48e53a21ea47f2e45407913a6a1e)
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-281/+287
| | | | (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
* merge from SAMBA_2_2Gerald Carter2002-04-151-1/+1
| | | | (This used to be commit 305ff4203e7313c7869305c63290b1964ac17f2e)
* Shirish pointed out more areas we should be doing roundups for allocation size.Jeremy Allison2002-04-091-17/+16
| | | | | Jeremy. (This used to be commit cda9fccd629d084039af642d9177865d88553be6)
* Fixed the error bad path for recursive mkdir so mkdir \a\b\c\d works.Jeremy Allison2002-04-021-28/+6
| | | | | | Forward ported some of the code tidyups from 2.2. Jeremy. (This used to be commit 2475c09b354cc7b5f4ce384e4497207d30f619bb)
* Fix the mp3 rename bug - also tidy up our open code and remove the specialJeremy Allison2002-03-231-5/+4
| | | | | | cases for rename and unlink. Had to add desired_access into the share mode record. Jeremy. (This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)
* Remove the "stat open" code - make it inline. This should fix theJeremy Allison2002-03-201-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)
* get the right return code for batch vs exclusive oplocksAndrew Tridgell2002-03-071-5/+12
| | | | (This used to be commit 91fc5b2de577019d7646f3c29173b27605d9ba12)
* Fixed delete on close semantics - preparing for share mode rewrite.Jeremy Allison2002-03-071-13/+12
| | | | | Jeremy. (This used to be commit 25dd73be29bbf0a080fe0bcbe5c478545d1e8db7)
* Reformat preparing for changes to come...Jeremy Allison2002-03-061-155/+155
| | | | | Jeremy. (This used to be commit b56df25d48a7adaa49b0bd44f8ff7be81b970da2)
* Added "nt status support" parameter. Fix offline synchronisation.Jeremy Allison2002-02-271-5/+4
| | | | | Jeremy. (This used to be commit 9243a9778e52999d5c62cba484640637b24994d8)
* This is a nasty hack to fix "xcopy /o" from win2000 on a Samba shareAndrew Tridgell2002-02-261-3/+7
| | | | | | | | | | | The hack passes the true ntcreate desired_access down to open_file_shared1() from the ntcreatex function. This is used to determine if share modes should be used in denying this open. This hack will become unnecessary when we redo open.c to use the proper NTCreateX semantics rather than trying to jam the ntcreate semantics into openX semantics. (This used to be commit d09ae0c667a94fcf870c0fc7f97119266a650d45)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* This is the current patch from Luke Leighton <lckl@samba-tng.org> to add aAndrew Bartlett2002-01-201-1/+1
| | | | | | | | | | | | | | | | | | | degree of seperation betwen reading/writing the raw NamedPipe SMB packets and the matching operations inside smbd's RPC components. This patch is designed for no change in behaviour, and my tests hold that to be true. This patch does however allow for the future loadable modules interface to specify function pointers in replacement of the fixed state. The pipes_struct has been split into two peices, with smb_np_struct taking the information that should be generic to where the data ends up. Some other minor changes are made: we get another small helper function in util_sock.c and some of the original code has better failure debugs and variable use. (As per on-list comments). Andrew Bartlett (This used to be commit 8ef13cabdddf58b741886782297fb64b2fb7e489)