Kai Blin
3c744ddd2c
r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.
...
Also rename the corresponding wrap_ functions.
(This used to be commit e59c2eaf68
)
2007-12-26 11:57:05 -06:00
Kai Blin
ac4237e997
r26511: Janitorial: Fix a warning for the 'printf' attribute on gendb_search_v
...
While at it, also add a PRINTF_ATTRIBUTE for talloc_vasprintf.
(This used to be commit 5b3a8c8ae1
)
2007-12-21 05:51:17 +01:00
Kai Blin
8959ce0ea6
r26457: Janitorial: Don't use pstring in tdb_unpack
...
(This used to be commit 447bc42180
)
2007-12-21 05:50:25 +01:00
Jelmer Vernooij
2bf0cdd01c
r26434: Remove display charset from iconv convenience context.
...
(This used to be commit a76625994a
)
2007-12-21 05:50:04 +01:00
Jelmer Vernooij
d891c0c74a
r26429: Avoid use of global_smb_iconv_convenience.
...
(This used to be commit d37136b7ab
)
2007-12-21 05:49:56 +01:00
Jelmer Vernooij
80b62dae14
r26417: Make str_list_copy(mem_ctx, NULL) return NULL rather than an empty list.
...
(This used to be commit cf8636c8b7
)
2007-12-21 05:49:47 +01:00
Andrew Bartlett
99930fe4e9
r26386: We need to test in more than just 'interactive' mode...
...
Fix segfault found when running smbd without options.
Andrew Bartlett
(This used to be commit 880dfeadae
)
2007-12-21 05:49:20 +01:00
Jelmer Vernooij
39ee38d9c1
r26316: Use contexts for conversion functions.
...
(This used to be commit f6420d933b
)
2007-12-21 05:48:30 +01:00
Jelmer Vernooij
2f8dc4f48f
r26266: Remove more global_loadparm uses.
...
(This used to be commit 99113075c4
)
2007-12-21 05:47:42 +01:00
Jelmer Vernooij
ca0b72a1fd
r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
...
(This used to be commit 56dfcb4f2f
)
2007-12-21 05:45:40 +01:00
Stefan Metzmacher
149190ff21
r25830: fix compiler warning
...
metze
(This used to be commit 26bfdff487
)
2007-12-21 05:44:16 +01:00
Stefan Metzmacher
ffc3ff734e
r25802: fix the build on solaris, void functions doesn't return values
...
metze
(This used to be commit 7d6c3e31de
)
2007-12-21 05:44:05 +01:00
Günther Deschner
c4b9283bbb
r25799: Add dump_data_skip_zeros() which omits 16 zero bytes in a row (if not at the
...
beginning or the end of a blob). Usefull when inspecting protocols that
exchange huge mostly empty blobs.
Guenther
(This used to be commit c96047d022
)
2007-12-21 05:44:04 +01:00
Andrew Bartlett
e19d281cb7
r25661: We don't actually need to know with DEBUG(0, ... every time we ask for
...
some random bytes.
Andrew Bartlett
(This used to be commit 606c82f625
)
2007-12-21 05:43:03 +01:00
Andrew Bartlett
6554433fc2
r25660: Add a new interface 'generate_secret_buffer()', to be used when we
...
require top-quality entropy. We don't want to waste system enropy
generating challenges (which simply need to be unpredictable, not
secret) or when generating UUIDs.
Rework generate_random_buffer() to use /dev/urandom less often, only
to seed the existing RC4 based PRNG. (With an exception to ensure we
don't waste this setup cost for very small entropy requests).
Perhaps we should be using heimdal's code for this instead?
This should drasticly reduce our entropy use, particularly in the
build farm (automated Samba build on hosts without much other source
of entropy).
Andrew Bartlett
(This used to be commit 6a5630d371
)
2007-12-21 05:43:03 +01:00
Jelmer Vernooij
a449b30ca4
r25628: Fix formatting, missing include.
...
(This used to be commit aafd3ea03f
)
2007-12-21 05:43:01 +01:00
Jelmer Vernooij
ef13073676
r25627: Remove unused global.
...
(This used to be commit b0b4668333
)
2007-12-21 05:43:01 +01:00
Jelmer Vernooij
f26222df4d
r25626: Move some debug-specific prototypes to debug.h.
...
(This used to be commit 84a2027540
)
2007-12-21 05:43:00 +01:00
Jelmer Vernooij
b09047b78e
r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes.
...
(This used to be commit 262c1c23a6
)
2007-12-21 05:43:00 +01:00
Jelmer Vernooij
f7c3cd1350
r25566: Use -lexecinfo for backtraces on FreeBSD. Patch by Timur I. Bakeyev <timur@com.bat.ru>
...
(This used to be commit 8d4a435601
)
2007-10-10 15:07:57 -05:00
Jelmer Vernooij
14da63dbd3
r25447: Fix installation of headers. Patch by Brad Hards.
...
(This used to be commit b1aae72420
)
2007-10-10 15:07:35 -05:00
Jelmer Vernooij
6b1c7d36f8
r25307: add string_sub_talloc.
...
(This used to be commit 96c1a24874
)
2007-10-10 15:07:12 -05:00
Jelmer Vernooij
f2d64e1c45
r25306: Add tests for string_sub().
...
(This used to be commit 2d37ddcbd1
)
2007-10-10 15:07:11 -05:00
Jelmer Vernooij
f415ba5bcf
r25267: Move PRINTF_ATTRIBUTE to lib/util as well.
...
(This used to be commit 72b9d6c036
)
2007-10-10 15:07:03 -05:00
Jelmer Vernooij
6a167124cd
r25265: Move attribute definitions to lib/util.
...
(This used to be commit 5bb9f041f4
)
2007-10-10 15:07:02 -05:00
Jelmer Vernooij
ffbb7e4060
r25193: Update headers to easy use by external apps.
...
(This used to be commit 20b70fbb7a
)
2007-10-10 15:06:50 -05:00
Jeremy Allison
9a012df08e
r25175: Change to talloc_asprintf_append_buffer().
...
Jeremy.
(This used to be commit 0844dbf597
)
2007-10-10 15:06:46 -05:00
Jelmer Vernooij
7e297ecfa4
r25047: Fix more warnings.
...
(This used to be commit 69de86d2d2
)
2007-10-10 15:05:49 -05:00
Jelmer Vernooij
98b57d5eb6
r25035: Fix some more warnings, use service pointer rather than service number in more places.
...
(This used to be commit df9cebcb97
)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
dccf3f99e4
r25027: Fix more warnings.
...
(This used to be commit 5085c53fcf
)
2007-10-10 15:05:41 -05:00
Jelmer Vernooij
e73df517c8
r25014: Use talloc for allocating values as well.
...
(This used to be commit 43f0e2622e
)
2007-10-10 15:05:35 -05:00
Jelmer Vernooij
3b6186a676
r25008: Remove use of pstring.
...
(This used to be commit c57869e262
)
2007-10-10 15:05:33 -05:00
Jelmer Vernooij
b50ef4caef
r25007: Remove more uses of pstring, move ntlmauth-specific utility function to ntlm-auth.c
...
(This used to be commit 6f224480b2
)
2007-10-10 15:05:32 -05:00
Jelmer Vernooij
307a45127b
r25006: Use system constant.
...
(This used to be commit d9b2464598
)
2007-10-10 15:05:31 -05:00
Jelmer Vernooij
cd962355ab
r25000: Fix some more C++ compatibility warnings.
...
(This used to be commit 08bb1ef643
)
2007-10-10 15:05:27 -05:00
Andrew Bartlett
bb84655d65
r24941: Simplify samdb_result_nttime(), and remove nttime_from_string()
...
Andrew Bartlett
(This used to be commit bcd994a139
)
2007-10-10 15:03:40 -05:00
Jelmer Vernooij
82037a75ea
r24814: Fix headers, trim core.h even more.
...
(This used to be commit 9647f860bd
)
2007-10-10 15:03:14 -05:00
Jelmer Vernooij
09c188e735
r24812: Fix headers for external users.
...
(This used to be commit ff6684adfd
)
2007-10-10 15:03:13 -05:00
Jelmer Vernooij
0b91f39164
r24780: More work allowing libutil to be used by external users.
...
(This used to be commit 31993cf67b
)
2007-10-10 15:03:10 -05:00
Jelmer Vernooij
4fb038b0b8
r24710: Use standard boolean type for easier use by external users.
...
(This used to be commit 99f4124137
)
2007-10-10 15:02:53 -05:00
Jelmer Vernooij
b409d4120f
r24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
...
been working on for at least half a year now. Contains the following
improvements:
* proper layering (finally!) for the registry library. Distinction is
now made between 'real' backends (local, remote, wine, etc) and
the low-level hive backends (regf, creg, ldb, ...) that are only used
by the local registry backend
* tests for all important hive and registry operations
* re-enable RPC-WINREG tests (still needs more work though, as
some return values aren't checked yet)
* write support for REGF files
* dir backend now supports setting/reading values, creating keys
* support for storing security descriptors
* remove CREG backend as it was incomplete, didn't match the data model
and wasn't used at all anyway
* support for parsing ADM files as used by the policy editor (see lib/policy)
* support for parsing PREG files (format used by .POL files)
* new streaming interface for registry diffs (improves speed and memory usage
for regdiff/regpatch significantly)
... and fixes a large number of bugs in the registry code
(This used to be commit 7a1eec6358
)
2007-10-10 15:02:34 -05:00
Andrew Bartlett
dfa4e5f784
r24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.
...
Andrew Bartlett
(This used to be commit 3d74d178bf
)
2007-10-10 15:02:27 -05:00
Jelmer Vernooij
a43b026ef0
r24333: Add convenience function for checking the contents of a file in tests.
...
(This used to be commit 4e30410124
)
2007-10-10 15:01:38 -05:00
Andrew Bartlett
edca65915a
r24273: Fix bug #4817 by <mwallnoefer@yahoo.de>. (Unable to add a computer
...
from MMC Active Directory Users and Computers).
Windows sets a 14 UCS2 char buffer as the password in this case.
We need to allow random buffers to be accepted as complex passwords,
even if they don't have ASCII upper or lower case characters. (If
half the bytes are > 127, then it's likely a random buffer).
Also make the test match the documented windows behaviour of '3 of the
4 classes: upper, lower, digit, special'.
Andrew Bartlett
(This used to be commit 5ef26a2ba3
)
2007-10-10 15:01:33 -05:00
Andrew Tridgell
702372b343
r23807: added hex_encode_talloc()
...
(This used to be commit 1b105097e3
)
2007-10-10 14:59:20 -05:00
Andrew Tridgell
cd1217ff5f
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
...
(This used to be commit 5c9b19271e
)
2007-10-10 14:59:18 -05:00
Andrew Tridgell
4b71c210d5
r23796: main COPYING file for samba4, plus some formatting varients
...
(This used to be commit 76c6bfdeb5
)
2007-10-10 14:59:14 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac
)
2007-10-10 14:59:12 -05:00
Andrew Bartlett
d291b8bf93
r23551: Change data_blob_equal to data_blob_cmp, suitable for sorting with qsort().
...
Andrew Bartlett
(This used to be commit 96ef5259c6
)
2007-10-10 14:53:26 -05:00
Jelmer Vernooij
c2781df0d5
r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, _NORETURN_ and _WARN_UNUSED_RESULT_.
...
(This used to be commit 44248f662f
)
2007-10-10 14:53:08 -05:00