summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r22542: Move over to using the _strict varients of the tallocJeremy Allison1-1/+1
calls. No functional changes. Looks bigger than it is :-). Jeremy. (This used to be commit f6fa3080fee1b20df9f1968500840a88cf0ee592)
2007-10-10r22493: Fix horrible memory corruption bug with CIFS POSIX open/mkidr.Jeremy Allison1-0/+2
Found by SteveF + valgrind :-). Jerry - essential for rc3. Jeremy. (This used to be commit b01c1c4618fe0ff9fd9bac7ed780a4676ea1ba7a)
2007-10-10r22491: Fix the build (3.0.25 and 3.0 are different here).Jeremy Allison1-1/+1
Jeremy. (This used to be commit c34c291194f34a4b68c1b149dd513b79295a7f1c)
2007-10-10r22490: Fix a couple of bugs found whist investigating CSC Vista issues.Jeremy Allison1-4/+92
Ensure we correctly NULL out allocation size fields. Allow QFILEINFO on pipes (Vista bug ?). Jerry - don't automatically merge for 3.0.25. Jeremy. (This used to be commit a27577815201101de4ca5c8375b7f768b6127fb2)
2007-10-10r22391: Looks bigger than it is. Make "inbuf" availableJeremy Allison1-20/+21
to all callers of smb_setlen (via set_message() calls). This will allow the server to reflect back the correct encryption context. Jeremy. (This used to be commit 2d80a96120a5fe2fe726f00746d36d85044c4bdb)
2007-10-10r22266: Fix bug #4512 - we were returning a volume label greater thanJeremy Allison1-1/+3
32 unicode chars. Windows XP doesn't like that :-). Jeremy (This used to be commit e59b5276b56d6963ddd0598bbd1b15426d2d13e8)
2007-10-10r22064: Fix the DFS code to work better with Vista clients. AllowJeremy Allison1-2/+3
"host msdfs = true" to be set in the [global] section and allow Vista to see shares with "msdfs root = yes" and "msdfs root = no" off the same server. Down to an error message really :-). Jeremy. (This used to be commit 1a0f69bb21fd03a18514dfc93c84568708144e28)
2007-10-10r22010: Now I'm looking at mangling again, make sureJeremy Allison1-16/+31
that we mangle any illegal names before doing any wildcard matches. That way lies least suprises. Don't merge this for 3.0.25, too dangerous. Thanks. Jeremy. (This used to be commit 8e15ef476cada7a900ff17c7ba70c729d56718bd)
2007-10-10r22001: change prototype of dump_data(), so that it takes unsigned char * now,Stefan Metzmacher1-2/+2
which matches what samba4 has. also fix all the callers to prevent compiler warnings metze (This used to be commit fa322f0cc9c26a9537ba3f0a7d4e4a25941317e7)
2007-10-10r21991: I hate Steve French :-). Add support for encryptionJeremy Allison1-3/+9
contexts.... Jeremy. (This used to be commit ae8f3649f773b8a8dcb55921536d038d3475322e)
2007-10-10r21952: Fix critical (!) error found by IBM checker.Jeremy Allison1-22/+28
Missing break statements meant that no info levels would ever be returned correctly from POSIX open/mkdir. Jeremy. (This used to be commit ae5761ccc66b35b66ca4fa90aef02d8be1564737)
2007-10-10r21950: After discussion with the Apple and Linux client maintainers,James Peach1-1/+5
changing the FindFirst response for the UNIX_INFO2 level to include a length field before the name. The name is not required to be null terminated. The length field does not count any null. Also add call to chflags(2) in the default VFS module so that this will work be default on BSD-derived platform. Add UNIX-INFO2 test to the build farm to get some non-BSD coverage. Jeremy and Jerry, please review for inclusion in 3.0.25. (This used to be commit e7b21b1ef3f79c0df2bae5f15c345ef74292c404)
2007-10-10r21898: Added test command, fixed first valgrind bugs.Jeremy Allison1-2/+2
Now to investigate why it doesn't work :-). Jeremy. (This used to be commit 73f7c6cef8371ad63eb1dc3e79bfc78503dbd7a4)
2007-10-10r21897: Add in a basic raw NTLM encrypt request. NowJeremy Allison1-1/+4
for testing. Jeremy. (This used to be commit 783a7b3085a155d9652cd725bf2960cd272cb554)
2007-10-10r21882: The server part of the code has to use an AUTH_NTLMSSP struct,Jeremy Allison1-0/+27
not just an NTLMSSP - grr. This complicates the re-use of common client and server code but I think I've got it right. Not turned on of valgrinded yet, but you can see it start to take shape ! Jeremy. (This used to be commit 60fc9c0aedf42dcd9df2ef9f1df07eaf3bca9bce)
2007-10-10r21800: Check-in the DFS rewrite. I am still testing this but itJeremy Allison1-14/+29
works from smbclient and Windows, and I am promising to support and fix both client and server code moving forward. Still need to test the RPC admin support but I haven't changed that code. Jeremy. (This used to be commit 7a7862c01d07796ef206b255c676ad7dc2cc42fc)
2007-10-10r21792: Fix crash bug triggered by Excel reported by Jerry.Jeremy Allison1-1/+1
Bad cut-n-paste on rewrite of timestamps. Jeremy. (This used to be commit 1809e0866ae135af1d5ea36a8534e1678ee9b27d)
2007-10-10r21783: Add in the "create info" field to the replyJeremy Allison1-22/+32
from POSIX_OPEN and POSIX_MKDIR as specified by Stevef in the wikki (extra 4 byte field). Also fix horrible bug in James's code (James you should review this for your Apple patch tree) where he failed to allocate the correct return memory size when returning a INFO2 struct. Added #define for the size of the INFO2 struct and made sure we allocate the correct size for return. Jeremy. (This used to be commit d88bc59cb4d5e8851b0856c67ed878ba8bd84552)
2007-10-10r21777: As Stevef requested and the Apple guys agreed, makeJeremy Allison1-4/+8
mode_t in posix_open/posix_mkdir -> 8 bytes to match the SET_UNIX_INFO_BASIC call. Steve is updating the Wikki. Jeremy. (This used to be commit 2f1c95ac7718c1d2a75367ba712edd6b57069432)
2007-10-10r21766: Fix compiler warning.James Peach1-1/+1
(This used to be commit f82ac78b2fa623f5868201bd54ffac9c8f318eef)
2007-10-10r21765: Fix the build for HP-UX.James Peach1-1/+6
(This used to be commit 04cb34ff9dbdc02f21ed8d938fb754478c2b89c1)
2007-10-10r21763: Add support for the UNIX_INFO2 infolevel.James Peach1-46/+245
(This used to be commit 262e4e1fd8398934780db354fcc5316368032d7b)
2007-10-10r21754: Volker is completely correct. There's no need forJeremy Allison1-5/+15
the RESOLVE_DFSPATH macros and their varients any more. Fix reporting profile bug with all error returns. Jeremy. (This used to be commit cdf0fdb1049fd68b46885cbea887dc0e595fa524)
2007-10-10r21717: Support the SMB_QUERY_POSIX_WHOAMI info level on QueryFsInfo.James Peach1-1/+110
(This used to be commit 32c7281f90b042c9f01962c4661faaf979676711)
2007-10-10r21714: Change the VFS interface to use struct timespecJeremy Allison1-43/+48
for utimes - change the call to ntimes. This preserves nsec timestamps we get from stat (if the system supports it) and only maps back down to usec or sec resolution on time set. Looks bigger than it is as I had to move lots of internal code from using time_t and struct utimebuf to struct timespec. Jeremy. (This used to be commit 8f3d530c5a748ea90f42ed8fbe68ae92178d4875)
2007-10-10r21672: The cannonical file access pattern should look like this :Jeremy Allison1-22/+22
srvstr_get_path(inbuf, name, smb_buf(inbuf) + 1, sizeof(name), 0, STR_TERMINATE, &status); if (!NT_STATUS_IS_OK(status)) { return ERROR_NT(status); } RESOLVE_DFSPATH(name, conn, inbuf, outbuf); status = unix_convert(conn, name, False, NULL, &sbuf); if (!NT_STATUS_IS_OK(status)) { return ERROR_NT(status); } status = check_name(conn, name); if (!NT_STATUS_IS_OK(status)) { return ERROR_NT(status); } Make sure that every access pattern (including the wildcard generated paths from unlink, rename, and copy) do the same. Tidy things up a bit.... Jeremy. (This used to be commit b8327b21ddf518d34c6cd6c01bd7fc0fd3f63c0c)
2007-10-10r21667: posix_unlink should break existing oplocks.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 8a90d5dd4f396e5ba207efabc6d852fe4b418310)
2007-10-10r21645: Make posix_unlink work - on open files too !Jeremy Allison1-1/+24
Jeremy. (This used to be commit 98f4b64574ef205ec87401b4bf5eed89f2933fa1)
2007-10-10r21644: Allow mkdir on platforms with no O_DIRECTORY.Jeremy Allison1-0/+31
Add proper debug to all possible setfilepathinfo functions. Jeremy. (This used to be commit 3c47a5ef258d536504759a02f6d84c0ab0af7224)
2007-10-10r21638: Change POSIX_UNLINK to allow clients to differentiateJeremy Allison1-0/+12
between unlink/rmdir calls. Jeremy. (This used to be commit f0c8488d382ada32fabe79399f64ba1c6486d009)
2007-10-10r21603: Horrible backwards compatibility hack as an old server bugJeremy Allison1-1/+11
allowed a CIFS client bug to remain unnoticed :-(. I suck. Jeremy. (This used to be commit 29761173ee26b4713c9a12166a935c066fc3321b)
2007-10-10r21379: Attempt to fix the build on "gwen"Volker Lendecke1-1/+1
(This used to be commit 3d85eb758d2261e0749f6db0ce368a7c0d4df149)
2007-10-10r21247: In the refactoring I dropped a RESOLVE_DFSPATH callJeremy Allison1-2/+9
from setpathinfo. Return it and make sure all paths go through a dfs resolve. Jeremy. (This used to be commit 7fd3a146c11b70428ab5fbd7dc0272706abf8280)
2007-10-10r21246: Remove incorrect control on unix set info.Jeremy Allison1-6/+2
We can take path or handle based calls. Jeremy. (This used to be commit a19fe0f0c4a809d9b086e904586243949f57ec96)
2007-10-10r21229: Don't indirect through a potentially null pointer :-).Jeremy Allison1-5/+6
Jeremy. (This used to be commit 6723f9d85ccb4883f15658aceb021b4c4a752edf)
2007-10-10r21227: Quick fix for Stevef - ensure the returned data on openJeremy Allison1-6/+10
is 8 byte aligned. Jeremy. (This used to be commit 7645044fcf77644839bb0d74163d93d03284bd67)
2007-10-10r21210: Fix POSIX open to return an info level.Jeremy Allison1-54/+96
Jeremy. (This used to be commit 5fa720f04f5d3b736145f9323aa8f4e623c14a41)
2007-10-10r21207: Make the code match the spec :-).Jeremy Allison1-8/+25
Jeremy. (This used to be commit 36afae2d48a3c3e97d1c2c35275f99d51ba2b64a)
2007-10-10r21191: Add in the POSIX open/mkdir/unlink calls.Jeremy Allison1-4/+286
Move more error code returns to NTSTATUS. Client test code to follow... See if this passes the build-farm before I add it into 3.0.25. Jeremy. (This used to be commit 83dbbdff345fa9e427c9579183f4380004bf3dd7)
2007-10-10r21131: Some notify fixesVolker Lendecke1-0/+10
(This used to be commit b9300e1d5acba4e2537fcc6631d1ee4d53685f64)
2007-10-10r21097: Ensure that when manipulating UNIX permissions viaJeremy Allison1-14/+57
the UNIX extensions we use the correct mask/force mask settings for new and existing files/directories. Bug reported by Juran David <ext-david.juran@nokia.com>. Jeremy. (This used to be commit d84af53666369c314f02faa09b708ec6f971fa28)
2007-10-10r21073: Fix compiler warningVolker Lendecke1-2/+2
(This used to be commit 3977ee027f500c76bcfd3de34301d3959e9b6d2b)
2007-10-10r21067: Finished refactoring setqpathinfo to be readableJeremy Allison1-385/+430
and modifiable by other people. Now to look over the build farm and fix any breakage. Jeremy. (This used to be commit 997259f2479842ee888621ae2d5446797b3a7cb6)
2007-10-10r21063: All case statements are now NTSTATUS returningJeremy Allison1-175/+218
functions. Now to factor out the post processing and make all cases behave the same (no mixture of "early returns" and "break"s. Jeremy (This used to be commit 7e17e54cb729e34c935927fe69a43690c7f446ae)
2007-10-10r21062: Should fix the build plus make all refactoredJeremy Allison1-212/+174
functions return NTSTATUS. Jeremy. (This used to be commit 1f3c2b2abca6f1b3b59b73df038832e14106ff76)
2007-10-10r21061: Refactoring all the cases into NTSTATUS returns.Jeremy Allison1-69/+99
Jeremy. (This used to be commit da4ce69d4057c241cf7b4b6b0dd2bf711dd28a43)
2007-10-10r21060: Start refactoring out the non-return case statementsJeremy Allison1-35/+64
into functions. Jeremy. (This used to be commit 461db3c8ed045cac70eccf3200bf9163dbce5826)
2007-10-10r21058: Finish the easy refactoring - split out all the caseJeremy Allison1-158/+213
statements that do early return. Next will be case statements that need post processing, finally on to qfilepathinfo and do the same. Jeremy. (This used to be commit c961d5ce94a8bf2e2ffba645e522f0e2e372e351)
2007-10-10r21057: More refactoring into functions.Jeremy Allison1-63/+93
Jeremy. (This used to be commit fe2d7cb2dcd7c4d25d71f196aa557ce3e287bb4c)
2007-10-10r21054: More function refactoring.Jeremy Allison1-24/+52
Jeremy. (This used to be commit b6f43e9509cfedbf77c883cff793c469d6f86370)