summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2002-09-18Added "use sendfile" per share option.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 28466ff42c3328e49d46f7cddfc4bb2fe462d871)
2002-09-18We had a race condition when changing a machine acount password as weJeremy Allison1-0/+9
were no longer locking the secrets entry. I saw this on a live system. Jeremy. (This used to be commit 660dafcbb2d1029831212a32d995891626a0344c)
2002-09-17Actually use sendfile if selected.Jeremy Allison3-5/+7
Jeremy. (This used to be commit 5881f0a22633ed9fb73e6cd788d0751c4db6cd32)
2002-09-17disable stat cache when case sensitiveAndrew Tridgell1-1/+1
(This used to be commit 3401c3616b3dcb99053f89d88f8e351c986c9096)
2002-09-17Attempt to make broken Linux sendfile work.... Still in progress.Jeremy Allison1-1/+1
Jeremy. (This used to be commit f956a4d29d0d88cd92fac0f0c9f636fc152afe0a)
2002-09-14Added fix for broken Linux (no sendfile64). When offset + count > 2GBJeremy Allison1-0/+7
then return ENOSYS and let the upper layer handle it. Jeremy (This used to be commit 872dfd87cda585c33c3823b06580cb301567a9b9)
2002-09-12Fixed up FreeBSD sendfile code - only Solaris left then I can add theJeremy Allison1-1/+1
configure tests... Jeremy. (This used to be commit 9dad88e1d4d09f61da87dab2633c6e989a9dd77f)
2002-09-12First cut at portable sendfile code. Only used in readX at the momentJeremy Allison2-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. (This used to be commit fd772ca7b16cd86e0d50c7ed8d537c202976a6d2)
2002-09-11Formatting tidyups before I look at implementing the sendfile in READX.Jeremy Allison1-194/+185
Jeremy. (This used to be commit 640f061ab2c0fa772c0b181a5492aaf94b21fd3e)
2002-09-11Ensure we've failed a lock with a lock denied message before automaticallyJeremy Allison1-3/+3
pushing it onto the blocking queue. Jeremy. (This used to be commit 237e36124cedf0485deaff81f34688fa862c3317)
2002-09-11Fix missing braces around push lock call.Jeremy Allison1-2/+3
Jeremy. (This used to be commit c93b40f43d5f5027f26c9b6bb906011a9075db2d)
2002-09-10Added final Steve French patch for "required" attributes with oldJeremy Allison2-5/+24
dir listings. Added regression test in smbtorture (in HEAD) also. Jeremy. (This used to be commit 3c9d24d7c3bad2beb641880a97f0eda5cd3e4ec7)
2002-09-09Merged Steve French's fix for OS/2 EA return error being removed.Jeremy Allison1-1/+3
Jeremy. (This used to be commit af2168c0344d49041b1fe78cd5219ac50308deb3)
2002-09-09Patch from Steve French to fix difference in responses toJeremy Allison1-1/+5
smbclient //server/share ls / on Samba and Windows 2000. Jeremy. (This used to be commit b3fe55838d23001f634f6a75f08330718353d3ad)
2002-09-06This is the 'easy' parts of the trusted domains patch n+3 patch fromAndrew Bartlett1-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 (This used to be commit d1e1fc3e4bf72717b3593685f0ea5750d676952a)
2002-09-06patch from metze: add a 'vfs' debug classAndrew Bartlett2-0/+8
(This used to be commit 601b56e04fddd9ddfb9be5b0a625d6d279df7f4c)
2002-09-06Revert accidental commit - I'll need to do a fair bit more testing before IAndrew Bartlett1-3/+0
commit changes to NTLMSSP flags. (This used to be commit d200770796d871b3994a06fab45624068fdc5682)
2002-09-06Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de>Andrew Bartlett1-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 (This used to be commit 5b9a7ab901bc311f3ad08462a8a68d133c34a8b4)
2002-09-06Oops...Andrew Bartlett1-1/+1
(This used to be commit 9a6f932da1c85a331a8427f055b5fa798dbda89b)
2002-09-06One less user of Get_Pwnam_modify()...Andrew Bartlett1-2/+4
Andrew Bartlett (This used to be commit 06b8a6fef466e006724bc49165fe936cf8fcfbfa)
2002-09-05We shouldn't add printing flag here.Jeremy Allison1-1/+1
Jeremy. (This used to be commit f00102ba77d752bdf714fa83ac7fdc679e8d7f17)
2002-09-05Send any queued up print notify messages in exit_server() so theyTim Potter1-0/+2
don't get lost if the client exits before timeout_processing() has a chance to run. (This used to be commit d7dde74aae64e9e142b80b7e3ba1bd69cec149b0)
2002-09-04Merge of (apparently working :-) new printing notify code.Jeremy Allison2-16/+65
Jeremy. (This used to be commit 8595c6ce4d74539089b600b3b0ff858a04b793ff)
2002-09-04Add bcast_msg_flags to connection struct. Allows sender to filter whenJeremy Allison4-9/+10
sending broadcast messages. Also initial cut-down of printing notify messages (not yet finished). Jeremy. (This used to be commit aca333719695b278843c59e1c6eb07d6655fd59c)
2002-09-03Ensure we open UNIX fifo's non-blocking like we used to do.Jeremy Allison1-0/+11
Jeremy. (This used to be commit 53f411df10f1e152d8d596cd24a2f66af9eb6e51)
2002-08-31Convert M_DEBUG(0 to M_DEBUG(10 for non-error cases ...Richard Sharpe1-8/+8
(This used to be commit d5c10e7dc76216db793319f9beb99dd12441e76b)
2002-08-31Add a bit of 'const' and move a lot of our 'repeditive' DEBUG() statements toAndrew Bartlett1-2/+0
'DEBUGADD', so we don't repeat headers. (Makes them much easier to read). (Based on patch by kai) Andrew Bartlett (This used to be commit 9deada345c5f89f338530c4de62835cc1eeb3d0e)
2002-08-30Fix bug with stat mode open being done on read-only open withJeremy Allison1-8/+10
truncate. Jeremy. (This used to be commit 18b9cbd857177a911ef95c9322bdf0709161cd84)
2002-08-30Correctly fail opens with mismatching SYSTEM or HIDDEN attributes if weJeremy Allison1-0/+36
are mapping system or hidden. Jeremy. (This used to be commit bd1e3df9ffa0717f26696a222e5ec6a0198b3352)
2002-08-28Return correct FILE_SUPERSEDED response - IFSTEST strikes again...Jeremy Allison1-2/+8
Jeremy. (This used to be commit df3e467eb7cce059782870bfec222293577c4f69)
2002-08-28fix file_is_special test, was wrong.Simo Sorce1-2/+10
(This used to be commit 850d6573aedea6499b2f2fe9d1426083aebd9fd1)
2002-08-28Move -4 to correct side of comparison.Jeremy Allison1-2/+2
Jeremy. (This used to be commit d825026658b59364f9adc425bca4017be8e979e2)
2002-08-27Ensure we have at least smb_size bytes before processing a packet.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 0385f7d7efed48fc8121fc0fbb433e9ca0954094)
2002-08-26Correct fix for nc problem.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 1f81b177182aee7fe24e50ae3cd72d417e81b45a)
2002-08-26Reformatting only before real change.Jeremy Allison1-131/+124
Jeremy. (This used to be commit ac21f280d5030a9c49330be37bd754a1540a238a)
2002-08-26Reverted and tidied up the "special" files patch. Adds "hide special files"Jeremy Allison1-56/+84
option (set to false by default). Made checking for hide unreadable/writable more efficient (less stat calls, less allocating printf calls). Jeremy. (This used to be commit 15ff5a48f94fdc6ed61fb10f063c4fbf8bb5bb2d)
2002-08-26Updates!Andrew Bartlett2-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 (This used to be commit de1964f7fa855022258a84556b266100b917444b)
2002-08-24do not expose special files, only files, directories and links (and weSimo Sorce1-51/+49
should really check if a link points to a special file and deny access imho), expose no fifo, socket, devices ... (This used to be commit 59954113348cfb2061fa6bd7dfe7545f614e2891)
2002-08-23Merged initial allocation code for IFSTEST fix.Jeremy Allison2-24/+63
Jeremy. (This used to be commit 095e2bf9469a4c26814fb049f2870983c090ed81)
2002-08-22move where got_sig_term and reload_after_sighup are defined.Herb Lewis2-6/+4
populate cli structure with called name and calling name even for port 445 connects. (This used to be commit 123eee6206d9afb28c169540dc63824957b505f4)
2002-08-22made the CAP_UNIX test a bit cleanerAndrew Tridgell1-1/+5
(This used to be commit 8c8b0dd381f357bdd204fd6b5d50b78765e93090)
2002-08-22reload_after_sighup and got_sig_term are defined in server.cHerb Lewis1-2/+2
(This used to be commit 667e2fe32f111ce840fe3be028c61497d54d6b3d)
2002-08-22Remember to check for UNIX extensions before saying we support them.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 2c7ad907eb5e1838b6430940cb5289489fad4bb0)
2002-08-22We were returning incorrect flags in smb_action....Jeremy Allison1-6/+9
IFSTEST strikes again :-). Jeremy. (This used to be commit 4e0a2564302bdb18087e395576208fa0f0c5c32e)
2002-08-22Ensure we don't change to a user that we can't get an NT_TOKEN for.Andrew Bartlett1-0/+4
(This used to be commit 9416289b571b1c838239e5342bb6148041ab681b)
2002-08-22Fixed IFSTEST errors with OpenParams... more to go.Jeremy Allison1-9/+9
Jeremy. (This used to be commit 31a0c4ac33e89be4a27ff697dd3850fe6578e75f)
2002-08-21Fix longstanding bug in Win2k clients by clearing the shortnameJeremy Allison1-0/+5
buffer before returning ascii short name. Jeremy. (This used to be commit d01bbd42ff043d9fb0dc40dc4e207da8df0c9c14)
2002-08-20IFSTEST fixes for open fid, nametoolong.Jeremy Allison1-0/+15
Jeremy. (This used to be commit e53a81261ed189881c0f07e1b46f97aa6770cab7)
2002-08-20Based orginally by work by Kai, this patch moves our NT_TOKEN generation intoAndrew Bartlett5-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 (This used to be commit d8122cee059fc7098bfa7e42e638a9958b3ac902)
2002-08-19Added comment about our implementation of the trans2Tim Potter1-1/+6
SMB_FILE_INTERNAL_INFORMATION possibly causing the failure of one of the IFSKIT tests. (This used to be commit ca73d24307fcf60e4b7bfe574287b2a84c5d86c8)