summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
AgeCommit message (Collapse)AuthorFilesLines
2003-10-29Fixes to check for wraps which could cause coredumps.Jeremy Allison1-4/+6
Jeremy. (This used to be commit ad06edd1bb58cc5e2c38a364b1af96a933b770af)
2003-10-16Fix buggy data_len calculation in echo. Add paranoia debug message.Jeremy Allison1-1/+5
Jeremy. (This used to be commit 5332af1124077f49e84836f5cedfbde98336b142)
2003-10-10Make us pass Samba4 lock tester (with one different error message).Jeremy Allison1-0/+3
Jeremy. (This used to be commit 7622a9dbbded8d07f976ec965adca5e92de3d2b0)
2003-10-09Match W2K insanty w.r.t. writelock and writeclose. Samba4 torture tester.Jeremy Allison1-9/+20
Jeremy. (This used to be commit c682fae16a2fa18f951c69ba29b1a576f4e27d6b)
2003-10-09At least give a message if we're returning a short read for W2K compatibility.Jeremy Allison1-2/+12
Jeremy. (This used to be commit 84c993d9cd0bc57a8b8b9aa716af1336620e2c87)
2003-10-09Changes to allow Samba3 to pass the Samba4 RAW-READ tests.Jeremy Allison1-8/+39
Jeremy. (This used to be commit e7565dbba696adbb0fd8cca6b86a1a7e5a655f2e)
2003-10-08Fixup error code returns from Samba4 tester. Ensure invalid paths areJeremy Allison1-32/+128
validated the same way. Jeremy. (This used to be commit 6ad2f0ba27566ab3928ccbbbb3c3a64b09ca139c)
2003-09-29Take care of condition where DOS and NT error codes must differ. Found byJeremy Allison1-1/+1
DOS program test by Amir Hardon <hardon@actcom.co.il>. Jeremy. (This used to be commit c11a7e5846002b16d0cb2991b5a7df0636b070d5)
2003-09-08Protect against core dump if ioctl for print job sends invalid fid. FoundJeremy Allison1-1/+5
by Iskantharajah T <is@tracetec.com.my>. Jeremy. (This used to be commit a9f9dd71da41801c975303a385ff229788c9498a)
2003-08-19Implement SMBexit properly. Found by Samba4 tester. You must do a makeJeremy Allison1-0/+3
clean proto all; after this commit. Jeremy. (This used to be commit 27af1f9feab12542dc538bfceac4593e644ba3b4)
2003-08-19Fix flush of 0xFFFF - found by Samba4 tester.Jeremy Allison1-2/+4
Jeremy. (This used to be commit 8a5c97fa07eacd4cecb5afd9c197352dfa613b9f)
2003-08-19Don't return DOS error on SMBsearch return if using NT error codes (NT1Jeremy Allison1-8/+10
protocol level). Fix for Samba4 tester. Jeremy. (This used to be commit 74486ab9efbb555f830b0e5d1c88f7bf065ae039)
2003-08-16Implemented the level 1010 NT rename level. Many fixes for Samba4 testJeremy Allison1-18/+152
correctness. Jeremy. (This used to be commit f57429befa43d63ed9a6e19b854e22fd4151db40)
2003-08-14Fix changing of attributes via setattr. Samba4 test fixes.Jeremy Allison1-6/+11
Jeremy. (This used to be commit 97e1d5c9573513c9c9be9a709341bda54fbe44be)
2003-08-14Fix SMBseek and get/set position information SMBs. Works againstJeremy Allison1-24/+9
Samba4 tester. You will need a make clean; make all after this ! Jeremy. (This used to be commit 10d90171ed58bee3e5ab6476341059b585034134)
2003-08-13Better path checking for chkpth. We now pass Samba4 chkpath and unlink.Jeremy Allison1-4/+25
Jeremy. (This used to be commit 00a57b0953c40a0ad6780eae84b4c558e21dbcfd)
2003-08-13More chkpth fixes from Samba4 tests.Jeremy Allison1-2/+15
Jeremy. (This used to be commit a62cf6bf16e2f435f504e936c31992f5697a309a)
2003-08-13Ensure we pass the Samba4 unlink test !Jeremy Allison1-1/+9
Jeremy. (This used to be commit 73aaf8094c2fed76b6650afbd8ff4f050f5e52d2)
2003-08-12Fix another error code return against Samba4 test suite... Don't allowJeremy Allison1-0/+4
a path above root. Jeremy. (This used to be commit 9bc0e4fe04c4134add428c889d316bd5ee4fb6e9)
2003-08-12Test invalid map system, map hidden, create mask, force create maskJeremy Allison1-1/+1
parameters. Fix return code for Samba 4 torture tester. Jeremy. (This used to be commit c043835c878ff062cb6eede02334f9e0ebb01050)
2003-07-29Fix bug #226. Stop unmangle of name into a wildcard name from deleting moreJeremy Allison1-9/+20
than was intended. Jeremy. (This used to be commit e2742e0d897a35820a7d8f184292c32a4c3952e3)
2003-07-27Try again to fix up 'session request' name exchange. This time we actualyAndrew Bartlett1-11/+4
get the names... Andrew Bartlett (This used to be commit 7c9e204f7eb15139532f2cc522ed87d0ac34d118)
2003-07-18make sure we don't allow the creation of directories containingAndrew Tridgell1-1/+5
wildcard characters. I've only put this in mkdir at the moment, but I suspect this will apply to all places that can create new filenames. We need to allow the opening of existing filenames that contain wildcards, but not allow the creation of new ones. (This used to be commit 2fd5569938b8970f3e9d761eecad5bc0b8bb267e)
2003-07-18Signing so far... the client code fails on a SMBtrans2 secondary transactionJeremy Allison1-2/+2
I think (my changes haven't affected this I believe). Initial support on the server side for smbclient. Still doesn't work for w2k clients I think... Work in progress..... (don't change). Jeremy. (This used to be commit e5714edc233424c2f74edb6d658f32f8e0ec9275)
2003-07-17Don't allow read/write raw when signing is active.Jeremy Allison1-0/+8
Jeremy. (This used to be commit 8d2a848052df03dad7bfeb5e7be96f8e9a509bbf)
2003-06-13Fix an spelling mistake.Richard Sharpe1-1/+1
(This used to be commit 8e37c1d579ed801fd602d698174f981deff435d9)
2003-06-06SMBlockingX timeouts are in units of 2 milliseconds, not 1Andrew Tridgell1-1/+1
(This used to be commit 999cde3227210c90132ade3812e964087f04e541)
2003-06-06make the allocation_size consistent between trans2 QFILEINFO and SMBgetattrEAndrew Tridgell1-1/+2
(This used to be commit 59f1a5e6fd783b977f787dae4ba4bb8b65c41e43)
2003-05-14Prefix VFS API macros with SMB_ for consistency and to avoid problems with ↵Alexander Bokovoy1-27/+27
VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out (This used to be commit c2689ed118b490e49497a76ed6a2251262018769)
2003-05-11Fix VFS layer:Alexander Bokovoy1-28/+28
1. Finally work with cascaded modules with private data storage per module 2. Convert VFS API to macro calls to simplify cascading 3. Add quota support to VFS layer (prepare to NT quota support) Patch by Stefan (metze) Metzemacher, with review of Jelmer and me Tested in past few weeks. Documentation to new VFS API for third-party developers to follow (This used to be commit 91984ef5caa2d13c5d52e1f535bd3bbbae1ec978)
2003-04-23Merge the 'safe' parts of my StrnCpy patch - many of the users really wantedAndrew Bartlett1-1/+1
a pstrcpy/fstrcpy or at most a safe_strcpy(). These have the advantage of being compiler-verifiable. Get these out of the way, along with a rewrite of 'get_short_archi' in the spoolss client and server. (This pushes around const string pointers, rather than copied strings). Andrew Bartlett (This used to be commit 32fb801ddc035e8971e9911ed4b6e51892e9d1cc)
2003-04-23Make the variable name match the comment.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 5a577f8cafa7375bd8485763f163de939ddc4a39)
2003-04-13Merge of Simo's strncat -> StrnCpy fix.Tim Potter1-4/+3
(This used to be commit a2b1a7533ed997848f9dc0fcd1ffc3d4b4e8117d)
2003-04-11* We must return 0x2 as the majorversion for nt4 to upload driversGerald Carter1-10/+15
* fix bug found by clobber_region() (This used to be commit b2e29c7bd45f8f33d9ed58fe75bbf5ffc78350f5)
2003-04-11cleanup lanman printing= for win98; device type is LPT1:; patch by Steve L.Gerald Carter1-1/+1
(This used to be commit 36d62e5667f3b9e39362fb3907bf69697fca3ea6)
2003-04-09Ensure we have WinXP-like semantics for checking TIDs and FIDs.Jeremy Allison1-1/+3
Jeremy. (This used to be commit 52e44dde4ef9717eae7cf454f56d309fdd4b7d1f)
2003-03-27cleanup the IPC/LPT:/A: mess I startedGerald Carter1-16/+19
(This used to be commit e6034a03d543d8672303f2b24982cfc03b124391)
2003-03-26Fix DOS del command with widelinks = False.Jeremy Allison1-1/+2
Jeremy. (This used to be commit ef1782121bc4ebcdd2731fd6863209352f815dbe)
2003-03-25win9x was suffered a case of the blues during a domain logon.Gerald Carter1-1/+10
For some reason, explicitly setting the service type during the tcon&X fixes this. (This used to be commit 4dd81caeff96d2b7f08b4846a524f917a85407a4)
2003-03-20Merge from HEADVolker Lendecke1-1/+1
(This used to be commit d59a7bea6b22a4c3e6cacd1a4c5ee95f42b13a26)
2003-03-18Jeremy merged across my string parinoia fixes, but forgot to enable them! :-)Andrew Bartlett1-1/+1
This patch catches up on the rest of the work - as much string checking as is possible is done at compile time, and the rest at runtime. Lots of code converted to pstrcpy() etc, and other code reworked to correctly call sizeof(). Andrew Bartlett (This used to be commit c5b604e2ee67d74241ae2fa07ae904647d35a2be)
2003-03-18Add an extra parameter to our 'set_remote_machine_name' andAndrew Bartlett1-2/+2
'set_local_machine_name' so that the client can't change it from under us. (.NET RC2 and WinXP install calls the machine 'machinename' during NTLMSSP on the domain join). Andrew Bartlett (This used to be commit 4c7163e7c2cc09bd95faa05156ee480957a7a4d8)
2003-03-17Merge from HEAD:Andrew Bartlett1-5/+5
- Make ReadDirName return a const char*. - Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett (This used to be commit 10b53d7c6fd77f23433dd2ef12bb14b227147a48)
2003-02-27Fix to allow blocking lock notification to be done rapidly (no waitJeremy Allison1-3/+4
for smb -> smb lock release). Adds new PENDING_LOCK type to lockdb (does not interfere with existing locks). Jeremy. (This used to be commit 766928bbba1e597c9c2b12458dd8d37e6080593e)
2003-01-14Merge from HEAD:Andrew Bartlett1-1/+1
- fstring/pstring mixups - the detection code that found them (disabled) - a bit of whitespace - a static Andrew Bartlett (This used to be commit 9b70fa868e7d9481f584c83fc4046174e1dedfd9)
2003-01-08Ensure we return disk full by default on short writes.Jeremy Allison1-6/+6
Jeremy. (This used to be commit 2a974bc284b9d193c24972d073b966eb9b3b3ad0)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett1-1/+1
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2002-12-31from HEAD:Simo Sorce1-1/+1
fix for bad check spotted by Ray Simard <ray@sylvan-glade.com> (This used to be commit bcc633c4097661447731bda24a38be62c69bbed5)
2002-12-13Fix for old DOS client when veto files is set to /.*/Jeremy Allison1-1/+1
Jeremy. (This used to be commit 8e9f3b1574cd51d6b9880d9c8a676e695cd86062)
2002-12-05The element in fsp->print_job should be a RAP jobid, not a uint32 RPCJeremy Allison1-2/+1
jobid. This was causing Win9x client "set name" calls to fail. Still need one cleanup fix to finish. Jeremy. (This used to be commit 6c23d2030ab8dddff4c849903c529f0012b94027)