summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2008-02-25Fix inotify detectionVolker Lendecke1-1/+7
Bug 5271 -- thanks to Tiziano Müller (This used to be commit 4a1a138b0fe0f2200e5a37a0609481e4340a896c)
2008-02-24Allow "max mux" async i/o requestsVolker Lendecke1-5/+9
In the negprot reply, we allowed the client to issued "max mux" concurrent requests. The OS might allow less, for example AFAIK AIX has a configurable limit of concurrent AIO requests. We will fall back to sync operation for the requests that are too many when aio_read/aio_write return an error. Jeremy, please check! (This used to be commit 8f86f7f25c4eb71bbdfcc6bf2d12eaaae9a8d9ec)
2008-02-24Export aio_request_done()Volker Lendecke1-3/+9
This is for external modules implementing the Posix AIO API that not necessarily depend on the signal mechanism to indicate completion. (This used to be commit 9a069d306bb6f8a2cd51b8ba87b433884942d13f)
2008-02-24AIO on streams does not work (yet...)Volker Lendecke1-0/+12
(This used to be commit 1ba223f202a070a695581e0d7161473a3ebf4332)
2008-02-22Fix debug messages.Jeremy Allison1-4/+5
Jeremy. (This used to be commit d265cedb55b07c6b8a13b9632fbdf8a05fbba886)
2008-02-22Don't use fname after create_file has been calledVolker Lendecke3-18/+18
create_file calls unix_convert internally, so modifies fname. So we can't use "fname" after create_file has returned. Use fsp->fsp_name instead. Found during a lengthy debugging session with Karolin testing the xattr_tdb module... (This used to be commit 183fe570469963923864b732817a87f8660341ed)
2008-02-19Update position information also for AIOVolker Lendecke1-0/+5
Necessary to survive RAW-SEEK with AIO enabled. Jeremy, please check! (This used to be commit e2ca12c2345c0e3916dd09d097b2ba1ce2989fa8)
2008-02-19Inform level II oplock holders when we write using AIOVolker Lendecke1-0/+2
Jeremy, please check! (This used to be commit 81d823e026fb332a88b6e1f15030fe49719f2522)
2008-02-18Check return code of secrets_init() function.Tim Potter1-1/+2
(This used to be commit 2b1eead269e95142576d0c8c259874324ba83502)
2008-02-17Use new structs in reply_spnego_kerberos().Günther Deschner1-6/+5
Guenther (This used to be commit c55160f8e866d9b24a4dad234af78ae46c236a37)
2008-02-14Correctly use SPNEGO to negotiate down from krb5 to NTLMSSP.Jeremy Allison1-28/+81
Previously we didn't implement the 'NEGO' part of SPNEGO :-). Jeremy. (This used to be commit 8767a0dab95c544878b4187157e494e740974bb8)
2008-02-14Currently we don't SPNEGO negotiate back to NTLMSSP. Note this.Jeremy Allison1-4/+16
Jeremy. (This used to be commit 8cd04b948bfba3896d40c9e314a197f60ad76833)
2008-02-14Ensure invalidate_vuid() deletes any ntlmssp state.Jeremy Allison1-0/+4
Jeremy. (This used to be commit b41799c351c72b268ef094047a51766747671280)
2008-02-11smbd: use make usage of wbcDomainInfo()Stefan Metzmacher1-15/+9
metze (This used to be commit 9d6b43ea106df188b51060a8055fe5168220c314)
2008-02-08Fix some typos.Karolin Seeger1-1/+1
Karolin (This used to be commit 2bec0a1fb7857e6fb8ec15e5f597b2d4125f105b)
2008-02-06Make operator precedence very clear.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 4f125110cfe25b499eb628b5b08fdb610a5d972c)
2008-02-06Change the file time before we change the file mode.Alexander Bokovoy1-6/+6
This doesn't matter for most applications, but for offline files it matters as it allows you to set files offline from windows clients even with HSM systems that refuse to offline newly created files. Merge from Tridge's v3-0-ctdb tree. (This used to be commit 7da6c675440b0253ab37ee6097f769a2e45c7b7b)
2008-02-06Allow actual call to set file offlineAlexander Bokovoy1-12/+20
Dos mode calculation was masking out FILE_ATTRIBUTE_OFFLINE so that code to set file offline was never called before. Merge from Tridge's v3-0-ctdb git tree. (This used to be commit 9827d5ff416479408b19a8964c2321ea2517aa74)
2008-02-06Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into ↵Alexander Bokovoy7-208/+155
dmapi-integration (This used to be commit f59d3786abcc53065c838a2fa82ec2f4b577b16f)
2008-02-05Fix a couple of "might be used uninitialized" warnings.Jeremy Allison1-2/+2
Jeremy. (This used to be commit b3ac8073a23afbba19d045302aa0700197c58bd5)
2008-02-05Fix typo.Karolin Seeger1-1/+1
Karolin (This used to be commit 3745e398b1cc4d1b76a7cb4ee9c998ff16b454b9)
2008-02-04str_list_free is not needed anymoreVolker Lendecke1-4/+2
(This used to be commit feddc1447d585fd108d22a36bccc576fa81197ef)
2008-02-04Always pass a TALLOC_CTX to str_list_make and str_list_copyVolker Lendecke2-7/+8
(This used to be commit e2c9fc4cf5f0ff725330fa44f53782db65fca37e)
2008-02-02Remove smb_read_error globalVolker Lendecke1-7/+0
YESS :-) (This used to be commit 26771bdca0e6837db267f4db7907e489acd92fc6)
2008-02-02Remove dependency on get_srv_read_error() from main loopVolker Lendecke1-49/+20
(This used to be commit fad87968921eca0b5144760c412c5f599f9066f3)
2008-02-02Convert receive_message_or_smb to NTSTATUSVolker Lendecke1-36/+43
(This used to be commit 0f7d360a01baf02e251846118cb36e6a1cdcbeb9)
2008-02-02Convert read_data() to NTSTATUSVolker Lendecke1-4/+5
(This used to be commit af40b71023f8c4a2133d996ea698c72b97624043)
2008-02-02Make get_srv_read_error static to process.cVolker Lendecke2-3/+3
(This used to be commit 9e2947039ef70cab8bbd6027182d9c721eac3194)
2008-02-02Convert receive_smb_raw to NTSTATUSVolker Lendecke1-2/+0
(This used to be commit ba771bd858602452a9e58c3aab1336f2ac8a25ef)
2008-02-02read_socket_with_timeout_ntstatus->read_socket_with_timeoutVolker Lendecke2-4/+3
(This used to be commit 90554799afa42855c3e7b87dc632e67f0952f988)
2008-02-02Get rid of read_socket_with_timeoutVolker Lendecke1-5/+14
(This used to be commit f9c8ac83ff42137d2101d3bb17e5dcc3c3d70a8f)
2008-02-02Convert receive_smb_talloc to NTSTATUSVolker Lendecke1-33/+28
(This used to be commit ddbdd11a49fba9ec4834807dec385cdf3120ce00)
2008-02-02Convert receive_smb_raw_talloc to NTSTATUSVolker Lendecke1-61/+29
(This used to be commit 187707591ffa2668aecd4857cb2ef2cd20bd6b08)
2008-02-02Convert receive_smb_raw_talloc_partial_read to NTSTATUSVolker Lendecke1-59/+47
(This used to be commit 9a82350ba92bf5fc4f2968d5130bcb2118e7a981)
2008-02-02Convert read_packet_remainder to return NTSTATUSVolker Lendecke1-37/+44
(This used to be commit 667864d442ea7e1faed7b032315db8856fa91481)
2008-02-02Convert read_packet_remainder to use read_socket_with_timeout_ntstatusVolker Lendecke1-8/+20
(This used to be commit fff31f8f35ad26d67e78b9a71cfd35670aa9ac5f)
2008-02-02Convert read_smb_length to return NTSTATUSVolker Lendecke1-9/+3
(This used to be commit 5750c3a51b4ddac635a98195d1621b24f91bad3f)
2008-02-02Convert read_smb_length_return_keepalive to return NTSTATUSVolker Lendecke1-11/+17
(This used to be commit 73a79a957a33a8761acf54598ce71e3604ecf3c5)
2008-01-31Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into ↵Alexander Bokovoy2-11/+6
dmapi-integration (This used to be commit d46fc35dd4e22ecd777800a8cdb6c31763d0fac4)
2008-01-30Re-enable async I/O for non-TSM systemsVolker Lendecke2-11/+6
The logic was wrong: A "SMB_VFS_AIO_FORCE()==False" disabled async I/O, whereas a "SMB_VFS_AIO_FORCE()==True" should enforce it regardless of other settings. Alexander, please check! (This used to be commit 46882ad9927c95caadeb7fb03c1d7491bbe1fb22)
2008-01-29Fix BOOL introduced by last commitAlexander Bokovoy1-1/+1
(This used to be commit 8afb7133e956ec963ac55720fb297b4d5b44702c)
2008-01-29Merge DMAPI fixes from TridgeAlexander Bokovoy1-16/+56
Support cases when existing DMAPI session is stale. In this case we are creating another one. The code differs from 3-0_ctdb branch in that we fail when it is not possible to create more sessions and pretend that file is offline. This allows to escape endless loop in vfs_tsmsm.c. (This used to be commit 5efb57d904e25e68b09a567e260292439ad9c095)
2008-01-29Merge branch 'ctdb-merge' into dmapi-integrationAlexander Bokovoy2-133/+78
(This used to be commit 58dce4cdf277c8c68865185d9d8b4faea996dd3e)
2008-01-27Remove an unused external referenceVolker Lendecke1-1/+0
(This used to be commit 147033b9dff7160ff324fa52aba1f054f962961b)
2008-01-26Fix uninitialized variablesVolker Lendecke1-1/+2
Thanks to Corinna Vinschen (This used to be commit aba8c17599f0be82cff33229bb107814d88faafe)
2008-01-24Fix the same bug with user -> user_obj.Jeremy Allison1-1/+7
Jeremy. (This used to be commit c5edf7456955471b8590c2cfa67c7f47a387cdf0)
2008-01-24Fix a really subtle old, old bug :-). When canonicalizing theJeremy Allison1-3/+9
NT ACL into a POSIX one, if the group being set is the primary group of the file, map it into a SMB_ACL_GROUP_OBJ, not a SMB_ACL_GROUP. Otherwise we get an extra bogus group entry in the POSIX ACL. Jeremy. (This used to be commit 4d302254fdfce2c267cf6b21f662d5aa2dc9c72c)
2008-01-24Correctly set flags in ACE's inherited from parent. Still one bugJeremy Allison1-3/+35
left to find then I'll back-port to 3.0.28. Jeremy. (This used to be commit 3df2f7ca782e418703d82f7a1f3c035a365f9589)
2008-01-24Make explicit in debug we're ignoring flags from the parent SD.Jeremy Allison1-6/+10
Jeremy (This used to be commit 58cfa4b1bdc1ce30cc3befb342cc98ac0e283585)
2008-01-24Add debug messages to trace this if needed.Jeremy Allison1-0/+14
Jeremy. (This used to be commit b628269b3260661cb4eeeab8c533b3129827ba62)