Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r6014: rather large change set.... | Gerald Carter | 2007-10-10 | 1 | -0/+14 |
| | | | | | | | | | | | | | | pulling back all recent rpc changes from trunk into 3.0. I've tested a compile and so don't think I've missed any files. But if so, just mail me and I'll clean backup in a couple of hours. Changes include \winreg, \eventlog, \svcctl, and general parse_misc.c updates. I am planning on bracketing the event code with an #ifdef ENABLE_EVENTLOG until I finish merging Marcin's changes (very soon). | ||||
* | r5961: final round of compiler warning fixes based on feedback from Jason Mader | Gerald Carter | 2007-10-10 | 1 | -1/+1 |
| | |||||
* | r5956: more compile warngin fixes from the Mr. Mader | Gerald Carter | 2007-10-10 | 1 | -3/+3 |
| | |||||
* | r5954: Fix some compiler warnings and add missing exclude-block in "net rpc | Günther Deschner | 2007-10-10 | 1 | -1/+1 |
| | | | | | | share migrate" (found by Lars Mueller <lmuelle@suse.de>). Guenther | ||||
* | r5953: more compiler cleanups; moved SID_LIST from smb.h to privileges.c to ↵ | Gerald Carter | 2007-10-10 | 1 | -1/+1 |
| | | | | cleanup the name space | ||||
* | r5158: BUG 2263: patch from Timur Bakeyev <timur@com.bat.ru> to guard ↵ | Gerald Carter | 2007-10-10 | 1 | -4/+10 |
| | | | | base64_encode_data_blob() against empty blobs | ||||
* | r5066: A couple of small fixes from James Peach @ SGI. | Jeremy Allison | 2007-10-10 | 1 | -2/+2 |
| | | | | Jeremy. | ||||
* | r4746: add server support for lsa_enum_acct_rights(); last checkin for the night | Gerald Carter | 2007-10-10 | 1 | -0/+16 |
| | |||||
* | r4334: Fix for bugid #2186 - from Buck Huppmann <buckh@pobox.com> | Jeremy Allison | 2007-10-10 | 1 | -0/+8 |
| | | | | | to prevent uninitialized creds being freed. Jeremy. | ||||
* | r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵ | Jeremy Allison | 2007-10-10 | 1 | -19/+19 |
| | | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. | ||||
* | r2605: Fix stupid typo in back-port of Samba4 fix. | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | r2578: Pick up optimisation from Samba4 - thanks tridge ! | Jeremy Allison | 2007-10-10 | 1 | -0/+12 |
| | | | | | | | | - I recently found out that charaters below 0x3F are guaranteed not to occur as secondary bytes in any multi-byte character set. This allows for a very simple optimisation in strchr_m() and strrchr_m(). It might be a good idea to pick this up for Samba3. Jeremy. | ||||
* | r2361: Fix the appalling toktocliplist() fn. Bug found by Luis Benvenutto. | Jeremy Allison | 2007-10-10 | 1 | -5/+8 |
| | | | | Jeremy. | ||||
* | r2175: Fix for #1546 from fumiya@samba.gr.jp. Preserve errno in MB ↵ | Jeremy Allison | 2007-10-10 | 1 | -0/+6 |
| | | | | | | strupper_m/strlower_m. Jeremy. | ||||
* | r2111: Fix memleak with valid names. | Jeremy Allison | 2007-10-10 | 1 | -0/+1 |
| | | | | Jeremy. | ||||
* | r2070: Let's try to overload srnlen and strndup for AIX where they are natly ↵ | Simo Sorce | 2007-10-10 | 1 | -2/+2 |
| | | | | broken. | ||||
* | r1570: merging changes from 3.0.5 | Gerald Carter | 2007-10-10 | 1 | -4/+12 |
| | |||||
* | r1087: BUG 1221: revert old change that used single and double quotes as ↵ | Gerald Carter | 2007-10-10 | 1 | -1/+1 |
| | | | | delimters in next_token(), and change print_parameter() to print out parm values surrounded by double quotes (instead of single quotes) | ||||
* | r570: Remove lots of globals to handle case issues - move them | Jeremy Allison | 2007-10-10 | 1 | -4/+2 |
| | | | | | | | | to connection struct entries (as they should have been from the start). Jerry, once you've cut over to 3.0.4 release branch I'll add this to 3.0 also. - Jerry cut over :-). Jeremy. | ||||
* | r116: volker's patch for local group and group nesting | Gerald Carter | 2007-10-10 | 1 | -0/+18 |
| | |||||
* | r104: Fix ntlm_auth by adding the new strhex_to_data_blob() call. | Andrew Bartlett | 2007-10-10 | 1 | -0/+11 |
| | | | | Andrew Bartlett | ||||
* | Modified fix for bugid #784. Based on a patch from moriyama@miraclelinux.com ↵ | Jeremy Allison | 2004-03-13 | 1 | -1/+0 |
| | | | | | | | | | | (MORIYAMA Masayuki). Don't use nstrings to hold workgroup and netbios names. The problem with them is that MB netbios and workgroup names in unix charset (particularly utf8) may be up to 3x bigger than the name when represented in dos charset (ie. cp932). So go back to using fstrings for these but translate into nstrings (ie. 16 byte length values) for transport on the wire. Jeremy. | ||||
* | Given how core this code is, I figure it should have it's own testsuite. | Andrew Bartlett | 2004-03-09 | 1 | -7/+11 |
| | | | | | | | | | | | | | Big thanks to tpot and mbp for showing how easy it can be to write a simple unit test, and for providing the STF. This also changes the strstr_m() code to use strstr_w() (avoiding duplication) and fixes it so that it passes the STF. (We now always restart before doing the unicode run, until sombody can show me why the testsuite is wrong). Andrew Bartlett | ||||
* | JRA's recent strstr_m work really badly broke our string_sub code. | Andrew Bartlett | 2004-03-09 | 1 | -2/+10 |
| | | | | | | | | | | | | | | | | For example: strstr_m("%v foo bar", "%v") would fail... only strstr_m("foo %v", "%v") could work. I wonder what else this broke... Fix is to move to using strncmp() inside the strstr_m function. Tested on ASCII only. Andrew Bartlett | ||||
* | Added strstr_m() function. Use in all places where we might run into mb | Jeremy Allison | 2004-03-09 | 1 | -4/+74 |
| | | | | | (should fix the mb service name problem, can't remember the bugid). Jeremy. | ||||
* | Missed SAFE_FREE (typo). | Jeremy Allison | 2004-02-13 | 1 | -1/+2 |
| | | | | Jeremy. | ||||
* | Added Andrew Bartlett's patch to use an allocated buffer for count_chars. | Jeremy Allison | 2004-02-13 | 1 | -2/+8 |
| | | | | Jeremy. | ||||
* | Fix final valgrind errors with #830. Catch mb conversion error that may not | Jeremy Allison | 2004-02-04 | 1 | -2/+16 |
| | | | | | terminate correctly. Jeremy. | ||||
* | Fix decoding of base64. We got the length wrong when the result was not | Volker Lendecke | 2004-01-23 | 1 | -0/+2 |
| | | | | | | | | | | an exact multiple of 3. I also wrote a torture test and it survived some minutes of random stuff coded/decoded up to 16 MB data. But that would be a bit too embarassing to commit... :-) Volker | ||||
* | Fix for bug #922. Fast path not called for strlower_m() and strupper_m(). | Jeremy Allison | 2004-01-07 | 1 | -2/+2 |
| | | | | | From ab@samba.org (Alexander Bokovoy). Jeremy. | ||||
* | Fix bug 916 - do not perform a + -> space substitution for squid URL encoded | Andrew Bartlett | 2003-12-25 | 1 | -5/+0 |
| | | | | | | strings, only form input in SWAT. Andrew Bartlett | ||||
* | Ensure that items in a list of strings containing whitespace | Gerald Carter | 2003-11-22 | 1 | -1/+1 |
| | | | | | | | | | | | are written out surrounded by single quotes. This means that both double and single quotes are now used to surround strings in smb.conf. This is a slight change from the previous behavior but needed or else things like printer admin = +ntadmin, 'VALE\Domain, Admin' get written to smb.conf by SWAT. | ||||
* | Added useful information to debug lines. | Rafal Szczesniak | 2003-11-19 | 1 | -4/+4 |
| | | | | | | | Patch by metze. rafal | ||||
* | Useful debug message. Patch by metze. | Rafal Szczesniak | 2003-11-18 | 1 | -2/+4 |
| | | | | rafal | ||||
* | Squelch some warnings with more casty-foo. | Richard Sharpe | 2003-11-13 | 1 | -2/+2 |
| | |||||
* | Fix more 64-bit printf warnings. | Tim Potter | 2003-11-03 | 1 | -2/+3 |
| | |||||
* | Fix for MacOS/X which uses STUPID BROKEN UNICODE COMPOSE CHARACTERS ! | Jeremy Allison | 2003-09-13 | 1 | -3/+12 |
| | | | | | | | (rant off :-). Inspired by work from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>. Also add MacOSX/Darwin configure fixes. Jerry - can we put this in 3.0 release ? :-). Jeremy. | ||||
* | Fix from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>. Revered | Jeremy Allison | 2003-09-12 | 1 | -1/+1 |
| | | | | | condition meant fast-path in strchr_m was not being used. Doh ! Jeremy. | ||||
* | Fix stupid typo bug causing CPU spin. Spotted by Markus Ungermann ↵ | Jeremy Allison | 2003-09-10 | 1 | -0/+1 |
| | | | | | | <ungermann@elzet80.de> Jeremy. | ||||
* | More tuning from cachegrind. Change most trim_string() calls to trim_char(0, | Jeremy Allison | 2003-09-05 | 1 | -2/+73 |
| | | | | | as that's what they do. Fix string_replace() to fast-path ascii. Jeremy. | ||||
* | fix bug 397: use a variant of alloc_sub_basic() for string lists. | Gerald Carter | 2003-09-05 | 1 | -0/+30 |
| | |||||
* | Hand optimisatinos for strrchr_m using the properties we know about MB | Jeremy Allison | 2003-09-05 | 1 | -11/+47 |
| | | | | | character sets and how we use this call. Jeremy. | ||||
* | Fastpath strchr_m for ASCII. | Jeremy Allison | 2003-09-04 | 1 | -0/+13 |
| | | | | Jeremy. | ||||
* | Used cachegrind to track down some bottlenecks. | Jeremy Allison | 2003-09-04 | 1 | -1/+10 |
| | | | | | | | | | | Removed calls to clobber_region when not compiling with developer as they were hiding speed problems. Added fast path to convert_string() when dealing with ascii -> ascii, ucs2-le to ascii and ascii to ucs2-le with values <= 0x7F. This gives a speedup of 22% on my nbench tests. Next I will do this on convert_string_allocate. Jeremy. | ||||
* | Fix up overlapping memcpy -> memmove found by valgrind. | Jeremy Allison | 2003-09-03 | 1 | -1/+3 |
| | | | | Jeremy. | ||||
* | fix bug 289; make sure to reset the offset into a string when reallocating space | Gerald Carter | 2003-08-25 | 1 | -1/+2 |
| | |||||
* | get rid of more compiler warnings | Herb Lewis | 2003-08-15 | 1 | -7/+7 |
| | |||||
* | get rid of const as these things really are not const | Herb Lewis | 2003-08-15 | 1 | -5/+5 |
| | |||||
* | Use push_ucs2_allocate(), rather than convert_string_allocate() directly. | Andrew Bartlett | 2003-07-27 | 1 | -37/+5 |
| | | | | | | | | | Remove strdup_upper/strdup_lower from their old file, now that they have been moved to charcnv.c Note that string_replace assumes that s is a pstring. (doco change only) Andrew Bartlett | ||||
* | More printf portability fixes. Got caught out by some gcc'isms last | Tim Potter | 2003-07-25 | 1 | -1/+1 |
| | | | | time. )-: |