Stefan Metzmacher
190039a378
r25682: r16320: Ensure variable is not null before calling fclose. Klocwork #412 . Jeremy.
...
(cherry picked from commit 33ee0cfb190a883229d0824d7194898fd8966ceb)
(This used to be commit 3910d069413834744b17175bb29775a69002712e)
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 46c12de07fe6f44bcf58ca9de276e7932384843d)
(This used to be commit 7099dde3fd8962e752451ebe2d5d79de4d7caee9)
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 0cd1ed0424ce87f60070d43caffda41be6706d59)
(This used to be commit 249d69fd85b67657a4523ffc9244a8b4ab01270a)
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 d4ae42b1b2982dd786d6da16d7fa964d25fd3356)
(This used to be commit a11d21790fc2ee33998e042195ccbad73631bad8)
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
090015a6fb
r25678: reformat getpass() replacement code
...
metze
(cherry picked from commit 3e8f43e3cf97f10be4717978643ef3edca8650a5)
(This used to be commit 78da4477a7ef920ff77b41abb841465511b8db31)
2007-12-21 05:43:10 +01:00
Stefan Metzmacher
ce7a3abcd8
r25677: add missing stuff from samba3
...
metze
(This used to be commit d286c0533dd2726ebc547dcaf99f45169d4a9d2f)
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 67240f380b2828eb85463ab2d256ae601f57348f)
2007-12-21 05:43:09 +01:00
Günther Deschner
c7a1a4abfa
r25675: More frsapi IDL.
...
Guenther
(This used to be commit 7ab033e8395d5284e9223618c238ff94d3948ac8)
2007-12-21 05:43:09 +01:00
Stefan Metzmacher
c28074da32
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
(This used to be commit 7203f717a676a741e49f96f2d477f4f459575caf)
2007-12-21 05:43:08 +01:00
Günther Deschner
af0832769f
r25673: Ignore RPC-FRSAPI for samba4.
...
Guenther
(This used to be commit b9d53f1eea8c1840e24edcbcbc3a284123ecfa36)
2007-12-21 05:43:08 +01:00
Günther Deschner
177faf940f
r25672: Some more FRS werrors.
...
Guenther
(This used to be commit 8fa3de8dca9e9d0d9f7fc79e4fc78b85313f870b)
2007-12-21 05:43:08 +01:00
Günther Deschner
d026214c09
r25671: Add stub FRSAPI_FORCE_REPLICATION.
...
Guenther
(This used to be commit a7ebef8dd744104da7216344867d8d2bd5463d1f)
2007-12-21 05:43:07 +01:00
Günther Deschner
5da21cd19b
r25670: Add torture test for frsapi_IsPathReplicated().
...
Guenther
(This used to be commit e7fc3c1da9764a2e7c103e05f3d774b540334f75)
2007-12-21 05:43:07 +01:00
Günther Deschner
47f67ef366
r25669: Real build fix.
...
Guenther
(This used to be commit 1b9e526bf60372e5b3731e98dbfcc029b04e4b01)
2007-12-21 05:43:07 +01:00
Günther Deschner
6282194fe5
r25668: Hopefully fix the build, sorry...
...
Guenther
(This used to be commit df94fbfe96200ed521fd377a01b6b7b7a7ef88d8)
2007-12-21 05:43:06 +01:00
Günther Deschner
8071c56ac2
r25667: Start on frsapi testsuite.
...
Guenther
(This used to be commit ebcbdb5fbdb30005a60431687a738df5f26d3472)
2007-12-21 05:43:06 +01:00
Günther Deschner
5e6372460c
r25666: Add frsapi_IsPathReplicated IDL.
...
Guenther
(This used to be commit d8fe7652bda2a984d830b83762950377a4849d64)
2007-12-21 05:43:05 +01:00
Günther Deschner
4860557842
r25665: Add some more WERR codes.
...
Guenther
(This used to be commit 846d81c0ade7a1b56366feb4338312c24dc4351b)
2007-12-21 05:43:05 +01:00
Günther Deschner
f1f746875c
r25664: Use [out] pointers in frsapi idl.
...
Guenther
(This used to be commit 2114103aedbe2134624caa3aba42b6f7721e6d45)
2007-12-21 05:43:04 +01:00
Günther Deschner
c6dd81a15c
r25663: Add frsapi_SetDsPollingIntervalW and frsapi_GetDsPollingIntervalW idl.
...
Guenther
(This used to be commit 109e05b5117b1722a190765f84563cea24273de1)
2007-12-21 05:43:04 +01:00
Günther Deschner
256b839ecc
r25662: While watching traces, learned the frsapi_InfoEnum enum types.
...
Guenther
(This used to be commit 5922a1228653709e1ff99be50e902663e152c706)
2007-12-21 05:43:04 +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 606c82f6254b8dc6fb32740a7bb55a1989081fe7)
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 6a5630d37191542022f02fae519227b7829ef620)
2007-12-21 05:43:03 +01:00
Kai Blin
1eaefd15cb
r25642: Fix a small typo.
...
(This used to be commit 7416a1d606a315174b782d67463f8cec878d18bb)
2007-12-21 05:43:02 +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 083b606496308741958bb9fc6b3e50a582857677)
2007-12-21 05:43:02 +01:00
Jelmer Vernooij
a449b30ca4
r25628: Fix formatting, missing include.
...
(This used to be commit aafd3ea03f52b08b6697f3778728659c790d03b4)
2007-12-21 05:43:01 +01:00
Jelmer Vernooij
ef13073676
r25627: Remove unused global.
...
(This used to be commit b0b4668333b53991b04cae8905836c766e50aa10)
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 84a202754004ec618aa2663a4614d80eb2c7ce60)
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 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
2007-12-21 05:43:00 +01:00
Stefan Metzmacher
8517878144
r25623: add 'make test-swrap-pcap' and 'make test-swrap-keep-pcap'
...
metze
(This used to be commit 398940031ba4b8208d80c0e589b7235120cf3594)
2007-12-21 05:42:57 +01:00
Stefan Metzmacher
23a55848d9
r25622: let --socket-wrapper-keep-pcap imply --socket-wrapper-pcap
...
metze
(This used to be commit eceed3f6d6d8df2abd264b7cc7b74ad3e1fc0758)
2007-12-21 05:42:56 +01:00
Andrew Bartlett
a72869d77b
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
(This used to be commit b15df834ae6506a5c585ec1ede8bf513339d9b13)
2007-12-21 05:42:55 +01:00
Andrew Bartlett
68c550e8e4
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
(This used to be commit b7e4b4f95cc3363329b2b14a4295bcb47bb30c53)
2007-12-21 05:42:55 +01:00
Jelmer Vernooij
a33d97341f
r25617: Make sure system include paths come after samba include paths. Patch from Timur Bakeyev.
...
(This used to be commit 7565c4a0dd304312898839df6789f7338cc1ea63)
2007-12-21 05:42:55 +01:00
Andrew Bartlett
5c4a4b4566
r25616: Fedora DS now has a way to install the schema and extra configuration
...
as part of the setup inf file.
Andrew Bartlett
(This used to be commit 6c8987464e198430885b9e71b54fed6758886fdd)
2007-12-21 05:42:54 +01:00
Jelmer Vernooij
286157f4aa
r25615: Honor SMBD_VALGRIND and NMBD_VALGRIND for Samba3.
...
(This used to be commit 9f1e4a44b55feca9ad873f7c0a29c99e76d2ec57)
2007-12-21 05:42:54 +01:00
Jelmer Vernooij
61931ca643
r25614: Add trivial tdb website.
...
(This used to be commit 6f88c41c31271fd4b634b6393dc4ca44563a88d2)
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 1d2bc79aa5841bbdbaf003005a161bbf294c7366)
2007-12-21 05:42:53 +01:00
Günther Deschner
bdf71f5dc6
r25612: Add test_SetKeySecurity() call.
...
Guenther
(This used to be commit a5e4d13eef9f20fdd304bff7279e56e09aa070f2)
2007-12-21 05:42:53 +01:00
Günther Deschner
89f6f464ea
r25611: Smaller fix for winreg test.
...
Guenther
(This used to be commit e9e6ee4f73c5ed88cbf4585aa7e1a40e06cc131f)
2007-12-21 05:42:52 +01:00
Günther Deschner
4fb9aeb556
r25610: Add security_descriptor_appendv() which takes va_list directly.
...
Guenther
(This used to be commit 99408cf20c6feb745cd2dd56c37015cfa11e9b3d)
2007-12-21 05:42:52 +01:00
Günther Deschner
bf1293e9f2
r25609: Reformat RPC-WINREG test.
...
Guenther
(This used to be commit 617091fb5aa708f4bfef3312d1442c3fc627bd30)
2007-12-21 05:42:51 +01:00
Günther Deschner
39f1dab9eb
r25608: Call security_descriptor_append from within security_descriptor_create.
...
Guenther
(This used to be commit 1ebcceb922bdb566e6a548aa1ad816eb8e9e26e9)
2007-12-21 05:42:51 +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 7dd0d28d254f78891b0807492baafa188b42df16)
2007-12-21 05:42:51 +01:00
Günther Deschner
50bf951977
r25606: Allow test_GetKeySecurity() to return a security descriptor.
...
Guenther
(This used to be commit 3a0d22f572bac4f53902cf1fcb6534fe88e6edab)
2007-12-21 05:42:50 +01:00
Günther Deschner
c353a7b05e
r25605: Last round of registry reformats (before this gets an obsession...).
...
Guenther
(This used to be commit ceb2ebfbf1eeb80bd34beadbba3a3c7a04da306a)
2007-12-21 05:42:49 +01:00
Günther Deschner
34d166111e
r25604: Add security_descriptor_append() helper function.
...
Guenther
(This used to be commit 7d8f53b1c73dc4025821d96d8f675b6866407acb)
2007-12-21 05:42:48 +01:00
Günther Deschner
33032276f5
r25603: More reformat.
...
Guenther
(This used to be commit 176614423ea57e853211c43b9853203243c6a978)
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 507d5ca7d994f0771dbb66e61d2d22e391508658)
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 00467c25930a527eb9831cfd893bd8e217ca4f74)
2007-12-21 05:42:46 +01:00