summaryrefslogtreecommitdiffstats
path: root/source/smbd
Commit message (Collapse)AuthorAgeFilesLines
...
* Actually use sendfile if selected.Jeremy Allison2002-09-173-5/+7
| | | | Jeremy.
* disable stat cache when case sensitiveAndrew Tridgell2002-09-171-1/+1
|
* Attempt to make broken Linux sendfile work.... Still in progress.Jeremy Allison2002-09-171-1/+1
| | | | Jeremy.
* Added fix for broken Linux (no sendfile64). When offset + count > 2GBJeremy Allison2002-09-141-0/+7
| | | | | then return ENOSYS and let the upper layer handle it. Jeremy
* Fixed up FreeBSD sendfile code - only Solaris left then I can add theJeremy Allison2002-09-121-1/+1
| | | | | configure tests... Jeremy.
* First cut at portable sendfile code. Only used in readX at the momentJeremy Allison2002-09-122-16/+99
| | | | | | | | and doesn't actually call sendfile. Needs to be vectored through the VFS and tested on all supported platforms (Solaris/HPUX/FreeBSD/Linux). Linux doesn't actually work (2.4.19 kernel) at the moment because it doesn't have a 64-bit clean sendfile. Jeremy.
* Formatting tidyups before I look at implementing the sendfile in READX.Jeremy Allison2002-09-111-194/+185
| | | | Jeremy.
* Ensure we've failed a lock with a lock denied message before automaticallyJeremy Allison2002-09-111-3/+3
| | | | | pushing it onto the blocking queue. Jeremy.
* Fix missing braces around push lock call.Jeremy Allison2002-09-111-2/+3
| | | | Jeremy.
* Added final Steve French patch for "required" attributes with oldJeremy Allison2002-09-102-5/+24
| | | | | dir listings. Added regression test in smbtorture (in HEAD) also. Jeremy.
* Merged Steve French's fix for OS/2 EA return error being removed.Jeremy Allison2002-09-091-1/+3
| | | | Jeremy.
* Patch from Steve French to fix difference in responses toJeremy Allison2002-09-091-1/+5
| | | | | | | smbclient //server/share ls / on Samba and Windows 2000. Jeremy.
* This is the 'easy' parts of the trusted domains patch n+3 patch fromAndrew Bartlett2002-09-061-13/+11
| | | | | | | | | | | | Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl> It includes a conversion of make_user_info*() to NTSTATUS and some minor changes to other files. It also picks up on a nasty segfault that can occour in some security=domain cases. Andrew Bartlett
* patch from metze: add a 'vfs' debug classAndrew Bartlett2002-09-062-0/+8
|
* Revert accidental commit - I'll need to do a fair bit more testing before IAndrew Bartlett2002-09-061-3/+0
| | | | commit changes to NTLMSSP flags.
* Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de>Andrew Bartlett2002-09-061-0/+3
| | | | | | | | | | | | | to extend the ADS_STATUS system to include NTSTATUS, and to provide a better general infrustructure for his sam_ads work. I've also added some extra failure mode DEBUG()s to parts of the code. NOTE: The ADS_ERR_OK() macro is rather sensitive to braketing issues - without the final set of brakets, the test is essentially inverted - causing some intersting 'error = success' messages... Andrew Bartlett
* Oops...Andrew Bartlett2002-09-061-1/+1
|
* One less user of Get_Pwnam_modify()...Andrew Bartlett2002-09-061-2/+4
| | | | Andrew Bartlett
* We shouldn't add printing flag here.Jeremy Allison2002-09-051-1/+1
| | | | Jeremy.
* Send any queued up print notify messages in exit_server() so theyTim Potter2002-09-051-0/+2
| | | | | don't get lost if the client exits before timeout_processing() has a chance to run.
* Merge of (apparently working :-) new printing notify code.Jeremy Allison2002-09-042-16/+65
| | | | Jeremy.
* Add bcast_msg_flags to connection struct. Allows sender to filter whenJeremy Allison2002-09-044-9/+10
| | | | | | sending broadcast messages. Also initial cut-down of printing notify messages (not yet finished). Jeremy.
* Ensure we open UNIX fifo's non-blocking like we used to do.Jeremy Allison2002-09-031-0/+11
| | | | Jeremy.
* Convert M_DEBUG(0 to M_DEBUG(10 for non-error cases ...Richard Sharpe2002-08-311-8/+8
|
* Add a bit of 'const' and move a lot of our 'repeditive' DEBUG() statements toAndrew Bartlett2002-08-311-2/+0
| | | | | | | | 'DEBUGADD', so we don't repeat headers. (Makes them much easier to read). (Based on patch by kai) Andrew Bartlett
* Fix bug with stat mode open being done on read-only open withJeremy Allison2002-08-301-8/+10
| | | | | truncate. Jeremy.
* Correctly fail opens with mismatching SYSTEM or HIDDEN attributes if weJeremy Allison2002-08-301-0/+36
| | | | | are mapping system or hidden. Jeremy.
* Return correct FILE_SUPERSEDED response - IFSTEST strikes again...Jeremy Allison2002-08-281-2/+8
| | | | Jeremy.
* fix file_is_special test, was wrong.Simo Sorce2002-08-281-2/+10
|
* Move -4 to correct side of comparison.Jeremy Allison2002-08-281-2/+2
| | | | Jeremy.
* Ensure we have at least smb_size bytes before processing a packet.Jeremy Allison2002-08-271-1/+1
| | | | Jeremy.
* Correct fix for nc problem.Jeremy Allison2002-08-261-1/+2
| | | | Jeremy.
* Reformatting only before real change.Jeremy Allison2002-08-261-131/+124
| | | | Jeremy.
* Reverted and tidied up the "special" files patch. Adds "hide special files"Jeremy Allison2002-08-261-56/+84
| | | | | | option (set to false by default). Made checking for hide unreadable/writable more efficient (less stat calls, less allocating printf calls). Jeremy.
* Updates!Andrew Bartlett2002-08-262-2/+2
| | | | | | | | | | | - Don't print an uninitialised buffer in service.c - Change some charcnv.c functions to take smb_ucs2_t ** instead of void ** - Update NTLMv2 code to use dynamic buffers - Update experimental SMB signing code - still more work to do - Move sys_getgrouplist() to SAFE_FREE() and do a DEBUG() on initgroups() failure. Andrew Bartlett
* do not expose special files, only files, directories and links (and weSimo Sorce2002-08-241-51/+49
| | | | | should really check if a link points to a special file and deny access imho), expose no fifo, socket, devices ...
* Merged initial allocation code for IFSTEST fix.Jeremy Allison2002-08-232-24/+63
| | | | Jeremy.
* move where got_sig_term and reload_after_sighup are defined.Herb Lewis2002-08-222-6/+4
| | | | | populate cli structure with called name and calling name even for port 445 connects.
* made the CAP_UNIX test a bit cleanerAndrew Tridgell2002-08-221-1/+5
|
* reload_after_sighup and got_sig_term are defined in server.cHerb Lewis2002-08-221-2/+2
|
* Remember to check for UNIX extensions before saying we support them.Jeremy Allison2002-08-221-1/+1
| | | | Jeremy.
* We were returning incorrect flags in smb_action....Jeremy Allison2002-08-221-6/+9
| | | | | IFSTEST strikes again :-). Jeremy.
* Ensure we don't change to a user that we can't get an NT_TOKEN for.Andrew Bartlett2002-08-221-0/+4
|
* Fixed IFSTEST errors with OpenParams... more to go.Jeremy Allison2002-08-221-9/+9
| | | | Jeremy.
* Fix longstanding bug in Win2k clients by clearing the shortnameJeremy Allison2002-08-211-0/+5
| | | | | buffer before returning ascii short name. Jeremy.
* IFSTEST fixes for open fid, nametoolong.Jeremy Allison2002-08-201-0/+15
| | | | Jeremy.
* Based orginally by work by Kai, this patch moves our NT_TOKEN generation intoAndrew Bartlett2002-08-205-156/+101
| | | | | | | | | | | | | | | our authenticaion code - removing some of the duplication from the current code. This also gets us *much* closer to supporting a real SAM backend, becouse the SAM can give us the right info then. This also changes our service.c code, so that we do a VUID (rather than uid) cache on the connection struct, and do full NT ACL/NT_TOKEN checks (or cached equivilant) on every packet, for the same r or rw mode the whole share was open for. Andrew Bartlett
* Added comment about our implementation of the trans2Tim Potter2002-08-191-1/+6
| | | | | SMB_FILE_INTERNAL_INFORMATION possibly causing the failure of one of the IFSKIT tests.
* IFS kit test - don't allow TEMP attribute on directory open.Jeremy Allison2002-08-191-0/+12
| | | | Jeremy.
* round lock timeouts in lockingX upwards to multiples of 1 second, so aAndrew Tridgell2002-08-181-1/+1
| | | | half second timout rounds to 1 not 0