Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | More statcache fixes - and add a bit more doco. | Andrew Bartlett | 2003-03-17 | 1 | -9/+25 | |
| | | | | Andrew Bartlett | |||||
* | Applied waider's patch to return DOS error codes for pipes that | Tim Potter | 2003-03-17 | 10 | -192/+217 | |
| | | | | support it. | |||||
* | Ignore .pyc files. | Tim Potter | 2003-03-17 | 1 | -0/+1 | |
| | ||||||
* | Fix a memory leak - 'smbcontrol smbd pool-usage' is your freind! | Andrew Bartlett | 2003-03-17 | 1 | -0/+2 | |
| | | | | Andrew Bartlett | |||||
* | Some cosmetic changes to make the popt --usage output look nicer. | Tim Potter | 2003-03-17 | 1 | -5/+5 | |
| | ||||||
* | Fix memory leaks and add parinoioa code to our stat() cache. | Andrew Bartlett | 2003-03-17 | 1 | -2/+23 | |
| | | | | Andrew Bartlett | |||||
* | Missed one when I move 'share_sanity_checks' to use an fstring for 'dev'. | Andrew Bartlett | 2003-03-16 | 1 | -1/+1 | |
| | | | | Andrew Bartlett | |||||
* | Make sure we mark the assumption of a fstring parameter for 'devicetype' | Andrew Bartlett | 2003-03-16 | 3 | -10/+15 | |
| | | | | | | in the function prototype, and change callers to respect this. Andrew Bartlett | |||||
* | Add const. | Andrew Bartlett | 2003-03-16 | 1 | -7/+7 | |
| | ||||||
* | - Make ReadDirName return a const char*. | Andrew Bartlett | 2003-03-16 | 7 | -29/+36 | |
| | | | | | | | | - Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett | |||||
* | Try to avoid dereferencing a null pointer. | Andrew Bartlett | 2003-03-16 | 1 | -9/+13 | |
| | | | | Andrew Bartlett | |||||
* | New statcache internals - this time it's actually possible to follow what's | Andrew Bartlett | 2003-03-16 | 1 | -54/+82 | |
| | | | | | | | | going on. In particular, add doxygen documentation. Andrew Bartlett | |||||
* | Fix nmbd under -DDEVELOPER (pstrcpy on not-pstring). | Andrew Bartlett | 2003-03-16 | 2 | -5/+12 | |
| | | | | | | Make a new macro to help in this situation, and add memcpy() parinoia Andrew Bartlett | |||||
* | Changes to help the kerberos change password code work on systems that | Andrew Bartlett | 2003-03-16 | 2 | -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 | |||||
* | More work on my macro mess - we need function prototypes of different types, | Andrew Bartlett | 2003-03-16 | 1 | -9/+12 | |
| | | | | | | and we were missing the 'char' type. Andrew Bartlett | |||||
* | A hack to get us building on a slightly older heimdal kerberos. It appears | Andrew Bartlett | 2003-03-15 | 1 | -0/+7 | |
| | | | | | | | that we don't need this flag - heimdal's internal password change routines don't set it. Andrew Bartlett | |||||
* | Fix non-gmake syntax error. | Andrew Bartlett | 2003-03-15 | 1 | -1/+1 | |
| | ||||||
* | Checkin cifs vfs for Linux mount helper | Steve French | 2003-03-15 | 1 | -43/+211 | |
| | ||||||
* | Fix the 'non-optomizing compiler' case... | Andrew Bartlett | 2003-03-15 | 1 | -2/+2 | |
| | | | | Andrew Bartlett | |||||
* | Fix the non-DEVELOPER case of my macro madness... | Andrew Bartlett | 2003-03-15 | 1 | -1/+1 | |
| | | | | Andrew Bartlett | |||||
* | Minor fixes. | Andrew Bartlett | 2003-03-15 | 4 | -8/+8 | |
| | | | | | | | | - signed/unsigned - quieten warning about assignment as truth value - whitespace Andrew Bartlett | |||||
* | Remove an unused function and fix the build. | Andrew Bartlett | 2003-03-15 | 1 | -36/+0 | |
| | | | | Andrew Bartlett | |||||
* | Fix signed/unsigned issues - mostly 'i' counters. | Andrew Bartlett | 2003-03-15 | 7 | -47/+47 | |
| | | | | | | Fix an inconpatible poitner type that caused the IA64 not to build Andrew Bartlett | |||||
* | signed/unsigned fix | Andrew Bartlett | 2003-03-15 | 1 | -2/+2 | |
| | ||||||
* | String handling parinoia fixes. | Andrew Bartlett | 2003-03-15 | 12 | -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 | |||||
* | Fix off-by-one bug in safe_strcpy size paramater. | Andrew Bartlett | 2003-03-15 | 1 | -1/+1 | |
| | ||||||
* | Truncate the machinename manually, so as not to generate level 0 debugs for | Andrew Bartlett | 2003-03-15 | 1 | -10/+12 | |
| | | | | | | an expected situation. Andrew Bartlett | |||||
* | specify the size of these buffers | Andrew Bartlett | 2003-03-15 | 1 | -2/+2 | |
| | ||||||
* | If the server went away, don't segfault by attempting to FD_SET -1. | Andrew Bartlett | 2003-03-15 | 1 | -0/+3 | |
| | | | | Andrew Bartlett | |||||
* | Specify buffer sizes | Andrew Bartlett | 2003-03-15 | 1 | -2/+2 | |
| | ||||||
* | Be parinoid, malloc an extra SAFETY_MARGIN on the client's inbuf and outbuf. | Andrew Bartlett | 2003-03-15 | 1 | -2/+2 | |
| | | | | Andrew Bartlett | |||||
* | client-side smbpasswd fixes - use pstrcpy_base to avoid clobber_region bugs | Andrew Bartlett | 2003-03-15 | 1 | -6/+6 | |
| | | | | Andrew Bartlett | |||||
* | Add const, and a signed/unsigned fix. | Andrew Bartlett | 2003-03-15 | 1 | -3/+3 | |
| | ||||||
* | If it's an fstring, use fstrcpy(). | Andrew Bartlett | 2003-03-15 | 1 | -8/+8 | |
| | | | | Andrew Bartlett | |||||
* | Clean up the VFS module loading logic by making the parameter an P_LIST, | Andrew Bartlett | 2003-03-15 | 2 | -59/+36 | |
| | | | | | | rather than a runtime-parsed string. Andrew Bartlett | |||||
* | Found by my new checking code (yet to be commited): | Andrew Bartlett | 2003-03-15 | 1 | -1/+1 | |
| | | | | | | Allow a service longer than 4 characters in CORE tcon. Andrew Bartlett | |||||
* | strictly, you can't #if on somthing that may or may not be defined. | Andrew Bartlett | 2003-03-15 | 1 | -1/+1 | |
| | | | | Andrew Bartlett | |||||
* | Now that mimir has done the grunt work, I'll fix up the comment | Andrew Bartlett | 2003-03-15 | 1 | -4/+1 | |
| | ||||||
* | fix WinXP & Win2K3 remote_arch and check pointer in ntlmssp code before ↵ | Gerald Carter | 2003-03-14 | 3 | -19/+37 | |
| | | | | dereferencing | |||||
* | We haven't implemented The Singing Contexts so far. | Rafal Szczesniak | 2003-03-14 | 1 | -1/+1 | |
| | | | | | | | Who knows what .NET server brings, though ...? ;-) Rafal | |||||
* | Extending code to work both in case of domain membership | Rafal Szczesniak | 2003-03-14 | 1 | -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 | |||||
* | Fresh meat in trusted domains code: | Rafal Szczesniak | 2003-03-14 | 4 | -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 | |||||
* | /tmp/newfun.msg | Rafal Szczesniak | 2003-03-14 | 2 | -5/+63 | |
| | ||||||
* | Found by metze with the clobber-region check - if it's a pstring, use pstrcpy(). | Andrew Bartlett | 2003-03-14 | 1 | -1/+1 | |
| | | | | Andrew Bartlett | |||||
* | Add examples of ComfyChair | Martin Pool | 2003-03-14 | 1 | -0/+33 | |
| | ||||||
* | Merge from Subversion | Martin Pool | 2003-03-14 | 1 | -2/+2 | |
| | | | | * Better report formatting | |||||
* | Merge cifsntdomain.sgml fixes from 3.0 branch | Alexander Bokovoy | 2003-03-13 | 1 | -26/+35 | |
| | ||||||
* | Add bin/libbigballofmud.a non-shared library. A bit easier to link to | Martin Pool | 2003-03-13 | 1 | -0/+4 | |
| | | | | for testing than the .so. (http://www.laputan.org/mud/mud.html) | |||||
* | In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>, | Martin Pool | 2003-03-13 | 1 | -3/+7 | |
| | | | | | etc. So check for that as well as the old names when including macros and conditionally defining -DVALGRIND. | |||||
* | In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>, | Martin Pool | 2003-03-13 | 1 | -1/+4 | |
| | | | | etc. So check for that as well as the old names. |