summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21803: Missed part of patch to make self-referrals work.Jeremy Allison1-0/+1
Jeremy. (This used to be commit b1fa55e513f506bfb58687b692e1507732b00fbc)
2007-10-10r21801: Fix Coverity ID # 342Volker Lendecke1-0/+1
(This used to be commit 8700cd71bb3af3a55f025b34b61062aa5b66b6bc)
2007-10-10r21800: Check-in the DFS rewrite. I am still testing this but itJeremy Allison5-441/+650
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-10r21784: Replace smb_register_idle_event() with event_add_timed(). This fixes ↵Volker Lendecke2-4/+1
winbind who did not run the idle events to drop ldap connections. Volker (This used to be commit af3308ce5a21220ff4c510de356dbaa6cf9ff997)
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-10r21774: Fix the build with Fedora Core 6.Günther Deschner1-0/+4
tridge/vl: please check. Guenther (This used to be commit 39d54738db5eed106fca07a417843b1e7e4033ff)
2007-10-10r21770: For old DOS style searches we must remember ifJeremy Allison1-0/+5
the initial search had a wildcard in order to correctly return no error on end of search. Found by Samba4 torture tester. Jeremy. (This used to be commit c74bcf7677123f273d44181ca053ba49b8c7ddae)
2007-10-10r21769: Attempt to fix bug #4384 in old search code.Jeremy Allison1-14/+4
We were accessing a pathname that hadn't gone through unix_convert ! That's a big no-no... Jeremy. (This used to be commit 33a67fd39e1a51944bf0783350aa6ef95dfafb84)
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-10r21759: Fix the same bug in a more elegant way, strrchr_mJeremy Allison1-7/+12
is an expensive call.... Jeremy. (This used to be commit 321a136dbce1a0532f123ea79ecb91f987b9a286)
2007-10-10r21758: Fix a very specific dfs bug when passing in POSIXJeremy Allison1-3/+6
pathnames. When we're working out how much we've consumed we need to backtrack by either a '/' or '\\' component, as both are valid separators. Jeremy. (This used to be commit 1722ea20db2d531f92fb18fa5783f09258727c64)
2007-10-10r21756: An invarient the dfs code depended on for POSIX pathsJeremy Allison1-4/+1
is no longer true, so fix it. Jeremy. (This used to be commit 698159c0ee8d9adb3b56231c0c8ad2ddebd5be11)
2007-10-10r21754: Volker is completely correct. There's no need forJeremy Allison4-27/+126
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-10r21748: More cosmetic alignment. One change to call_nt_transact_create(): We ↵Volker Lendecke1-11/+14
were asking open_file_ntcreate for a batch oplock if the client asked us to do so, even if it did not ask for an oplock in the first place. Did not test it, but I think this is bogus anyway. Volker (This used to be commit 0b94af112b9a40171fd9b14ea39981ac65d709f2)
2007-10-10r21747: Cosmetic checkin to bring ntcreate and nttranscreate closer togetherVolker Lendecke1-13/+19
(This used to be commit ecc781f1a211377e9ebb3e416c86123c00b11ed3)
2007-10-10r21731: Fix long-standing bug in our chain processing code.Jeremy Allison1-3/+20
Should fix a bug with WinPE. Probably a candidate for the Vista patchset. Jeremy. (This used to be commit ef32de6b59fef3e9f59e6f864ce5eb072390ea48)
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 Allison7-87/+99
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 Allison3-202/+298
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-10r21665: Fix bug #4428 reported by Jason Mader <jason@ncac.gwu.edu>.Jeremy Allison1-2/+1
Jeremy. (This used to be commit fe00771df517071c5e654e0b2b9cfde2d88bd701)
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-10r21547: Fix from Michael Adam <ma@sernet.de>: Refuse registry shares without ↵Volker Lendecke1-0/+8
path. Thanks, Volker (This used to be commit e795865d58472498097edc3fb68438ed08c38d8d)
2007-10-10r21483: Fix use of uninitialized variable.Jeremy Allison1-3/+6
Jeremy. (This used to be commit 4a74d042c9108ed68cc92f27b390c261c0bc8885)
2007-10-10r21482: Use IPC$ not ipc$ for consistency.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 42a846b3dfa50eea6592c6bb425f7bdb672c25f9)
2007-10-10r21481: No one said anything, so I'm disallowing anythingJeremy Allison1-7/+17
but explicit shares in "default service" :-). Jeremy. (This used to be commit 90bdcce765998cc0f5768d24926d52b8a4a44f90)
2007-10-10r21480: Make fd_open match fd_close be translatingJeremy Allison1-9/+12
errno into an NTSTATUS immediately. Jeremy. (This used to be commit 71dd02cc164197152e76d8141f906390c4bd1526)
2007-10-10r21478: Add 65k length limit for split SPNEGO blobs.Jeremy Allison1-9/+19
Jeremy (This used to be commit 6be078da267677e3e558033c28099e3932a17712)
2007-10-10r21467: Add GPFS-provided DMAPI support based on their GPL libraryAlexander Bokovoy1-0/+2
(This used to be commit 5876bedda51fce0c932ca0cdab074629b31a9c94)
2007-10-10r21461: Not strictly necessary, as data_blob() panics if it can't allocate. ↵Volker Lendecke1-0/+4
But I'd see this as a design flaw in data_blob() and it made me look in that routine. Jeremy, revert or merge please :-) Volker (This used to be commit e7e6b8b5e0b00cc0746db4e9baa2e860074f903a)
2007-10-10r21460: Fix for server-side processing of SPNEGO authJeremy Allison2-10/+217
fragmented into "max xmit" size security blob chunks. Bug #4400. Needs limits adding, and also a client-side version. Jeremy. (This used to be commit aa69f2481aafee5dccc3783b8a6e23ca4eb0dbfa)
2007-10-10r21409: saved_status1 is not used anymore after aio write behind was removedVolker Lendecke1-5/+2
(This used to be commit 29a1892c131ed41a06d3dcfdb5d21371e60c1ba6)
2007-10-10r21379: Attempt to fix the build on "gwen"Volker Lendecke1-1/+1
(This used to be commit 3d85eb758d2261e0749f6db0ce368a7c0d4df149)
2007-10-10r21369: sys_disk_free return type is SMB_BIG_UINT.Simo Sorce1-1/+1
Fix dfree_retval to be SMB_BIG_UINT as well, otherwise we may wrap up on > 2T file systems. Simo. (This used to be commit 0bb7f6492ccf4a965d70d43ee1483959c71bcdba)
2007-10-10r21324: Add linux setlease to the vfs layer. Next round, as Volker points out,Jim McDonough1-9/+18
it should be abstracted a little higher up so other os'es can have an entry, but it will take a bit more work. Thanks to Chetan Shringarpure and Mathias Dietz. I didn't increment the vfs number again because the kernel change notify stuff hasn't been released yet anyway. (This used to be commit 9463211bf3b46ee408b88dfbf42d498e3839d4cc)
2007-10-10r21319: Remove functions not needed anymoreVolker Lendecke1-44/+0
(This used to be commit 0c8a364aec68bc7338d034b6f8223ec4085c9e07)
2007-10-10r21280: Fix an uninitialized variable warning. Jeremy, please check.Volker Lendecke1-3/+3
Volker (This used to be commit 4faa37a515fb6c6fa0f9364271755f954429beec)
2007-10-10r21279: Get rid of 'aio write behind', this is broken.Volker Lendecke6-175/+2
It should probably better be integrated with our write cache. Volker (This used to be commit 58bfd168b046a97a895aaa3384fd7af8d077a1d5)
2007-10-10r21278: The main goal of this was to get rid of the NetInBuffer / ↵Volker Lendecke2-79/+15
set_InBuffer. But it turns out that this patch actually speeds up the async writes considerably. I tested writing 100.000 times 65535 bytes with the allowed 10 ops in parallel. Without this patch it took about 32 seconds on my dual-core 1.6GHz laptop. With this patch it dropped to about 26 seconds. I can only explain it by better cache locality, NewInBuffer allocates more than 128k, so we jump around in memory more. Jeremy, please check! Volker (This used to be commit 452d51bc6fd41771b9c41ba6391664513d7cf2cd)
2007-10-10r21277: Fix an off by one error in the signal handler for aio: We can ↵Volker Lendecke1-1/+1
actually receive AIO_PENDING_SIZE signals, not one less. Jeremy I'm not merging this to 3_0_25, I want you to look at it first! Volker (This used to be commit 8fd0ec58360a349826508fc361a943650fdd6694)
2007-10-10r21274: As we now have POSIX opens which can unlinkJeremy Allison1-0/+9
with other open files we may have taken the delete code path with more than one share mode entry - ensure we only delete once by resetting the delete on close flag. Jeremy. (This used to be commit 429dff31663e71556b5193b25d5b8e7e09fa5b9c)
2007-10-10r21269: ReformattingVolker Lendecke1-89/+151
(This used to be commit b2eaa733c52113f53b6ff8aea9fce20ede1e3b1f)
2007-10-10r21257: Better fix for bug #4188 :Jeremy Allison1-0/+39
Windows Vista RC1 and RC2 can't delete directory on Samba share based on work by Joe Meadows <jmeadows@webopolis.com>. Jeremy. (This used to be commit 2dab8928769938ab79da7b7ce2d165fc388f9b00)