Stefan Metzmacher
74a2b05793
r25728: [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.c
...
metze
(This used to be commit 5648c8a0de
)
2007-12-21 05:43:31 +01:00
Stefan Metzmacher
805eb06209
r25726: [libreplace] move and fix getaddrinfo configure checks
...
- move getaddrinfo check into getaddrinfo.m4
- add getaddrinfo.o to LIBREPLACEOBJ so that we really build the replacements
metze
(This used to be commit b594d9c9fa
)
2007-12-21 05:43:30 +01:00
Stefan Metzmacher
79affaf37a
r25725: merge commit bc9008aa1d
from v3-2-test:
...
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 25a892f2ad
)
2007-12-21 05:43:29 +01:00
Stefan Metzmacher
88f6c5a1d2
r25724: - include getaddrinfo.h after we have defined struct addrinfo
...
- use rep_ instead of pg_ as prefix in getaddrinfo.[ch]
- define HAVE_<name> macros when we replace functions
metze
(This used to be commit 57d5cf4b5f
)
2007-12-21 05:43:29 +01:00
Stefan Metzmacher
31569f1c88
r25718: [libreplace] if we replace types define the HAVE_<type> macro
...
this is needed as heimdal's roken.h also tries to replace the types
metze
(This used to be commit 8b92b81101
)
2007-12-21 05:43:26 +01:00
Stefan Metzmacher
582496f5d0
r25715: [libreplace] move definition of struct addrinfo so that it can use socklen_t
...
metze
(This used to be commit 12cec014c4
)
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
c01f61340b
r25714: [libreplace] move define of a constant to near to the others
...
metze
(This used to be commit 8bd2cf71be
)
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
1cfd89c6aa
r25713: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_t
...
metze
(This used to be commit a3657a4e71
)
2007-12-21 05:43:24 +01:00
Stefan Metzmacher
1a766af41e
r25695: [libreplace] fix the standalone build of libreplace
...
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 95462d614d
)
2007-12-21 05:43:18 +01:00
Andrew Tridgell
0906096ee4
r25690: - only use a readonly traverse in ldb_search when not in a 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 aa9ab431e0
)
2007-12-21 05:43:15 +01:00
Stefan Metzmacher
9f53479997
r25687: Move #defined for getaddrinfo into network.h (as other
...
defines). Allows RHEL4 compile to work.
Jeremy.
(cherry picked from commit 0ffdf4fdee
)
(This used to be commit facb811bb3
)
2007-12-21 05:43:14 +01:00
Stefan Metzmacher
1b73fcadb2
r25686: Added in missing def for AI_ADDRCONFIG.
...
Jeremy.
(cherry picked from commit 3ef3c3afc3
)
(This used to be commit 5d2995c413
)
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
c68e3d8d65
r25685: rename getsmbpass -> rep_getpass and provide the function prototype
...
metze
(cherry picked from commit 96820f8d8f
)
(This used to be commit cd5069a8ca
)
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
de0343b77b
r25684: use "system/*.h" to get the system includes
...
metze
(cherry picked from commit d20c2fa274
)
(This used to be commit ee85577835
)
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
2367364094
r25683: fix the compilation of getpass.c and it's configure test
...
metze
(cherry picked from commit f4c0961a16
)
(This used to be commit 5d747fcad0
)
2007-12-21 05:43:12 +01:00
Stefan Metzmacher
190039a378
r25682: r16320: Ensure variable is not null before calling fclose. Klocwork #412 . Jeremy.
...
(cherry picked from commit 33ee0cfb19
)
(This used to be commit 3910d06941
)
2007-12-21 05:43:12 +01:00
Stefan Metzmacher
066f56bfef
r25681: r16245: Cope with string being zero len. Klocwork bug #410 . Jeremy.
...
(cherry picked from commit 46c12de07f
)
(This used to be commit 7099dde3fd
)
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
50a749404b
r25680: Volker's fix for bug #668 . Change the \n after the password prompt to go to tty instead of stdout.
...
(cherry picked from commit 0cd1ed0424
)
(This used to be commit 249d69fd85
)
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
2627603506
r25679: reapply: Allow ^C to interrupt smbpasswd if using our getpass. from Jeremy
...
metze
(cherry picked from commit d4ae42b1b2
)
(This used to be commit a11d21790f
)
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
090015a6fb
r25678: reformat getpass() replacement code
...
metze
(cherry picked from commit 3e8f43e3cf
)
(This used to be commit 78da4477a7
)
2007-12-21 05:43:10 +01:00
Stefan Metzmacher
ce7a3abcd8
r25677: add missing stuff from samba3
...
metze
(This used to be commit d286c0533d
)
2007-12-21 05:43:09 +01:00
Andrew Tridgell
e95a5e2541
r25676: fixed a valgrind error in the epoll event backend. The linked list
...
could get mucked up.
(This used to be commit 67240f380b
)
2007-12-21 05:43:09 +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
957af15e4b
r25630: Allow "NULL" as memory context, for consistency with the rest of the code,
...
which also does.
(This used to be commit 083b606496
)
2007-12-21 05:43:02 +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
61931ca643
r25614: Add trivial tdb website.
...
(This used to be commit 6f88c41c31
)
2007-12-21 05:42:53 +01:00
Stefan Metzmacher
0e30691861
r25613: verify the length and type before checking the value,
...
hopefully gives more info why this fails some bigendian
platforms
metze
(This used to be commit 1d2bc79aa5
)
2007-12-21 05:42:53 +01:00
Günther Deschner
a6c4b9d179
r25607: Allow to set security descriptor type flags at creation time with
...
security_descriptor_create().
Guenther
(This used to be commit 7dd0d28d25
)
2007-12-21 05:42:51 +01:00
Günther Deschner
c353a7b05e
r25605: Last round of registry reformats (before this gets an obsession...).
...
Guenther
(This used to be commit ceb2ebfbf1
)
2007-12-21 05:42:49 +01:00
Günther Deschner
33032276f5
r25603: More reformat.
...
Guenther
(This used to be commit 176614423e
)
2007-12-21 05:42:48 +01:00
Stefan Metzmacher
a3e5710eda
r25602: don't imply "system/network.h" within replace.h,
...
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 507d5ca7d9
)
2007-12-21 05:42:47 +01:00
Stefan Metzmacher
6876d2613d
r25601: replace.h should never imply any "system/*.h"
...
(here it's "system/time.h")
metze
(This used to be commit 00467c2593
)
2007-12-21 05:42:46 +01:00
Stefan Metzmacher
f1e23d5a62
r25600: fix stupid typo...this should fix the build on sunX
...
metze
(This used to be commit 192c05556f
)
2007-10-10 15:08:03 -05:00
Stefan Metzmacher
39f5745c16
r25597: HPUX doesn't have INET_ADDRSTRLEN defined
...
metze
(This used to be commit f9696109cc
)
2007-10-10 15:08:02 -05:00
Jeremy Allison
397a0aaa43
r25586: Fix getaddrinfo detection - from Timur.
...
Jeremy.
(This used to be commit 48819012f8
)
2007-10-10 15:08:00 -05:00
Stefan Metzmacher
863a1dd155
r25577: BOOL -> bool
...
metze
(This used to be commit 6f665a1278
)
2007-10-10 15:07:58 -05: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
775a3d034d
r25558: Define HAVE_* for other gai functions to prevent problems with libroken.
...
(This used to be commit e09828a634
)
2007-10-10 15:07:56 -05:00
Jelmer Vernooij
f3e212ff69
r25556: Update README.
...
(This used to be commit 1a7dbfde5f
)
2007-10-10 15:07:56 -05:00
Jelmer Vernooij
2f1c0eca13
r25548: Convert to standard bool type.
...
(This used to be commit 190d73b44b
)
2007-10-10 15:07:53 -05:00
Jelmer Vernooij
6bc52259aa
r25545: Use inet_ntop for ipv4 code as well - should make it easier to share code between IPv4 and IPv6 later on.
...
(This used to be commit e3df90927b
)
2007-10-10 15:07:51 -05:00
Günther Deschner
cc8f4eb3cd
r25544: Cleanup some more indents in lib/registry.
...
Guenther
(This used to be commit 0d9826dc54
)
2007-10-10 15:07:51 -05:00
Jelmer Vernooij
e511090a43
r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, 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 b6d3fd84a5
)
2007-10-10 15:07:51 -05:00
Jelmer Vernooij
f0bc19ae47
r25541: Add setup.py for building ldb python wrappers standalone.
...
(This used to be commit 0e77e3e316
)
2007-10-10 15:07:50 -05:00
Jelmer Vernooij
68a9ab6b01
r25540: Remove prototypes for already removed functions.
...
(This used to be commit 042dff55b4
)
2007-10-10 15:07:50 -05:00
Jelmer Vernooij
5799692be7
r25537: Use new path for events modules.
...
(This used to be commit f9270073a2
)
2007-10-10 15:07:49 -05:00