summaryrefslogtreecommitdiff
path: root/source4/lib/util
AgeCommit message (Collapse)AuthorFilesLines
2007-12-21r26386: We need to test in more than just 'interactive' mode...Andrew Bartlett1-1/+1
Fix segfault found when running smbd without options. Andrew Bartlett (This used to be commit 880dfeadae41be5f0140ac07afb8680fc11f6ebf)
2007-12-21r26316: Use contexts for conversion functions.Jelmer Vernooij2-8/+8
(This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
2007-12-21r26266: Remove more global_loadparm uses.Jelmer Vernooij1-55/+0
(This used to be commit 99113075c4a96679bcec4f4d6bba4acb3dee4245)
2007-12-21r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij3-4/+192
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-12-21r25830: fix compiler warningStefan Metzmacher2-2/+2
metze (This used to be commit 26bfdff48779447a2f4b552c5af32abf2b8c4c45)
2007-12-21r25802: fix the build on solaris, void functions doesn't return valuesStefan Metzmacher1-2/+2
metze (This used to be commit 7d6c3e31de448c59dbb6933917c4f434c90cedf6)
2007-12-21r25799: Add dump_data_skip_zeros() which omits 16 zero bytes in a row (if ↵Günther Deschner2-9/+71
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 c96047d022555678dabe08c0de94f0913bb4d047)
2007-12-21r25661: We don't actually need to know with DEBUG(0, ... every time we ask forAndrew Bartlett1-6/+0
some random bytes. Andrew Bartlett (This used to be commit 606c82f6254b8dc6fb32740a7bb55a1989081fe7)
2007-12-21r25660: Add a new interface 'generate_secret_buffer()', to be used when weAndrew Bartlett2-18/+58
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 6a5630d37191542022f02fae519227b7829ef620)
2007-12-21r25628: Fix formatting, missing include.Jelmer Vernooij1-1/+3
(This used to be commit aafd3ea03f52b08b6697f3778728659c790d03b4)
2007-12-21r25627: Remove unused global.Jelmer Vernooij1-14/+5
(This used to be commit b0b4668333b53991b04cae8905836c766e50aa10)
2007-12-21r25626: Move some debug-specific prototypes to debug.h.Jelmer Vernooij3-56/+56
(This used to be commit 84a202754004ec618aa2663a4614d80eb2c7ce60)
2007-12-21r25624: Remove ipv4_addr hack. Only causes 4 extra includes of ↵Jelmer Vernooij3-31/+18
system/network.h because we stripped down includes. (This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
2007-10-10r25566: Use -lexecinfo for backtraces on FreeBSD. Patch by Timur I. Bakeyev ↵Jelmer Vernooij2-3/+6
<timur@com.bat.ru> (This used to be commit 8d4a435601c1af42a4a6704b3181e194eb40f75a)
2007-10-10r25447: Fix installation of headers. Patch by Brad Hards.Jelmer Vernooij1-0/+1
(This used to be commit b1aae72420362dfda7df94e8aaab8739632195dc)
2007-10-10r25307: add string_sub_talloc.Jelmer Vernooij3-0/+83
(This used to be commit 96c1a24874289fdeddcac43d23c2d1214b9b6225)
2007-10-10r25306: Add tests for string_sub().Jelmer Vernooij3-4/+82
(This used to be commit 2d37ddcbd1243f48d81af17d8ea3cdd6e8e35b8d)
2007-10-10r25267: Move PRINTF_ATTRIBUTE to lib/util as well.Jelmer Vernooij2-6/+18
(This used to be commit 72b9d6c03661d72e83a5d60d43b75bb9bd5f5285)
2007-10-10r25265: Move attribute definitions to lib/util.Jelmer Vernooij2-0/+81
(This used to be commit 5bb9f041f47a1b7e03c3dc02e38546bc43bcc856)
2007-10-10r25193: Update headers to easy use by external apps.Jelmer Vernooij2-0/+5
(This used to be commit 20b70fbb7af6b6759c3b8c8aa56e10944b32bfdf)
2007-10-10r25175: Change to talloc_asprintf_append_buffer().Jeremy Allison1-3/+3
Jeremy. (This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
2007-10-10r25047: Fix more warnings.Jelmer Vernooij4-62/+21
(This used to be commit 69de86d2d2e49439760fbc61901eb87fb7fc5d55)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+1
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25027: Fix more warnings.Jelmer Vernooij4-9/+10
(This used to be commit 5085c53fcfade614e83d21fc2c1a5bc43bb2a729)
2007-10-10r25014: Use talloc for allocating values as well.Jelmer Vernooij2-29/+11
(This used to be commit 43f0e2622ef61bd865fcf17191118c050ec8cfcb)
2007-10-10r25008: Remove use of pstring.Jelmer Vernooij1-1/+0
(This used to be commit c57869e2620de30c303b0cb2f70cd07b32f269fc)
2007-10-10r25007: Remove more uses of pstring, move ntlmauth-specific utility function ↵Jelmer Vernooij3-30/+3
to ntlm-auth.c (This used to be commit 6f224480b230ab7ccfc0417c13e7f4fc3f6f2a13)
2007-10-10r25006: Use system constant.Jelmer Vernooij1-7/+6
(This used to be commit d9b2464598efe0f0cbecd4d8a90fbd137fad0daf)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij2-3/+3
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24941: Simplify samdb_result_nttime(), and remove nttime_from_string()Andrew Bartlett1-8/+0
Andrew Bartlett (This used to be commit bcd994a139e2e8fb2e97c8b897c987ff234e0b0a)
2007-10-10r24814: Fix headers, trim core.h even more.Jelmer Vernooij3-134/+23
(This used to be commit 9647f860bdd5c0a74583e886182bd041a45e7655)
2007-10-10r24812: Fix headers for external users.Jelmer Vernooij1-0/+10
(This used to be commit ff6684adfd96b59381dd941e54070ab9f8984912)
2007-10-10r24780: More work allowing libutil to be used by external users.Jelmer Vernooij6-17/+1101
(This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)
2007-10-10r24710: Use standard boolean type for easier use by external users.Jelmer Vernooij15-145/+146
(This used to be commit 99f4124137d4a61216e8189f26d4da32882c0f4a)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij1-3/+3
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 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)
2007-10-10r24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.Andrew Bartlett1-4/+5
Andrew Bartlett (This used to be commit 3d74d178bfd89127ff387939e848b240e638cc35)
2007-10-10r24333: Add convenience function for checking the contents of a file in tests.Jelmer Vernooij1-0/+3
(This used to be commit 4e304101241ea7bcb9111b757bb51b16665d492d)
2007-10-10r24273: Fix bug #4817 by <mwallnoefer@yahoo.de>. (Unable to add a computerAndrew Bartlett1-5/+10
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 5ef26a2ba3561580f0a73ee61eb707573cc98cd3)
2007-10-10r23807: added hex_encode_talloc()Andrew Tridgell1-0/+16
(This used to be commit 1b105097e3f4a8475d3a2623205ecdea2aef91cf)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 5c9b19271e0e3ad897499707003ce4703ffa4870)
2007-10-10r23796: main COPYING file for samba4, plus some formatting varientsAndrew Tridgell1-1/+1
(This used to be commit 76c6bfdeb51b5673bbabe0ca3d8bff3b74a327ee)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell35-105/+70
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 fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23551: Change data_blob_equal to data_blob_cmp, suitable for sorting with ↵Andrew Bartlett1-10/+12
qsort(). Andrew Bartlett (This used to be commit 96ef5259c63ad6245c94c40d6059d736b1534183)
2007-10-10r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, ↵Jelmer Vernooij2-8/+8
_NORETURN_ and _WARN_UNUSED_RESULT_. (This used to be commit 44248f662f0b609dad6a7b437948f12d661a28f7)
2007-10-10r23021: test some boundary conditions for idtree, after I saw some suspiciousAndrew Tridgell1-1/+18
behaviour (This used to be commit e862cf17b891885f3a733819869a06895c1fb324)
2007-10-10r22379: add missing fileStefan Metzmacher1-0/+94
metze (This used to be commit 893b6f56b6aef14de7b54c57c23b8a2f885ba6ce)
2007-10-10r22373: move in_list() to util_strlist.c to remove the dependencyStefan Metzmacher2-24/+25
from util.o to next_token() and strcasecmp_m() with this the pidl tests link better on some hosts metze (This used to be commit 54bfc1dccc40883d602402865eff3cfae676e9af)
2007-10-10r22372: split out become_daemon() into it's own functionStefan Metzmacher2-67/+2
this remove the dependency of util.o to swrap_close which causes sometrouble with the pidl tests on some hosts metze (This used to be commit 8cd36c47aaf1098876bceb314cb0a1f39369cb46)
2007-10-10r22371: readd discard_const() to lib/util/util.hStefan Metzmacher1-0/+27
metze (This used to be commit 76fbe90596f5f26c09185129d9a4f3e2b42428e1)
2007-10-10r22369: add ZERO_STRUCT() ... macros to lib/util/util.h againStefan Metzmacher1-0/+41
to fix the openchange build... we need to remove them from libreplace, but I'll think about that next week. metze (This used to be commit 2243142b46e20825339b4f6ed0e878c18e50e45f)