summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
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-21r25783: socket_wrapper: don't include "includes.h"Stefan Metzmacher1-12/+5
metze (This used to be commit 47f865165e772540334dcbcf80cfc1999b0132fa)
2007-12-21r25755: Fix a couple of memory leaks, in particular a new leak onto the NULLAndrew Bartlett1-2/+4
context caused by my objectclass module work. Andrew Bartlett (This used to be commit 2a835d900fee71e4461d5d18e39b4358fa6fdfba)
2007-12-21r25728: [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.cStefan Metzmacher1-0/+11
metze (This used to be commit 5648c8a0de7482a28a5b95410c083ac87577d482)
2007-12-21r25726: [libreplace] move and fix getaddrinfo configure checksStefan Metzmacher2-30/+33
- move getaddrinfo check into getaddrinfo.m4 - add getaddrinfo.o to LIBREPLACEOBJ so that we really build the replacements metze (This used to be commit b594d9c9fa86249e3d3988702a2333460cd70436)
2007-12-21r25725: merge commit bc9008aa1dcb66890795f0ff2d3046da7df867d9 from v3-2-test:Stefan Metzmacher1-5/+0
Author: Jeremy Allison <jra@samba.org> AuthorDate: Wed Oct 24 14:40:24 2007 -0700 We do support name lookups for host and service in our replacement code - remove the restrictions from the original Postgres code. Jeremy. (This used to be commit 25a892f2ad1b281869779686ca23f2ed29b46a5c)
2007-12-21r25724: - include getaddrinfo.h after we have defined struct addrinfoStefan Metzmacher3-16/+24
- use rep_ instead of pg_ as prefix in getaddrinfo.[ch] - define HAVE_<name> macros when we replace functions metze (This used to be commit 57d5cf4b5fe8885b1375059aa143c9c71d2503b4)
2007-12-21r25718: [libreplace] if we replace types define the HAVE_<type> macroStefan Metzmacher1-0/+3
this is needed as heimdal's roken.h also tries to replace the types metze (This used to be commit 8b92b811015d0855efe3cf4c58cd08e3654f8e88)
2007-12-21r25715: [libreplace] move definition of struct addrinfo so that it can use ↵Stefan Metzmacher1-15/+13
socklen_t metze (This used to be commit 12cec014c465a55974aedf44e0e782f5fb841088)
2007-12-21r25714: [libreplace] move define of a constant to near to the othersStefan Metzmacher1-4/+4
metze (This used to be commit 8bd2cf71bee1a08c3d420a330730434edbac5e28)
2007-12-21r25713: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_tStefan Metzmacher1-7/+7
metze (This used to be commit a3657a4e7175e35707e7a00330f6924833774253)
2007-12-21r25695: [libreplace] fix the standalone build of libreplaceStefan Metzmacher2-28/+34
all configure results which are used in replace.h or any system/*.h should be in the in the libreplace *.m4 files! metze (This used to be commit 95462d614d68a93e85232e3a779f8bfa86fba4d1)
2007-12-21r25690: - only use a readonly traverse in ldb_search when not in a ↵Andrew Tridgell3-3/+21
transaction. When we are in a transaction then we could be in a top level modify operation (such as rename), so we must use a writeable traverse so that the async callbacks can do the modifies while the search is progressing. - don't do the lockall operation on the tdb during a ldb search if in a transaction, as this would prevent modifies by callbacks as well (This used to be commit aa9ab431e071882f42ebc882e809ae1d4b8778d4)
2007-12-21r25687: Move #defined for getaddrinfo into network.h (as otherStefan Metzmacher2-84/+91
defines). Allows RHEL4 compile to work. Jeremy. (cherry picked from commit 0ffdf4fdeea88c21880c8bf69d8db56fb49effa7) (This used to be commit facb811bb3c77a0b98089c283fe0707c5f486c88)
2007-12-21r25686: Added in missing def for AI_ADDRCONFIG.Stefan Metzmacher1-0/+4
Jeremy. (cherry picked from commit 3ef3c3afc3f56b0f4fdb384d55d2e712060fbedf) (This used to be commit 5d2995c413ff3da801c40fc6d631e2cd443695e3)
2007-12-21r25685: rename getsmbpass -> rep_getpass and provide the function prototypeStefan Metzmacher2-2/+3
metze (cherry picked from commit 96820f8d8f6522fc264efda0f069e2f6a420ac2e) (This used to be commit cd5069a8ca17a3a14814c0fbf55f113690291165)
2007-12-21r25684: use "system/*.h" to get the system includesStefan Metzmacher1-15/+3
metze (cherry picked from commit d20c2fa274297e9577ed28b8ed04806a425bdc57) (This used to be commit ee8557783534ac5b075a8a4655a12b33b854c050)
2007-12-21r25683: fix the compilation of getpass.c and it's configure testStefan Metzmacher2-13/+2
metze (cherry picked from commit f4c0961a16a84dcdfe6e2faafb75c76983e6d466) (This used to be commit 5d747fcad0b0ac66584da500148e7647122e0544)
2007-12-21r25682: r16320: Ensure variable is not null before calling fclose. Klocwork ↵Stefan Metzmacher1-1/+1
#412. Jeremy. (cherry picked from commit 33ee0cfb190a883229d0824d7194898fd8966ceb) (This used to be commit 3910d069413834744b17175bb29775a69002712e)
2007-12-21r25681: r16245: Cope with string being zero len. Klocwork bug #410. Jeremy.Stefan Metzmacher1-2/+4
(cherry picked from commit 46c12de07fe6f44bcf58ca9de276e7932384843d) (This used to be commit 7099dde3fd8962e752451ebe2d5d79de4d7caee9)
2007-12-21r25680: Volker's fix for bug #668. Change the \n after the password prompt ↵Stefan Metzmacher1-2/+3
to go to tty instead of stdout. (cherry picked from commit 0cd1ed0424ce87f60070d43caffda41be6706d59) (This used to be commit 249d69fd85b67657a4523ffc9244a8b4ab01270a)
2007-12-21r25679: reapply: Allow ^C to interrupt smbpasswd if using our getpass. from ↵Stefan Metzmacher1-4/+32
Jeremy metze (cherry picked from commit d4ae42b1b2982dd786d6da16d7fa964d25fd3356) (This used to be commit a11d21790fc2ee33998e042195ccbad73631bad8)
2007-12-21r25678: reformat getpass() replacement codeStefan Metzmacher1-62/+58
metze (cherry picked from commit 3e8f43e3cf97f10be4717978643ef3edca8650a5) (This used to be commit 78da4477a7ef920ff77b41abb841465511b8db31)
2007-12-21r25677: add missing stuff from samba3Stefan Metzmacher1-0/+30
metze (This used to be commit d286c0533dd2726ebc547dcaf99f45169d4a9d2f)
2007-12-21r25676: fixed a valgrind error in the epoll event backend. The linked listAndrew Tridgell1-3/+2
could get mucked up. (This used to be commit 67240f380b2828eb85463ab2d256ae601f57348f)
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-21r25630: Allow "NULL" as memory context, for consistency with the rest of the ↵Jelmer Vernooij1-1/+1
code, which also does. (This used to be commit 083b606496308741958bb9fc6b3e50a582857677)
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 Vernooij9-79/+62
system/network.h because we stripped down includes. (This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
2007-12-21r25614: Add trivial tdb website.Jelmer Vernooij1-0/+44
(This used to be commit 6f88c41c31271fd4b634b6393dc4ca44563a88d2)
2007-12-21r25613: verify the length and type before checking the value,Stefan Metzmacher1-3/+2
hopefully gives more info why this fails some bigendian platforms metze (This used to be commit 1d2bc79aa5841bbdbaf003005a161bbf294c7366)
2007-12-21r25607: Allow to set security descriptor type flags at creation time withGünther Deschner1-0/+1
security_descriptor_create(). Guenther (This used to be commit 7dd0d28d254f78891b0807492baafa188b42df16)
2007-12-21r25605: Last round of registry reformats (before this gets an obsession...).Günther Deschner4-271/+328
Guenther (This used to be commit ceb2ebfbf1eeb80bd34beadbba3a3c7a04da306a)
2007-12-21r25603: More reformat.Günther Deschner5-118/+164
Guenther (This used to be commit 176614423ea57e853211c43b9853203243c6a978)
2007-12-21r25602: don't imply "system/network.h" within replace.h,Stefan Metzmacher2-4/+18
as this brings in the socket_wrapper.h in unexpected code and we endup with a missing 'swrap_close' while linking metze (This used to be commit 507d5ca7d994f0771dbb66e61d2d22e391508658)
2007-12-21r25601: replace.h should never imply any "system/*.h"Stefan Metzmacher2-7/+12
(here it's "system/time.h") metze (This used to be commit 00467c25930a527eb9831cfd893bd8e217ca4f74)
2007-10-10r25600: fix stupid typo...this should fix the build on sunXStefan Metzmacher1-1/+1
metze (This used to be commit 192c05556f786b4523fb325cee6d87b251aee059)
2007-10-10r25597: HPUX doesn't have INET_ADDRSTRLEN definedStefan Metzmacher1-0/+4
metze (This used to be commit f9696109cc8f4646599f73b78e1eacd94d1a6c2c)
2007-10-10r25586: Fix getaddrinfo detection - from Timur.Jeremy Allison1-1/+9
Jeremy. (This used to be commit 48819012f81167f07d2e909329432d2ef222b1bf)
2007-10-10r25577: BOOL -> boolStefan Metzmacher1-19/+19
metze (This used to be commit 6f665a12789b839c3d49ea8307f78bec77730c94)
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-10r25558: Define HAVE_* for other gai functions to prevent problems with libroken.Jelmer Vernooij1-0/+2
(This used to be commit e09828a634bf10bda9c6f28b18106c2bcab84643)
2007-10-10r25556: Update README.Jelmer Vernooij1-0/+6
(This used to be commit 1a7dbfde5fcef19998b8af470c152a76386fb79f)
2007-10-10r25548: Convert to standard bool type.Jelmer Vernooij1-5/+5
(This used to be commit 190d73b44b9b9c6dabbd26212d596d985b25edab)
2007-10-10r25545: Use inet_ntop for ipv4 code as well - should make it easier to share ↵Jelmer Vernooij2-12/+17
code between IPv4 and IPv6 later on. (This used to be commit e3df90927b2878917f0f555772a875f05bf609e8)
2007-10-10r25544: Cleanup some more indents in lib/registry.Günther Deschner16-1206/+1437
Guenther (This used to be commit 0d9826dc54057db2cfebcb806e5442c4dcf60daa)
2007-10-10r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, ↵Jelmer Vernooij9-6/+1128
getnameinfo (and friends) from SAMBA_3_2, with some minor tweaks: - avoid including network headers in replace.h unless absolutely required - autoconf tests for getaddrinfo() in lib/replace The heimdal-specific code also no longer looks for these functions anymore. (This used to be commit b6d3fd84a5d7d814035e60d6fa22f19bed9f77da)