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

13287 Commits

Author SHA1 Message Date
Stefan Metzmacher
5d2995c413 r25686: Added in missing def for AI_ADDRCONFIG.
Jeremy.
(cherry picked from commit 3ef3c3afc3)
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
cd5069a8ca r25685: rename getsmbpass -> rep_getpass and provide the function prototype
metze
(cherry picked from commit 96820f8d8f)
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
ee85577835 r25684: use "system/*.h" to get the system includes
metze
(cherry picked from commit d20c2fa274)
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
5d747fcad0 r25683: fix the compilation of getpass.c and it's configure test
metze
(cherry picked from commit f4c0961a16)
2007-12-21 05:43:12 +01:00
Stefan Metzmacher
3910d06941 r25682: r16320: Ensure variable is not null before calling fclose. Klocwork #412. Jeremy.
(cherry picked from commit 33ee0cfb19)
2007-12-21 05:43:12 +01:00
Stefan Metzmacher
7099dde3fd r25681: r16245: Cope with string being zero len. Klocwork bug #410. Jeremy.
(cherry picked from commit 46c12de07f)
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
249d69fd85 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)
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
a11d21790f r25679: reapply: Allow ^C to interrupt smbpasswd if using our getpass. from Jeremy
metze
(cherry picked from commit d4ae42b1b2)
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
78da4477a7 r25678: reformat getpass() replacement code
metze
(cherry picked from commit 3e8f43e3cf)
2007-12-21 05:43:10 +01:00
Stefan Metzmacher
d286c0533d r25677: add missing stuff from samba3
metze
2007-12-21 05:43:09 +01:00
Andrew Tridgell
67240f380b r25676: fixed a valgrind error in the epoll event backend. The linked list
could get mucked up.
2007-12-21 05:43:09 +01:00
Günther Deschner
7ab033e839 r25675: More frsapi IDL.
Guenther
2007-12-21 05:43:09 +01:00
Stefan Metzmacher
7203f717a6 r25674: fix crash bug in pidl generated client code, this
could have happend with [in,out,unique] pointers
when the clients sends a valid pointer, but the server
reponse with a NULL pointer (as samba-3.0.26a do for some calls).

I've tested with midl to see how windows handles this situation
and also the reverse case where the client sends NULL and
the server reposnse with non-NULL.

It appears that midl generated code just ignores this
and only copies the result if both pointers are non-NULL.

metze
2007-12-21 05:43:08 +01:00
Günther Deschner
b9d53f1eea r25673: Ignore RPC-FRSAPI for samba4.
Guenther
2007-12-21 05:43:08 +01:00
Günther Deschner
8fa3de8dca r25672: Some more FRS werrors.
Guenther
2007-12-21 05:43:08 +01:00
Günther Deschner
a7ebef8dd7 r25671: Add stub FRSAPI_FORCE_REPLICATION.
Guenther
2007-12-21 05:43:07 +01:00
Günther Deschner
e7fc3c1da9 r25670: Add torture test for frsapi_IsPathReplicated().
Guenther
2007-12-21 05:43:07 +01:00
Günther Deschner
1b9e526bf6 r25669: Real build fix.
Guenther
2007-12-21 05:43:07 +01:00
Günther Deschner
df94fbfe96 r25668: Hopefully fix the build, sorry...
Guenther
2007-12-21 05:43:06 +01:00
Günther Deschner
ebcbdb5fbd r25667: Start on frsapi testsuite.
Guenther
2007-12-21 05:43:06 +01:00
Günther Deschner
d8fe7652bd r25666: Add frsapi_IsPathReplicated IDL.
Guenther
2007-12-21 05:43:05 +01:00
Günther Deschner
846d81c0ad r25665: Add some more WERR codes.
Guenther
2007-12-21 05:43:05 +01:00
Günther Deschner
2114103aed r25664: Use [out] pointers in frsapi idl.
Guenther
2007-12-21 05:43:04 +01:00
Günther Deschner
109e05b511 r25663: Add frsapi_SetDsPollingIntervalW and frsapi_GetDsPollingIntervalW idl.
Guenther
2007-12-21 05:43:04 +01:00
Günther Deschner
5922a12286 r25662: While watching traces, learned the frsapi_InfoEnum enum types.
Guenther
2007-12-21 05:43:04 +01:00
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