1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-05 04:23:51 +03:00
Commit Graph

13262 Commits

Author SHA1 Message Date
Andrew Bartlett
606c82f625 r25661: We don't actually need to know with DEBUG(0, ... every time we ask for
some random bytes.

Andrew Bartlett
2007-12-21 05:43:03 +01:00
Andrew Bartlett
6a5630d371 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
2007-12-21 05:43:03 +01:00
Kai Blin
7416a1d606 r25642: Fix a small typo. 2007-12-21 05:43:02 +01:00
Jelmer Vernooij
083b606496 r25630: Allow "NULL" as memory context, for consistency with the rest of the code,
which also does.
2007-12-21 05:43:02 +01:00
Jelmer Vernooij
aafd3ea03f r25628: Fix formatting, missing include. 2007-12-21 05:43:01 +01:00
Jelmer Vernooij
b0b4668333 r25627: Remove unused global. 2007-12-21 05:43:01 +01:00
Jelmer Vernooij
84a2027540 r25626: Move some debug-specific prototypes to debug.h. 2007-12-21 05:43:00 +01:00
Jelmer Vernooij
262c1c23a6 r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes. 2007-12-21 05:43:00 +01:00
Stefan Metzmacher
398940031b r25623: add 'make test-swrap-pcap' and 'make test-swrap-keep-pcap'
metze
2007-12-21 05:42:57 +01:00
Stefan Metzmacher
eceed3f6d6 r25622: let --socket-wrapper-keep-pcap imply --socket-wrapper-pcap
metze
2007-12-21 05:42:56 +01:00
Andrew Bartlett
b15df834ae r25619: As perhaps could have been expected, the CFLAGS hack broke all non-gcc
compilers.

Instead, as jelmer suggests, remove the depricated marker on fstring,
for as long as it is used in the samba3 winbind protocol.

Andrew Bartlett
2007-12-21 05:42:55 +01:00
Andrew Bartlett
b7e4b4f95c r25618: I'm sick of the fstring warnings turning up here. Let's see how much
of the build farm I can break with this...

Andrew Bartlett
2007-12-21 05:42:55 +01:00
Jelmer Vernooij
7565c4a0dd r25617: Make sure system include paths come after samba include paths. Patch from Timur Bakeyev. 2007-12-21 05:42:55 +01:00
Andrew Bartlett
6c8987464e r25616: Fedora DS now has a way to install the schema and extra configuration
as part of the setup inf file.

Andrew Bartlett
2007-12-21 05:42:54 +01:00
Jelmer Vernooij
9f1e4a44b5 r25615: Honor SMBD_VALGRIND and NMBD_VALGRIND for Samba3. 2007-12-21 05:42:54 +01:00
Jelmer Vernooij
6f88c41c31 r25614: Add trivial tdb website. 2007-12-21 05:42:53 +01:00
Stefan Metzmacher
1d2bc79aa5 r25613: verify the length and type before checking the value,
hopefully gives more info why this fails some bigendian
platforms

metze
2007-12-21 05:42:53 +01:00
Günther Deschner
a5e4d13eef r25612: Add test_SetKeySecurity() call.
Guenther
2007-12-21 05:42:53 +01:00
Günther Deschner
e9e6ee4f73 r25611: Smaller fix for winreg test.
Guenther
2007-12-21 05:42:52 +01:00
Günther Deschner
99408cf20c r25610: Add security_descriptor_appendv() which takes va_list directly.
Guenther
2007-12-21 05:42:52 +01:00
Günther Deschner
617091fb5a r25609: Reformat RPC-WINREG test.
Guenther
2007-12-21 05:42:51 +01:00
Günther Deschner
1ebcceb922 r25608: Call security_descriptor_append from within security_descriptor_create.
Guenther
2007-12-21 05:42:51 +01:00
Günther Deschner
7dd0d28d25 r25607: Allow to set security descriptor type flags at creation time with
security_descriptor_create().

Guenther
2007-12-21 05:42:51 +01:00
Günther Deschner
3a0d22f572 r25606: Allow test_GetKeySecurity() to return a security descriptor.
Guenther
2007-12-21 05:42:50 +01:00
Günther Deschner
ceb2ebfbf1 r25605: Last round of registry reformats (before this gets an obsession...).
Guenther
2007-12-21 05:42:49 +01:00
Günther Deschner
7d8f53b1c7 r25604: Add security_descriptor_append() helper function.
Guenther
2007-12-21 05:42:48 +01:00
Günther Deschner
176614423e r25603: More reformat.
Guenther
2007-12-21 05:42:48 +01:00
Stefan Metzmacher
507d5ca7d9 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
2007-12-21 05:42:47 +01:00
Stefan Metzmacher
00467c2593 r25601: replace.h should never imply any "system/*.h"
(here it's "system/time.h")

metze
2007-12-21 05:42:46 +01:00
Stefan Metzmacher
76f1f7d701 [GLUE] fix some executable bits on shell scripts
metze
2007-12-21 05:21:31 +01:00
Stefan Metzmacher
192c05556f r25600: fix stupid typo...this should fix the build on sunX
metze
2007-10-10 15:08:03 -05:00
Stefan Metzmacher
b7027404ba r25599: print the error...
metze
2007-10-10 15:08:03 -05:00
Stefan Metzmacher
f9696109cc r25597: HPUX doesn't have INET_ADDRSTRLEN defined
metze
2007-10-10 15:08:02 -05:00
Andrew Bartlett
fd309065bb r25596: It isn't valid to take the address of an array on the stack, and this
isn't what memset wants anyway.

Thanks to Indar Kriplani <indar.kriplani@gmail.com>.  Fixes bug 5010

Andrew Bartlett
2007-10-10 15:08:02 -05:00
Stefan Metzmacher
cf3f0de921 r25595: we pass the "blackbox.smbclient.*USER and PASSWD" test
so don't let the build-farm complain that is passes unexpected

metze
2007-10-10 15:08:01 -05:00
Günther Deschner
1c1811c5e3 r25594: Merge from 3_2:
"Add missing security_secinfo bits as seen while managing security descriptor
inheritance with regedit."

Guenther
2007-10-10 15:08:01 -05:00
Jeremy Allison
48819012f8 r25586: Fix getaddrinfo detection - from Timur.
Jeremy.
2007-10-10 15:08:00 -05:00
Stefan Metzmacher
eacbe31c89 r25585: don't start winbindd untill the build-farm faked users work with it
metze
2007-10-10 15:08:00 -05:00
Stefan Metzmacher
18991998b2 r25582: build nmblookup with make testsuite as it's needed in the blackbox tests
metze
2007-10-10 15:08:00 -05:00
Stefan Metzmacher
578b4711c9 r25581: move variable to the place it belongs to.
metze
2007-10-10 15:07:59 -05:00
Jelmer Vernooij
eddb663959 r25580: Error out if there are no tests to run. 2007-10-10 15:07:59 -05:00
Stefan Metzmacher
058a0619e9 r25579: BOOL -> bool
metze
2007-10-10 15:07:59 -05:00
Stefan Metzmacher
198e8d7fff r25578: BOOL -> bool
metze
2007-10-10 15:07:58 -05:00
Stefan Metzmacher
6f665a1278 r25577: BOOL -> bool
metze
2007-10-10 15:07:58 -05:00
Stefan Metzmacher
9fd96e1989 r25576: BOOL -> bool
metze
2007-10-10 15:07:58 -05:00
Jelmer Vernooij
814027146d r25574: Support SMBD_OPTIONS, NMBD_OPTIONS and WINBINDD_OPTIONS environment variables for make test. 2007-10-10 15:07:57 -05:00
Jelmer Vernooij
8d4a435601 r25566: Use -lexecinfo for backtraces on FreeBSD. Patch by Timur I. Bakeyev <timur@com.bat.ru> 2007-10-10 15:07:57 -05:00
Jelmer Vernooij
4f664939af r25562: Use standard bool types in cyrus sasl code - patch by Julien. 2007-10-10 15:07:56 -05:00
Jelmer Vernooij
e09828a634 r25558: Define HAVE_* for other gai functions to prevent problems with libroken. 2007-10-10 15:07:56 -05:00
Jelmer Vernooij
1a7dbfde5f r25556: Update README. 2007-10-10 15:07:56 -05:00