summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
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)
2002-08-19IFS kit test - don't allow TEMP attribute on directory open.Jeremy Allison1-0/+12
Jeremy. (This used to be commit 81eacd926bd1f7054522351e1bd24a2192dcbbc1)
2002-08-18round lock timeouts in lockingX upwards to multiples of 1 second, so aAndrew Tridgell1-1/+1
half second timout rounds to 1 not 0 (This used to be commit 282a64b085162a58560175d14e7ceaef3d6cc9cc)
2002-08-18added exact timing semantics on blocking locksAndrew Tridgell2-12/+27
(This used to be commit aed32eb412cab7f6d0959f9faaaebdb320b2b6a8)
2002-08-18A new utility to test VFS system and modulesSimo Sorce1-1/+1
Just now it is acommandline tool like smbclient and rpcclient that is able to perform operations on the file system passing through the vfs layer It is not complete yet, some functions have simply faked up data, but module loading works yet and basic operations too. Thanks to Eric Lorimer for helping out with the initial setup. Simo. (This used to be commit 42ae5eb82657d4905bdaf247286f95599380afbb)
2002-08-17get the error code right in case of a blocking lock timeout.Andrew Tridgell1-1/+1
(This used to be commit 01d35694ae0497ee11a7677eecc597336e6b59ca)
2002-08-17amazing! we've had a reversed comparison in our blocking lock codeAndrew Tridgell1-1/+1
since 1998 and nobody noticed. It means that sometimes smbd would sit there forever, and smbd would never get the timing part of blocking locks right. (This used to be commit 5d4df58b6d4de548d8aa0a49ec307dce7cd1515a)
2002-08-17Change which session key we negotiate. This uses the NT-based session key thatAndrew Bartlett1-1/+1
we previously expected, rather than the LM based key. A Win2k SPNEGO enabled join goes a *lot* further with this option on. Andrew Bartlett (This used to be commit b224938e4e843288630cdc7c3c3931b241bd0e1a)
2002-08-17Add const.Andrew Bartlett1-1/+1
(This used to be commit fb28abd120310a591bdf5fa1afc5521443c3d34c)