Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | additional fix for CR 601 | Gerald Carter | 2003-02-27 | 1 | -0/+3 | |
| | | | | | | | * distinguish WinXP from Win2k * add a 1/3 of a second delay in OpenPrinter in order to trigger a LAN/WAN optimization in 2k clients. | |||||
* | Doxygen janitor | Martin Pool | 2003-02-27 | 1 | -5/+6 | |
| | ||||||
* | - Rename 'modules = ' to 'preload modules = ' | Jelmer Vernooij | 2003-02-27 | 1 | -3/+32 | |
| | | | | | | - Add smb_probe_module() - Add init_modules() - Call these functions | |||||
* | init_valid_table: Fix a memory leak that would lose the | Martin Pool | 2003-02-26 | 1 | -8/+15 | |
| | | | | | dynamically-created valid table every time the configuration was reloaded. | |||||
* | Move off-by-one buggy malloc()/safe_strcpy() combination to strdup() instead. | Andrew Bartlett | 2003-02-24 | 1 | -3/+1 | |
| | | | | Andrew Bartlett | |||||
* | Merge documentation from 3_0. | Martin Pool | 2003-02-24 | 1 | -6/+13 | |
| | ||||||
* | Add const | Andrew Bartlett | 2003-02-24 | 1 | -4/+4 | |
| | ||||||
* | Fix 2 off-by-one bugs in the use of malloc()ed strings and safe_strcpy(). | Andrew Bartlett | 2003-02-24 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | safe_strcpy() isn't particularly safe (this has been noted before) as it does not take the size of the buffer, but instead the size of the buffer *minus 1* The locking.c fix was causing segfaults on machines running with --enable-developer, and was tracked down thanks to the fact that vance's build farm machine runs with such an option, and smbtorture's DIR1 test hits this bug very well. (The --enable-developer code writes to the last byte of the string, to check for incorrect use of safe_strcpy()). Andrew Bartlett | |||||
* | move genparser to use talloc contexts instead of [m|c|re]alloc() and free()s | Simo Sorce | 2003-02-23 | 2 | -152/+163 | |
| | ||||||
* | More signed/unsigned fixes (yes, I run with funny compiler options) and | Andrew Bartlett | 2003-02-22 | 6 | -12/+13 | |
| | | | | | | make x_fwrite() match fwrite() in returning a size_t. Andrew Bartlett | |||||
* | Doxygen janitor | Martin Pool | 2003-02-21 | 1 | -3/+10 | |
| | ||||||
* | Make init_module() and thus smb_load_module() return an int. | Jelmer Vernooij | 2003-02-20 | 1 | -9/+9 | |
| | | | | modules/developer.c: init_module() should return an int | |||||
* | Move to a in-memory ccache for winbind, and replace setenv() properly. | Andrew Bartlett | 2003-02-19 | 1 | -0/+18 | |
| | | | | | | | | (According to the manpages, you cannot put a stack variable into putenv()). Yes, this leaks memory. Andrew Bartlett | |||||
* | base64_decode() with heimdal libs, so I've renamed it base64_decode_inplace(). | Jim McDonough | 2003-02-19 | 1 | -1/+1 | |
| | ||||||
* | Ensure we use getgrnam() unless BROKEN_GETGRNAM is defined. I now need | Jeremy Allison | 2003-02-18 | 1 | -0/+7 | |
| | | | | | to set this for Tru64. Jeremy. | |||||
* | Remove obsolete comment. | Martin Pool | 2003-02-18 | 1 | -2/+0 | |
| | ||||||
* | Doxygen janitor and some doc typo fixes. | Martin Pool | 2003-02-18 | 1 | -68/+92 | |
| | ||||||
* | Doxygen janitor. No other changes. | Martin Pool | 2003-02-18 | 1 | -120/+119 | |
| | ||||||
* | Add comment explaining the -DDEVELOPER safe_strcpy overflow hack. | Martin Pool | 2003-02-17 | 1 | -1/+5 | |
| | ||||||
* | This is a very nice way to detect pstrcpy() into a malloc()ed string, but | Andrew Bartlett | 2003-02-17 | 1 | -0/+2 | |
| | | | | | | it really is a developer hack... Andrew Bartlett | |||||
* | This patch fixes one of my longest-standing pet hates with Samba :-). | Andrew Bartlett | 2003-02-17 | 2 | -18/+47 | |
| | | | | | | | | | | | | | | | | | When we look see if a user is in a list, and we try to 'expand' an @group, we should lookup the user's own list of groups, rather than looking for all the members of a group. I'm sure this will fix some nasty performance issues, particularly on large domains etc. In particular, this avoids contacting winbind at all, if the group is not a winbind group. (This caused a deadlock on my winbind-on-PDC setup). The groups list always includes the user's primary group, as per the getgrouplist manpage, and my recent changes to our implementation. Andrew Bartlett | |||||
* | Set the length back to zero when we free the data_blob. | Andrew Bartlett | 2003-02-17 | 1 | -0/+1 | |
| | ||||||
* | Try to make our getgrouplist replacement better match the 'real' implemenations. | Andrew Bartlett | 2003-02-17 | 1 | -4/+11 | |
| | | | | | | In particular, make sure we include the primary gid in the list. Andrew Bartlett | |||||
* | Remove obsolete file lib/netatalk.c - We have a VFS module now | Jelmer Vernooij | 2003-02-15 | 1 | -155/+0 | |
| | ||||||
* | Simplify some return values in gencache functions: | Tim Potter | 2003-02-14 | 1 | -5/+5 | |
| | | | | | | | | | | - return ret == 0 ? True : False; + return ret == 0; and - return tdb_close(cache) ? False : True; + return tdb_close(cache) != -1; | |||||
* | Add FIXME about checking exit code for popen'd commands. | Martin Pool | 2003-02-13 | 1 | -1/+4 | |
| | | | | Fix typo. | |||||
* | pull_ucs2_talloc() should pull to a char**, not a void** | Andrew Tridgell | 2003-02-12 | 1 | -2/+2 | |
| | ||||||
* | One more fix for the difference between FILE and X_FILE. | Andrew Bartlett | 2003-02-08 | 1 | -1/+1 | |
| | ||||||
* | Ensure we don't get problems between FILE and X_FILE buffers - always use the | Andrew Bartlett | 2003-02-07 | 1 | -3/+3 | |
| | | | | | | x_ varient of the command. Andrew Bartlett | |||||
* | Samba janitor: adding mbp's umask patch :-). | Jeremy Allison | 2003-02-07 | 1 | -79/+69 | |
| | | | | Jeremy. | |||||
* | make sure we don't run over the end of 'name' in unix_convert() | Andrew Tridgell | 2003-02-07 | 1 | -2/+6 | |
| | | | | Thanks to Andrew Bartlett for spotting this. | |||||
* | Bitmap offsets and counts are always positive. | Andrew Bartlett | 2003-02-01 | 1 | -1/+1 | |
| | ||||||
* | Always escape ldap filter strings. Escaping code was from pam_ldap, but I'm to | Andrew Bartlett | 2003-02-01 | 1 | -0/+90 | |
| | | | | | | | | blame for the realloc() stuff. Plus a couple of minor updates to libads. Andrew Bartlett | |||||
* | Make it clear that the magic value is (size_t)-1. | Andrew Bartlett | 2003-02-01 | 1 | -2/+2 | |
| | | | | Andrew Bartlett | |||||
* | Add 3 second timeout when terminating server and sending print notify | Jeremy Allison | 2003-01-30 | 1 | -5/+45 | |
| | | | | | | messages. Stops build-up of large numbers of smbd's waiting to terminate on large print throughput. Jeremy. | |||||
* | Move debug level message handling into debug.c from messages.c | Tim Potter | 2003-01-30 | 2 | -11/+14 | |
| | | | | Removed duplicate message_register() for REQ_DEBUGLEVEL message. | |||||
* | Removed duplicate fn to avoid compiler warning. | Tim Potter | 2003-01-29 | 1 | -19/+0 | |
| | ||||||
* | Return 0 instead of crashing when a NULL source string is passed | Tim Potter | 2003-01-29 | 1 | -0/+1 | |
| | | | | to rpcstr_pull() | |||||
* | Quieten debug about gencache.tdb not being able to be opened. | Tim Potter | 2003-01-29 | 1 | -1/+1 | |
| | | | | Perhaps we should try to open O_RDONLY if O_RDWR fails? | |||||
* | Fix memory leak found my Leo Qiu <leoxqiu@yahoo.com>. | Jeremy Allison | 2003-01-24 | 1 | -1/+4 | |
| | | | | Jeremy. | |||||
* | Merge of max log file fixes from appliance: | Tim Potter | 2003-01-23 | 1 | -1/+3 | |
| | | | | | | | | - smbd/process.c: check log file sizes more often than in timeout_processing() - lib/debug.c: increment debug_count inside Debug1() instead of when log file sizes are checked. | |||||
* | Updated some comments. | Tim Potter | 2003-01-21 | 1 | -5/+5 | |
| | ||||||
* | Keep the list of dead WINS servers in gencache.tdb instead of in | Tim Potter | 2003-01-21 | 1 | -60/+54 | |
| | | | | | | | memory. This allows the information to be shared amongst all smbd processes. HP CR #1099 | |||||
* | Make the valstr and timeout return pointers optional so a caller can | Tim Potter | 2003-01-21 | 1 | -11/+31 | |
| | | | | pass NULL if it doesn't care about the gencache key. | |||||
* | dlsym() can return NULL validly, so we can't use that as the error test. | Jim McDonough | 2003-01-17 | 1 | -2/+6 | |
| | | | | dlerror() is the correct way to test. | |||||
* | Enable dynamic loading of RPC modules. See docs/textdocs/RPC_PLUGGIN.txt ↵ | Jim McDonough | 2003-01-17 | 1 | -0/+12 | |
| | | | | for instructions. | |||||
* | fix some undefined behaviour with increments in C. In theory a | Andrew Tridgell | 2003-01-17 | 1 | -4/+8 | |
| | | | | compiler could have produced complete crap for this code. | |||||
* | Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD. | Jeremy Allison | 2003-01-16 | 1 | -2/+4 | |
| | | | | Jeremy. | |||||
* | Updates to the NTLMSSP code again - moving the base64 decode fuctionality out | Andrew Bartlett | 2003-01-16 | 1 | -0/+94 | |
| | | | | | | | | | | | | | of the SWAT code, and adding a base64 encoder. The main purpose of this patch is to add NTLMSSP support to 'ntlm_auth', for use with Squid. Unfortunetly the squid side doesn't quite support what we need yet. Changes to winbind to get us the info we need, and a couple of consequential changes/cleanups in the rest of the code. Andrew Bartlett | |||||
* | Fix a signed/unsigned warning. | Andrew Bartlett | 2003-01-16 | 1 | -1/+1 | |
| |