summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-03-15Fix signed/unsigned issues - mostly 'i' counters.Andrew Bartlett7-47/+47
Fix an inconpatible poitner type that caused the IA64 not to build Andrew Bartlett (This used to be commit 37436b0aae108fceace3049d3868510e1ba592ac)
2003-03-15signed/unsigned fixAndrew Bartlett1-2/+2
(This used to be commit f6bcfa59447700e0ccfc069d0228019a9bdca9d2)
2003-03-15String handling parinoia fixes.Andrew Bartlett12-166/+236
This patch enables the compile-time checking of strings assable by means of sizeof(). (Original code had the configure check reversed). This is extended to all safe_strcpy() users, push_string and pull_string, as well as the cli and srv derivitives. There is an attempt to cap strings at the end of the cli buffer, and clobber_region() of the speified length (when not -1 :-). Becouse of the way they are declared, the 'overmalloc a string' users of safe_strcpy() have been changed to use overmalloc_safe_strcpy() (which skips some of the checks). This whole ball of mud worked fine, until I pulled out my 'fix' for our statcache. When jeremy fixes that, we should be able to get back to testing this stuff. This patch also includes a 'marker' of the last caller to clobber_region (ie, the function that called pstrcpy() that called clobber_region) to assist in debugging problems that may have smashed the stack. This is printed at smb_panic() time. (Original idea and patch by metze). It also removes some unsused functions, and #if 0's some others that are unused but probably should be used in the near future. For now, this patch gives us some confidence on one class of trivial parsing error in our code. Andrew Bartlett (This used to be commit 31f4827acc2a2f00399a5528fc83a0dae5cebaf4)
2003-03-15Fix off-by-one bug in safe_strcpy size paramater.Andrew Bartlett1-1/+1
(This used to be commit 9af30c9aae3623c4db1edca39a91973f0279acb4)
2003-03-15Truncate the machinename manually, so as not to generate level 0 debugs forAndrew Bartlett1-10/+12
an expected situation. Andrew Bartlett (This used to be commit a07fccb7ae169c0b5089e3f7d2c5d6465b2e4686)
2003-03-15specify the size of these buffersAndrew Bartlett1-2/+2
(This used to be commit f6ea572cd57d4e655d387fe225a5d7122d587a9b)
2003-03-15If the server went away, don't segfault by attempting to FD_SET -1.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit 4b1337ee94a19e39a2f4012c4dbc32a2e58cacf5)
2003-03-15Specify buffer sizesAndrew Bartlett1-2/+2
(This used to be commit aa12379b3fd9646199a8ff3f217ec7dfef1942a5)
2003-03-15Be parinoid, malloc an extra SAFETY_MARGIN on the client's inbuf and outbuf.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 2effcae13f9dfbff40b34d32c7fd82118c3fd096)
2003-03-15client-side smbpasswd fixes - use pstrcpy_base to avoid clobber_region bugsAndrew Bartlett1-6/+6
Andrew Bartlett (This used to be commit 7ab6559369b4e6ee3c5269d8cff04e5a39f6b493)
2003-03-15Add const, and a signed/unsigned fix.Andrew Bartlett1-3/+3
(This used to be commit f07a93eaeba20f5704f43c7f02141adc564db136)
2003-03-15If it's an fstring, use fstrcpy().Andrew Bartlett1-8/+8
Andrew Bartlett (This used to be commit bf5e0698eed72d7fc005be08feb36ef82ada716c)
2003-03-15Clean up the VFS module loading logic by making the parameter an P_LIST,Andrew Bartlett2-59/+36
rather than a runtime-parsed string. Andrew Bartlett (This used to be commit 3465cd6cd92c39c018979b5a82acbddca0927623)
2003-03-15Found by my new checking code (yet to be commited):Andrew Bartlett1-1/+1
Allow a service longer than 4 characters in CORE tcon. Andrew Bartlett (This used to be commit b56613c1cc13ebd5c9ba11a35d2f96c4c3eb0628)
2003-03-15strictly, you can't #if on somthing that may or may not be defined.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 49bae0227323e811cb71ada24928d24f7dc56d1f)
2003-03-15Now that mimir has done the grunt work, I'll fix up the commentAndrew Bartlett1-4/+1
(This used to be commit 7154fe10969a34b97ddc8321bfb5271b8e6d4795)
2003-03-14fix WinXP & Win2K3 remote_arch and check pointer in ntlmssp code before ↵Gerald Carter3-19/+37
dereferencing (This used to be commit 2487480228b99183cab9e34ab497997e0c144ed6)
2003-03-14We haven't implemented The Singing Contexts so far.Rafal Szczesniak1-1/+1
Who knows what .NET server brings, though ...? ;-) Rafal (This used to be commit d81b0d26903004be6a99ac029dd531fd18947268)
2003-03-14Extending code to work both in case of domain membershipRafal Szczesniak1-1/+1
and domain controller respecting interdomain trust relationships. In the latter case we need to find DC of remote domain instead of ours. In the former 'domain' is our domain name. Rafal (This used to be commit 0cd45d5d3b3e3ec5a589c3ee9f0e369901eefe8f)
2003-03-14Fresh meat in trusted domains code:Rafal Szczesniak4-59/+201
- packing/unpacking utility functions for trusted domain password struct; can be used to prepare buffer to store in secrets.tdb or (soon) passdb backend - similiar functions for DOM_SID - respectively modified secrets_(fetch|store) routines - new auth mapping code utilising introduced is_trusted_domain function - added tdb (un)packing of single bytes Rafal (This used to be commit 5281ee7e84421b9be746aed2f1718ceaf2a2fe3d)
2003-03-14/tmp/newfun.msgRafal Szczesniak2-5/+63
(This used to be commit 3f4cb7b2c4d9b54b41bcc184ccfd00032e2b021b)
2003-03-14Found by metze with the clobber-region check - if it's a pstring, use pstrcpy().Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit f9c3c93f55cac774e576fd5975c0582e0b334d6a)
2003-03-14Add examples of ComfyChairMartin Pool1-0/+33
(This used to be commit dfee0a6ad5d203df04df8a54da87ff5e493a33ca)
2003-03-14Merge from SubversionMartin Pool1-2/+2
* Better report formatting (This used to be commit e7eafa10da828b4dc46a05a99164eb8ac37563df)
2003-03-13Merge cifsntdomain.sgml fixes from 3.0 branchAlexander Bokovoy1-26/+35
(This used to be commit fb85311941967fa1080b84103a01d16b4fd33926)
2003-03-13Add bin/libbigballofmud.a non-shared library. A bit easier to link toMartin Pool1-0/+4
for testing than the .so. (http://www.laputan.org/mud/mud.html) (This used to be commit 386087d77f836b8133afc977c9c3e8e7845125dc)
2003-03-13In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,Martin Pool1-3/+7
etc. So check for that as well as the old names when including macros and conditionally defining -DVALGRIND. (This used to be commit c9151c7b1113e2f01bd33d4dd301a2e7e2040b35)
2003-03-13In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,Martin Pool1-1/+4
etc. So check for that as well as the old names. (This used to be commit 1ffa4d75b75979b8abb409634212ce43a0826467)
2003-03-13Added chainlock, chainunlock, lock_bystring and unlock_bystring methods.Tim Potter1-1/+81
(This used to be commit cd5c47f47379a8c4021771ec28a9da0085f80d98)
2003-03-13Fixed crash bug when calling tdb_unlockkeys() with no locked keys.Tim Potter1-0/+2
woot! (This used to be commit eb432700c0010e536be3a0703f152c533357b851)
2003-03-13show which files we fail to create in the casetable testAndrew Tridgell1-2/+5
(This used to be commit d40e3747cfa2994349aa84568f7b79457341a058)
2003-03-13fixed the unmarshalling of the queryaliasmem SAMR callAndrew Tridgell1-2/+6
(This used to be commit 80c45434092a881fe2c9ae7f90856deea4722cb0)
2003-03-13win2000 can take much longer than the specified time to respond to aAndrew Tridgell1-1/+1
lock - so to make the torture tests valid I give it a grace time of 10 seconds instead of 2 (This used to be commit c9c9e9eb26ec3042395637d14a6661d04a629ccc)
2003-03-12Change size parameters from signed to unsigned to fix up warnings.Jeremy Allison5-96/+191
Jeremy. (This used to be commit 2e9880ef7c259b67eb75edc8098b734c3b7b22c1)
2003-03-12fixed a strcat noticed by metzeAndrew Tridgell1-1/+1
(This used to be commit db3ad0dbe0bca729f98ca5d5a698388fe086daf2)
2003-03-12Ensure we count the length correctly in mangle_map.Jeremy Allison1-6/+15
Jeremy. (This used to be commit 596705198c555568da208f59008ab87c5164bfb4)
2003-03-12adding some initiaial code to sert %a to Win2K3 (using Native LanMan string ↵Gerald Carter3-1/+6
from .NET RC2) (This used to be commit 4c823e61d14a33344deb887043b60b2e3c83416f)
2003-03-12Add constAndrew Bartlett1-2/+2
(This used to be commit 147a0c8b13d20e06c557fb817a36fddf9a920d65)
2003-03-12 - Fix a double-free (I can't say I understand the code, but it matches the ↵Andrew Bartlett1-6/+5
other cases and keeps valgrind quiet). - Add static Andrew Bartlett (This used to be commit e9da9c500b96a828d744e7a1c64427fc01153310)
2003-03-12Patch from Ken Cross <kcross@nssolutions.com> to take a username in the formAndrew Bartlett1-0/+11
of user@realm for kerberos logins. Andrew Bartlett (This used to be commit ce013dc13e9e77b5cb9b2d5a4b76d54f91614e6c)
2003-03-12Update for new version of ComfyChair: some methods are renamed to beMartin Pool1-9/+14
more consistent, and it now looks at command-line arguments to work out what to do. Run this program to get a quick demonstration of what ComfyChair does. (This used to be commit 9b0c59a10707b2bbe3837d718e5030a6cdf19bfa)
2003-03-12New import of ComfyChair, many changesMartin Pool1-75/+139
(This used to be commit e84046e769a518fa1970827f4dcb8284ba9b9952)
2003-03-12Import Samba Testing Framework code from private CVS module.Martin Pool4-0/+472
(This used to be commit 0effe832a48f0c51d50675558cc2744e815d68c7)
2003-03-12Import design notes by martin and tpot from ComfyChair and stf modules.Martin Pool1-0/+175
(This used to be commit f923729ca37c18fd58943015a530607c05e96659)
2003-03-12Import ComfyChair framework from trunk.Martin Pool1-0/+266
(This used to be commit a7fb1fcc72ffe3cc2aa9c5abfcbd8197e7610167)
2003-03-12Start importing the Python testing framework that Tim and I have beenMartin Pool1-0/+3
working on into the main Samba tree. (This used to be commit f3b77aae13df2559a81db6453d04e0fe8004cd52)
2003-03-12Update usage message.Martin Pool1-1/+2
(This used to be commit 17f01f6959fb79ba11a56d6869ec9789e3ee2f74)
2003-03-12Add example of string overflow which is now caught in developer mode.Martin Pool1-0/+16
(This used to be commit dcf1705782f5d589120624c90b695b81a0332e6b)
2003-03-11We use unsigned now, so use %u.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 01727b0296ee407e49444b9d9c4e7993892cb537)
2003-03-11Fix up zero termination. Spotted by Sebastian Krahmer <krahmer@suse.de>.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 69becdb563b2620513931811a6695481bebcceed)