summaryrefslogtreecommitdiffstats
path: root/source/smbd
Commit message (Collapse)AuthorAgeFilesLines
* Fix inotify detectionVolker Lendecke2008-02-251-1/+7
| | | | Bug 5271 -- thanks to Tiziano Müller
* Allow "max mux" async i/o requestsVolker Lendecke2008-02-241-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!
* Export aio_request_done()Volker Lendecke2008-02-241-3/+9
| | | | | This is for external modules implementing the Posix AIO API that not necessarily depend on the signal mechanism to indicate completion.
* AIO on streams does not work (yet...)Volker Lendecke2008-02-241-0/+12
|
* Fix debug messages.Jeremy Allison2008-02-221-4/+5
| | | | Jeremy.
* Don't use fname after create_file has been calledVolker Lendecke2008-02-223-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...
* Update position information also for AIOVolker Lendecke2008-02-191-0/+5
| | | | | | Necessary to survive RAW-SEEK with AIO enabled. Jeremy, please check!
* Inform level II oplock holders when we write using AIOVolker Lendecke2008-02-191-0/+2
| | | | Jeremy, please check!
* Check return code of secrets_init() function.Tim Potter2008-02-181-1/+2
|
* Use new structs in reply_spnego_kerberos().Günther Deschner2008-02-171-6/+5
| | | | Guenther
* Correctly use SPNEGO to negotiate down from krb5 to NTLMSSP.Jeremy Allison2008-02-141-28/+81
| | | | | Previously we didn't implement the 'NEGO' part of SPNEGO :-). Jeremy.
* Currently we don't SPNEGO negotiate back to NTLMSSP. Note this.Jeremy Allison2008-02-141-4/+16
| | | | Jeremy.
* Ensure invalidate_vuid() deletes any ntlmssp state.Jeremy Allison2008-02-141-0/+4
| | | | Jeremy.
* smbd: use make usage of wbcDomainInfo()Stefan Metzmacher2008-02-111-15/+9
| | | | metze
* Fix some typos.Karolin Seeger2008-02-081-1/+1
| | | | Karolin
* Make operator precedence very clear.Jeremy Allison2008-02-061-1/+1
| | | | Jeremy.
* Change the file time before we change the file mode.Alexander Bokovoy2008-02-061-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.
* Allow actual call to set file offlineAlexander Bokovoy2008-02-061-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.
* Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into ↵Alexander Bokovoy2008-02-067-208/+155
|\ | | | | | | dmapi-integration
| * Fix a couple of "might be used uninitialized" warnings.Jeremy Allison2008-02-051-2/+2
| | | | | | | | Jeremy.
| * Fix typo.Karolin Seeger2008-02-051-1/+1
| | | | | | | | Karolin
| * str_list_free is not needed anymoreVolker Lendecke2008-02-041-4/+2
| |
| * Always pass a TALLOC_CTX to str_list_make and str_list_copyVolker Lendecke2008-02-042-7/+8
| |
| * Remove smb_read_error globalVolker Lendecke2008-02-021-7/+0
| | | | | | | | YESS :-)
| * Remove dependency on get_srv_read_error() from main loopVolker Lendecke2008-02-021-49/+20
| |
| * Convert receive_message_or_smb to NTSTATUSVolker Lendecke2008-02-021-36/+43
| |
| * Convert read_data() to NTSTATUSVolker Lendecke2008-02-021-4/+5
| |
| * Make get_srv_read_error static to process.cVolker Lendecke2008-02-022-3/+3
| |
| * Convert receive_smb_raw to NTSTATUSVolker Lendecke2008-02-021-2/+0
| |
| * read_socket_with_timeout_ntstatus->read_socket_with_timeoutVolker Lendecke2008-02-022-4/+3
| |
| * Get rid of read_socket_with_timeoutVolker Lendecke2008-02-021-5/+14
| |
| * Convert receive_smb_talloc to NTSTATUSVolker Lendecke2008-02-021-33/+28
| |
| * Convert receive_smb_raw_talloc to NTSTATUSVolker Lendecke2008-02-021-61/+29
| |
| * Convert receive_smb_raw_talloc_partial_read to NTSTATUSVolker Lendecke2008-02-021-59/+47
| |
| * Convert read_packet_remainder to return NTSTATUSVolker Lendecke2008-02-021-37/+44
| |
| * Convert read_packet_remainder to use read_socket_with_timeout_ntstatusVolker Lendecke2008-02-021-8/+20
| |
| * Convert read_smb_length to return NTSTATUSVolker Lendecke2008-02-021-9/+3
| |
| * Convert read_smb_length_return_keepalive to return NTSTATUSVolker Lendecke2008-02-021-11/+17
| |
* | Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into ↵Alexander Bokovoy2008-01-312-11/+6
|\| | | | | | | dmapi-integration
| * Re-enable async I/O for non-TSM systemsVolker Lendecke2008-01-302-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!
* | Fix BOOL introduced by last commitAlexander Bokovoy2008-01-291-1/+1
| |
* | Merge DMAPI fixes from TridgeAlexander Bokovoy2008-01-291-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.
* | Merge branch 'ctdb-merge' into dmapi-integrationAlexander Bokovoy2008-01-292-133/+78
|\ \ | |/ |/|
| * Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into ctdb-mergeAlexander Bokovoy2008-01-2411-155/+797
| |\
| * | Merge DMAPI fixes from CTDB SambaAlexander Bokovoy2008-01-182-133/+78
| | |
* | | Remove an unused external referenceVolker Lendecke2008-01-271-1/+0
| | |
* | | Fix uninitialized variablesVolker Lendecke2008-01-261-1/+2
| | | | | | | | | | | | Thanks to Corinna Vinschen
* | | Fix the same bug with user -> user_obj.Jeremy Allison2008-01-241-1/+7
| | | | | | | | | | | | Jeremy.
* | | Fix a really subtle old, old bug :-). When canonicalizing theJeremy Allison2008-01-241-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.
* | | Correctly set flags in ACE's inherited from parent. Still one bugJeremy Allison2008-01-241-3/+35
| | | | | | | | | | | | | | | left to find then I'll back-port to 3.0.28. Jeremy.