summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* | One more on set_local_machine_name() taking a new 'perm' argument.Andrew Bartlett2003-03-181-1/+1
| | | | | | | | (This used to be commit 29d909b184e0044f728091f3215eeb58bbeff437)
* | Fix segfault on FD_SET() when we have an fd of -1Andrew Bartlett2003-03-181-0/+3
| | | | | | | | | | Andrew Bartlett (This used to be commit 92bd0f69df4eef612b73da00e45d244f5236afa2)
* | Merge whitespace to match HEAD.Andrew Bartlett2003-03-181-17/+17
| | | | | | | | (This used to be commit 454fb434195b8d46cbcbaee6a200070e5bcd7364)
* | Add an extra parameter to our 'set_remote_machine_name' andAndrew Bartlett2003-03-187-10/+37
| | | | | | | | | | | | | | | | | | | | '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)
* | Add const.Andrew Bartlett2003-03-181-1/+1
| | | | | | | | (This used to be commit ed245023016779700571d108e7b9339236bcbe7c)
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2003-03-1815-0/+2058
|\| | | | | | | used to be commit f0d009c3e91979b0dc3443e16f3f545bcc64cfda)
| * Split "clobber" function and variables into its own file before itMartin Pool2003-03-183-40/+61
| | | | | | | | | | grows too much larger. (This used to be commit 4bbddbfc6a97ebb11e299aa7bd07ebebeab42c65)
| * Ignore t_stringoverflow binary.Martin Pool2003-03-181-1/+2
| | | | | | | | (This used to be commit 195582c4cb7906ab95e47f5a2aea4ae86a7ab023)
| * Ignore .po and .po32 files.Martin Pool2003-03-181-0/+3
| | | | | | | | (This used to be commit 8d64419625dda242fdb7a5d956644b052b43a2ea)
| * Comment about deprecated macro overmalloc_safe_strcpy().Martin Pool2003-03-181-0/+6
| | | | | | | | (This used to be commit 5ac062580690eee9b4bd423dbb82631c0cdb8b30)
| * Remove static libbigballofmud, which just does not seem to link.Martin Pool2003-03-181-3/+7
| | | | | | | | | | Add bin/t_stringoverflow test case. Not built by default. (This used to be commit 7741bb8d18e7ba16522c00513174f2909d75535d)
| * The new string macros catch a bug at compile that previously onlyMartin Pool2003-03-181-0/+7
| | | | | | | | | | | | | | trapped at runtime, which is great. So we have to try a little harder to provoke an overflow -- which is still caught nicely in developer mode. (This used to be commit cea126f62ad411f5efbebc7c5d39297fd8ef9efb)
| * Update comment: Valgrind 1.9.4 seems to always respect clientMartin Pool2003-03-181-1/+1
| | | | | | | | | | requests, without needing --client-perms=yes. (This used to be commit 412a8780c35ee9449c9682e3ef73afb2c4933285)
| * Speling fixes and a little extra documentation.Martin Pool2003-03-181-6/+6
| | | | | | | | (This used to be commit 8da383bb3e63d25ceb0204c775580f2f1b3336ec)
| * global_globber_region_function/line ought to be recorded beforeMartin Pool2003-03-181-3/+15
| | | | | | | | | | | | | | | | | | | | | | clobbering the region, just in case clobbering causes us to crash immediately. (That might happen if we just shot ourselves in the stack and strcpy was not inlined.) Also, in DEVELOPER mode and when Valgrind is available, mark the clobbered region as uninitialized. This is an even stronger protection than clobbering with 0xf1. (This used to be commit 5653a42ae695f4b8f4c14d3184ca76523d38b51b)
| * Decode waitstatus values when a command fails.Martin Pool2003-03-181-2/+5
| | | | | | | | (This used to be commit e1baab1ee04b27447445351d0d88b0c02a5fa85d)
| * Added #ifdef'ed out implementation of auth_smbd python fn. UncommentTim Potter2003-03-181-1/+71
| | | | | | | | | | when auth_smbd functionality merged to HEAD. (This used to be commit 2b6d13672dc1e4a46fc2600e729c22d0ee7e534b)
| * Start of a unit test for info3 caching. Much unfrastructure requiredTim Potter2003-03-181-0/+54
| | | | | | | | | | before this can be fully implemented. )-: (This used to be commit a040a8471f884cb295100f841594d86ddf754bb6)
| * Add copyright.Andrew Bartlett2003-03-171-1/+1
| | | | | | | | (This used to be commit a7f9c3657ff052e382e290059f50f1d9812b8221)
| * Fix memory leak.Volker Lendecke2003-03-171-0/+2
| | | | | | | | | | Volker (This used to be commit e8975d6e7bdcceb78a83a3446cf1430e1e3f1a72)
| * Fix invalid SAFE_FREE() of talloc()ed memory.Andrew Bartlett2003-03-171-3/+0
| | | | | | | | | | Andrew Bartlett (This used to be commit 21add5f97d0d112094e34a02e6319991a1d2af4d)
| * Brain fart - make sure we truncate the right string...Andrew Bartlett2003-03-171-4/+4
| | | | | | | | | | Andrew Bartlett (This used to be commit 32eb2cdca62a784d96207507e273bbbf77b0c6c3)
| * Fix const warnings.Andrew Bartlett2003-03-171-5/+5
| | | | | | | | | | Andrew Bartlett (This used to be commit fc1408d5d1a8b64dfd20268ab6f4a5f2a007614b)
| * Add const.Andrew Bartlett2003-03-172-4/+4
| | | | | | | | (This used to be commit 02f81719c7c179b61663bdf789c01ab62286fea2)
| * More statcache fixes - and add a bit more doco.Andrew Bartlett2003-03-171-9/+25
| | | | | | | | | | Andrew Bartlett (This used to be commit 0e8dd52f6973ac5219e2c2dd53824de71f512083)
| * Applied waider's patch to return DOS error codes for pipes thatTim Potter2003-03-1710-192/+217
| | | | | | | | | | support it. (This used to be commit ac3df9a8051bd105e8e4192d36b3024fdf9f9506)
| * Ignore .pyc files.Tim Potter2003-03-171-0/+1
| | | | | | | | (This used to be commit b20a357ac534b513383ad20046a99bb7f39bba25)
| * Fix a memory leak - 'smbcontrol smbd pool-usage' is your freind!Andrew Bartlett2003-03-171-0/+2
| | | | | | | | | | Andrew Bartlett (This used to be commit a12e8524997e329a4f4cd766d6371e384698795a)
| * Some cosmetic changes to make the popt --usage output look nicer.Tim Potter2003-03-171-5/+5
| | | | | | | | (This used to be commit 39124b9a62e1ba0f8089c36b27d6c79352a27973)
| * Fix memory leaks and add parinoioa code to our stat() cache.Andrew Bartlett2003-03-171-2/+23
| | | | | | | | | | Andrew Bartlett (This used to be commit 3fd07bd25eefdb2a7a6891fa1169ab2425607249)
| * Missed one when I move 'share_sanity_checks' to use an fstring for 'dev'.Andrew Bartlett2003-03-161-1/+1
| | | | | | | | | | Andrew Bartlett (This used to be commit a0208a4f74f9c61eb1e346d9cb62dbe00ef4c24a)
| * Make sure we mark the assumption of a fstring parameter for 'devicetype'Andrew Bartlett2003-03-163-10/+15
| | | | | | | | | | | | | | in the function prototype, and change callers to respect this. Andrew Bartlett (This used to be commit 9f3d3c380120f16d76d68f346799282d61eec892)
| * Add const.Andrew Bartlett2003-03-161-7/+7
| | | | | | | | (This used to be commit 5371720971bc60a4cfba0460614306f322aa10b8)
| * - Make ReadDirName return a const char*.Andrew Bartlett2003-03-167-29/+36
| | | | | | | | | | | | | | | | | | - Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett (This used to be commit fe2bc64bc439b27387b8f326b0f4f3bfcc3d04a1)
| * Try to avoid dereferencing a null pointer.Andrew Bartlett2003-03-161-9/+13
| | | | | | | | | | Andrew Bartlett (This used to be commit 4e96585b60512905776c2c6692c76d45241f089d)
| * New statcache internals - this time it's actually possible to follow what'sAndrew Bartlett2003-03-161-54/+82
| | | | | | | | | | | | | | | | | | going on. In particular, add doxygen documentation. Andrew Bartlett (This used to be commit 7ff77ab46c63eca3b6edf18f39024eadb83a1a90)
| * Fix nmbd under -DDEVELOPER (pstrcpy on not-pstring).Andrew Bartlett2003-03-162-5/+12
| | | | | | | | | | | | | | Make a new macro to help in this situation, and add memcpy() parinoia Andrew Bartlett (This used to be commit 4d00626b6e003952df6715fa80615ec028facdf4)
| * Changes to help the kerberos change password code work on systems thatAndrew Bartlett2003-03-162-37/+38
| | | | | | | | | | | | | | | | | | | | have some of the labels 'duplicated' (ie, the defines double-up). Also, to an ads_connect() to try and find our KDC. (So we don't segfualt *every* time) Andrew Bartlett (This used to be commit 56dce7ddad118051c93c62507234efca3920bc9b)
| * More work on my macro mess - we need function prototypes of different types,Andrew Bartlett2003-03-161-9/+12
| | | | | | | | | | | | | | and we were missing the 'char' type. Andrew Bartlett (This used to be commit 193e80fafbda9e3af58fec1e629ec607f29b4099)
| * A hack to get us building on a slightly older heimdal kerberos. It appearsAndrew Bartlett2003-03-151-0/+7
| | | | | | | | | | | | | | | | that we don't need this flag - heimdal's internal password change routines don't set it. Andrew Bartlett (This used to be commit 069825bd78f2bf125e8a4e72933da924d393f5a5)
| * Fix non-gmake syntax error.Andrew Bartlett2003-03-151-1/+1
| | | | | | | | (This used to be commit 97daece056516e52e56bf5a749676e7c53e087e3)
| * Checkin cifs vfs for Linux mount helperSteve French2003-03-151-43/+211
| | | | | | | | (This used to be commit a55acfd7a296c5ae9b043dc03393a29d87e43a40)
| * Fix the 'non-optomizing compiler' case...Andrew Bartlett2003-03-151-2/+2
| | | | | | | | | | Andrew Bartlett (This used to be commit 94424c5d72246b2e58f3a21aa0de6949d7eb2da1)
| * Fix the non-DEVELOPER case of my macro madness...Andrew Bartlett2003-03-151-1/+1
| | | | | | | | | | Andrew Bartlett (This used to be commit 618bda3a28f65417e3c31a70229f6da70cf223fc)
| * Minor fixes.Andrew Bartlett2003-03-154-8/+8
| | | | | | | | | | | | | | | | | | - signed/unsigned - quieten warning about assignment as truth value - whitespace Andrew Bartlett (This used to be commit a13ce0df4b4a776fa635a1fb804dd00d195f58d0)
| * Remove an unused function and fix the build.Andrew Bartlett2003-03-151-36/+0
| | | | | | | | | | Andrew Bartlett (This used to be commit 67a0319d268dfc0e2154d3ab0f8bf866e3cbb6db)
| * Fix signed/unsigned issues - mostly 'i' counters.Andrew Bartlett2003-03-157-47/+47
| | | | | | | | | | | | | | Fix an inconpatible poitner type that caused the IA64 not to build Andrew Bartlett (This used to be commit 37436b0aae108fceace3049d3868510e1ba592ac)
| * signed/unsigned fixAndrew Bartlett2003-03-151-2/+2
| | | | | | | | (This used to be commit f6bcfa59447700e0ccfc069d0228019a9bdca9d2)
| * String handling parinoia fixes.Andrew Bartlett2003-03-1512-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)
| * Fix off-by-one bug in safe_strcpy size paramater.Andrew Bartlett2003-03-151-1/+1
| | | | | | | | (This used to be commit 9af30c9aae3623c4db1edca39a91973f0279acb4)