Jeremy Allison [Thu, 18 Oct 2007 22:40:51 +0000 (00:40 +0200)]
r25700: Now BOOL no longer exists in Samba 3.2, use bool instead.
Jeremy.
Günther Deschner [Thu, 18 Oct 2007 19:23:25 +0000 (21:23 +0200)]
r25699: Add ForceReplication test.
Guenther
Stefan Metzmacher [Thu, 18 Oct 2007 11:27:48 +0000 (13:27 +0200)]
r25697: make *clean doesn't work after a svn up when some *.mk files were removed
the error is:
SAMBA_4_0/source> make clean
make: *** No rule to make target `lib/ldb/samba/config.mk', needed by `Makefile'. Stop.
the problem is:
Makefile: config.status $(MK_FILES)
./config.status
so now we let the MK_FILES variable empty for the *clean targets
if gnu make is detected, we should later test if this construct
is portable to other make implementations and remove the check for gnu make.
metze
Günther Deschner [Thu, 18 Oct 2007 07:44:25 +0000 (09:44 +0200)]
r25696: Fix pipe name for dfs.
Guenther
Stefan Metzmacher [Thu, 18 Oct 2007 06:34:19 +0000 (08:34 +0200)]
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
Andrew Bartlett [Thu, 18 Oct 2007 03:47:11 +0000 (05:47 +0200)]
r25694: Move subtree_rename above the partitions module. The next step is to
built a linked_attributes module under this.
Andrew Bartlett
Andrew Bartlett [Thu, 18 Oct 2007 03:39:55 +0000 (05:39 +0200)]
r25693: Implement the rest of subtree renames, now that tridge waved his magic
over the ldb_tdb part of the problem.
Andrew Bartlett
Andrew Tridgell [Thu, 18 Oct 2007 01:32:07 +0000 (03:32 +0200)]
r25692: fixed another example where the free of fde and the free of the socket
causes the fd to be closed before epoll is told
Andrew Tridgell [Thu, 18 Oct 2007 01:14:10 +0000 (03:14 +0200)]
r25691: make "server role" case insensitive
Andrew Tridgell [Thu, 18 Oct 2007 00:03:21 +0000 (02:03 +0200)]
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
Andrew Tridgell [Wed, 17 Oct 2007 23:37:46 +0000 (01:37 +0200)]
r25689: test with a non-zero size file
Volker Lendecke [Wed, 17 Oct 2007 16:26:40 +0000 (18:26 +0200)]
r25688: Add a simple test for a samba3 regression
When trying an reqchal/auth2 for an unknown workstation account, we have
to return NT_STATUS_NO_TRUST_SAM_ACCOUNT to the auth2. v3-2-test right
now returns NT_STATUS_ACCESS_DENIED, which seems to prevent XP from
joining a Samba3 PDC.
Stefan Metzmacher [Wed, 17 Oct 2007 12:02:33 +0000 (14:02 +0200)]
r25687: Move #defined for getaddrinfo into network.h (as other
defines). Allows RHEL4 compile to work.
Jeremy.
(cherry picked from commit
0ffdf4fdeea88c21880c8bf69d8db56fb49effa7)
Stefan Metzmacher [Wed, 17 Oct 2007 12:02:20 +0000 (14:02 +0200)]
r25686: Added in missing def for AI_ADDRCONFIG.
Jeremy.
(cherry picked from commit
3ef3c3afc3f56b0f4fdb384d55d2e712060fbedf)
Stefan Metzmacher [Wed, 17 Oct 2007 12:02:06 +0000 (14:02 +0200)]
r25685: rename getsmbpass -> rep_getpass and provide the function prototype
metze
(cherry picked from commit
96820f8d8f6522fc264efda0f069e2f6a420ac2e)
Stefan Metzmacher [Wed, 17 Oct 2007 12:01:49 +0000 (14:01 +0200)]
r25684: use "system/*.h" to get the system includes
metze
(cherry picked from commit
d20c2fa274297e9577ed28b8ed04806a425bdc57)
Stefan Metzmacher [Wed, 17 Oct 2007 12:01:34 +0000 (14:01 +0200)]
r25683: fix the compilation of getpass.c and it's configure test
metze
(cherry picked from commit
f4c0961a16a84dcdfe6e2faafb75c76983e6d466)
Stefan Metzmacher [Wed, 17 Oct 2007 12:01:15 +0000 (14:01 +0200)]
r25682: r16320: Ensure variable is not null before calling fclose. Klocwork #412. Jeremy.
(cherry picked from commit
33ee0cfb190a883229d0824d7194898fd8966ceb)
Stefan Metzmacher [Wed, 17 Oct 2007 12:00:57 +0000 (14:00 +0200)]
r25681: r16245: Cope with string being zero len. Klocwork bug #410. Jeremy.
(cherry picked from commit
46c12de07fe6f44bcf58ca9de276e7932384843d)
Stefan Metzmacher [Wed, 17 Oct 2007 12:00:42 +0000 (14:00 +0200)]
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)
Stefan Metzmacher [Wed, 17 Oct 2007 12:00:23 +0000 (14:00 +0200)]
r25679: reapply: Allow ^C to interrupt smbpasswd if using our getpass. from Jeremy
metze
(cherry picked from commit
d4ae42b1b2982dd786d6da16d7fa964d25fd3356)
Stefan Metzmacher [Wed, 17 Oct 2007 12:00:09 +0000 (14:00 +0200)]
r25678: reformat getpass() replacement code
metze
(cherry picked from commit
3e8f43e3cf97f10be4717978643ef3edca8650a5)
Stefan Metzmacher [Wed, 17 Oct 2007 11:58:19 +0000 (13:58 +0200)]
r25677: add missing stuff from samba3
metze
Andrew Tridgell [Wed, 17 Oct 2007 10:00:30 +0000 (12:00 +0200)]
r25676: fixed a valgrind error in the epoll event backend. The linked list
could get mucked up.
Günther Deschner [Wed, 17 Oct 2007 07:50:39 +0000 (09:50 +0200)]
r25675: More frsapi IDL.
Guenther
Stefan Metzmacher [Wed, 17 Oct 2007 06:26:55 +0000 (08:26 +0200)]
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
Günther Deschner [Tue, 16 Oct 2007 15:23:34 +0000 (17:23 +0200)]
r25673: Ignore RPC-FRSAPI for samba4.
Guenther
Günther Deschner [Tue, 16 Oct 2007 15:22:03 +0000 (17:22 +0200)]
r25672: Some more FRS werrors.
Guenther
Günther Deschner [Tue, 16 Oct 2007 15:12:04 +0000 (17:12 +0200)]
r25671: Add stub FRSAPI_FORCE_REPLICATION.
Guenther
Günther Deschner [Tue, 16 Oct 2007 12:33:34 +0000 (14:33 +0200)]
r25670: Add torture test for frsapi_IsPathReplicated().
Guenther
Günther Deschner [Tue, 16 Oct 2007 12:09:49 +0000 (14:09 +0200)]
r25669: Real build fix.
Guenther
Günther Deschner [Tue, 16 Oct 2007 11:50:40 +0000 (13:50 +0200)]
r25668: Hopefully fix the build, sorry...
Guenther
Günther Deschner [Tue, 16 Oct 2007 11:44:43 +0000 (13:44 +0200)]
r25667: Start on frsapi testsuite.
Guenther
Günther Deschner [Tue, 16 Oct 2007 10:55:05 +0000 (12:55 +0200)]
r25666: Add frsapi_IsPathReplicated IDL.
Guenther
Günther Deschner [Tue, 16 Oct 2007 09:39:40 +0000 (11:39 +0200)]
r25665: Add some more WERR codes.
Guenther
Günther Deschner [Tue, 16 Oct 2007 09:30:58 +0000 (11:30 +0200)]
r25664: Use [out] pointers in frsapi idl.
Guenther
Günther Deschner [Tue, 16 Oct 2007 09:16:35 +0000 (11:16 +0200)]
r25663: Add frsapi_SetDsPollingIntervalW and frsapi_GetDsPollingIntervalW idl.
Guenther
Günther Deschner [Tue, 16 Oct 2007 09:12:41 +0000 (11:12 +0200)]
r25662: While watching traces, learned the frsapi_InfoEnum enum types.
Guenther
Andrew Bartlett [Tue, 16 Oct 2007 03:26:15 +0000 (05:26 +0200)]
r25661: We don't actually need to know with DEBUG(0, ... every time we ask for
some random bytes.
Andrew Bartlett
Andrew Bartlett [Mon, 15 Oct 2007 23:27:15 +0000 (01:27 +0200)]
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
Kai Blin [Mon, 15 Oct 2007 06:35:24 +0000 (08:35 +0200)]
r25642: Fix a small typo.
Jelmer Vernooij [Sun, 14 Oct 2007 13:12:21 +0000 (15:12 +0200)]
r25630: Allow "NULL" as memory context, for consistency with the rest of the code,
which also does.
Jelmer Vernooij [Sun, 14 Oct 2007 11:28:01 +0000 (13:28 +0200)]
r25628: Fix formatting, missing include.
Jelmer Vernooij [Sun, 14 Oct 2007 11:00:12 +0000 (13:00 +0200)]
r25627: Remove unused global.
Jelmer Vernooij [Sun, 14 Oct 2007 10:52:32 +0000 (12:52 +0200)]
r25626: Move some debug-specific prototypes to debug.h.
Jelmer Vernooij [Sat, 13 Oct 2007 18:24:37 +0000 (20:24 +0200)]
r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes.
Stefan Metzmacher [Fri, 12 Oct 2007 06:10:12 +0000 (08:10 +0200)]
r25623: add 'make test-swrap-pcap' and 'make test-swrap-keep-pcap'
metze
Stefan Metzmacher [Fri, 12 Oct 2007 06:08:46 +0000 (08:08 +0200)]
r25622: let --socket-wrapper-keep-pcap imply --socket-wrapper-pcap
metze
Andrew Bartlett [Wed, 10 Oct 2007 23:54:48 +0000 (01:54 +0200)]
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
Andrew Bartlett [Wed, 10 Oct 2007 22:44:39 +0000 (00:44 +0200)]
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
Jelmer Vernooij [Wed, 10 Oct 2007 21:58:29 +0000 (23:58 +0200)]
r25617: Make sure system include paths come after samba include paths. Patch from Timur Bakeyev.
Andrew Bartlett [Wed, 10 Oct 2007 21:25:22 +0000 (23:25 +0200)]
r25616: Fedora DS now has a way to install the schema and extra configuration
as part of the setup inf file.
Andrew Bartlett
Jelmer Vernooij [Wed, 10 Oct 2007 17:40:19 +0000 (19:40 +0200)]
r25615: Honor SMBD_VALGRIND and NMBD_VALGRIND for Samba3.
Jelmer Vernooij [Wed, 10 Oct 2007 15:04:00 +0000 (17:04 +0200)]
r25614: Add trivial tdb website.
Stefan Metzmacher [Wed, 10 Oct 2007 12:12:25 +0000 (14:12 +0200)]
r25613: verify the length and type before checking the value,
hopefully gives more info why this fails some bigendian
platforms
metze
Günther Deschner [Wed, 10 Oct 2007 11:56:47 +0000 (13:56 +0200)]
r25612: Add test_SetKeySecurity() call.
Guenther
Günther Deschner [Wed, 10 Oct 2007 11:50:21 +0000 (13:50 +0200)]
r25611: Smaller fix for winreg test.
Guenther
Günther Deschner [Wed, 10 Oct 2007 11:49:15 +0000 (13:49 +0200)]
r25610: Add security_descriptor_appendv() which takes va_list directly.
Guenther
Günther Deschner [Wed, 10 Oct 2007 11:23:06 +0000 (13:23 +0200)]
r25609: Reformat RPC-WINREG test.
Guenther
Günther Deschner [Wed, 10 Oct 2007 11:17:28 +0000 (13:17 +0200)]
r25608: Call security_descriptor_append from within security_descriptor_create.
Guenther
Günther Deschner [Wed, 10 Oct 2007 11:12:53 +0000 (13:12 +0200)]
r25607: Allow to set security descriptor type flags at creation time with
security_descriptor_create().
Guenther
Günther Deschner [Wed, 10 Oct 2007 10:55:07 +0000 (12:55 +0200)]
r25606: Allow test_GetKeySecurity() to return a security descriptor.
Guenther
Günther Deschner [Wed, 10 Oct 2007 10:44:48 +0000 (12:44 +0200)]
r25605: Last round of registry reformats (before this gets an obsession...).
Guenther
Günther Deschner [Wed, 10 Oct 2007 10:42:55 +0000 (12:42 +0200)]
r25604: Add security_descriptor_append() helper function.
Guenther
Günther Deschner [Wed, 10 Oct 2007 10:27:24 +0000 (12:27 +0200)]
r25603: More reformat.
Guenther
Stefan Metzmacher [Wed, 10 Oct 2007 10:09:06 +0000 (12:09 +0200)]
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
Stefan Metzmacher [Wed, 10 Oct 2007 09:57:16 +0000 (11:57 +0200)]
r25601: replace.h should never imply any "system/*.h"
(here it's "system/time.h")
metze
Stefan Metzmacher [Fri, 21 Dec 2007 04:23:22 +0000 (05:23 +0100)]
Merge commit 'release-4-0-0alpha1' into v4-0-test
Stefan Metzmacher [Fri, 21 Dec 2007 04:21:31 +0000 (05:21 +0100)]
[GLUE] fix some executable bits on shell scripts
metze
Andrew Bartlett [Tue, 4 Sep 2007 21:47:00 +0000 (23:47 +0200)]
r24958: This is the final text, and the final version. I'll send the release
mail shortly.
Andrew Bartlett
Andrew Bartlett [Tue, 4 Sep 2007 07:15:16 +0000 (09:15 +0200)]
r24947: Forgot to merge this to release branch, so we got weird subs in
named.conf example.
Andrew Bartlett
Andrew Bartlett [Tue, 4 Sep 2007 03:57:54 +0000 (05:57 +0200)]
r24944: Merge acct_expiry fix to release branch.
Andrew Bartlett
Andrew Bartlett [Mon, 3 Sep 2007 05:58:18 +0000 (07:58 +0200)]
r24919: Merge build fix and improved error strings to release branch.
Andrew Bartlett
Andrew Bartlett [Mon, 3 Sep 2007 03:36:19 +0000 (05:36 +0200)]
r24917: More thoughts on Samba4 release notes, readme etc.
Andrew Bartlett
Andrew Bartlett [Mon, 3 Sep 2007 02:14:54 +0000 (04:14 +0200)]
r24916: (merge to release branch)
In response to bug #4892 by Matthias Wallnöfer <mwallnoefer@yahoo.de>
allow the objectclass module to reconstruct the objectclass hierarchy,
rather than using templates.
The issue being fixed in particular is that 'top' was not being set on
containers.
This should ensure we do this right for all objects.
Andrew Bartlett
Andrew Bartlett [Sun, 2 Sep 2007 21:43:25 +0000 (23:43 +0200)]
r24912: Merge 'use more substituted variables' patch to release branch.
Andrew Bartlett
Andrew Bartlett [Sun, 2 Sep 2007 21:29:48 +0000 (23:29 +0200)]
r24910: Merge named.conf patch by Andrew Kroeger <andrew@sprocks.gotdns.com>
into release branch.
Andrew Bartlett
Andrew Bartlett [Fri, 31 Aug 2007 21:13:18 +0000 (23:13 +0200)]
r24858: Make the 'vampire' code work again - clearly nobody uses this...
Andrew Bartlett
Andrew Bartlett [Fri, 31 Aug 2007 04:48:32 +0000 (06:48 +0200)]
r24823: Without any better ideas as to how to fill out the WHATSNEW, I've
stolen the text from the first TP. Comments welcome...
Andrew Bartlett
Andrew Bartlett [Fri, 31 Aug 2007 00:35:16 +0000 (02:35 +0200)]
r24821: Update the mkrelease.sh script and mkversion.sh to make releasing correct
Samba4 tarballs harder to screw up.
Andrew Bartlett
Stefan Metzmacher [Wed, 10 Oct 2007 10:19:19 +0000 (10:19 +0000)]
r25600: fix stupid typo...this should fix the build on sunX
metze
Stefan Metzmacher [Wed, 10 Oct 2007 09:39:00 +0000 (09:39 +0000)]
r25599: print the error...
metze
Stefan Metzmacher [Wed, 10 Oct 2007 07:18:24 +0000 (07:18 +0000)]
r25597: HPUX doesn't have INET_ADDRSTRLEN defined
metze
Andrew Bartlett [Wed, 10 Oct 2007 01:54:07 +0000 (01:54 +0000)]
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
Stefan Metzmacher [Tue, 9 Oct 2007 19:01:48 +0000 (19:01 +0000)]
r25595: we pass the "blackbox.smbclient.*USER and PASSWD" test
so don't let the build-farm complain that is passes unexpected
metze
Günther Deschner [Tue, 9 Oct 2007 16:26:11 +0000 (16:26 +0000)]
r25594: Merge from 3_2:
"Add missing security_secinfo bits as seen while managing security descriptor
inheritance with regedit."
Guenther
Jeremy Allison [Mon, 8 Oct 2007 23:10:09 +0000 (23:10 +0000)]
r25586: Fix getaddrinfo detection - from Timur.
Jeremy.
Stefan Metzmacher [Mon, 8 Oct 2007 20:06:37 +0000 (20:06 +0000)]
r25585: don't start winbindd untill the build-farm faked users work with it
metze
Stefan Metzmacher [Mon, 8 Oct 2007 17:43:27 +0000 (17:43 +0000)]
r25582: build nmblookup with make testsuite as it's needed in the blackbox tests
metze
Stefan Metzmacher [Mon, 8 Oct 2007 15:22:26 +0000 (15:22 +0000)]
r25581: move variable to the place it belongs to.
metze
Jelmer Vernooij [Mon, 8 Oct 2007 14:57:11 +0000 (14:57 +0000)]
r25580: Error out if there are no tests to run.
Stefan Metzmacher [Mon, 8 Oct 2007 14:22:10 +0000 (14:22 +0000)]
r25579: BOOL -> bool
metze
Stefan Metzmacher [Mon, 8 Oct 2007 14:21:22 +0000 (14:21 +0000)]
r25578: BOOL -> bool
metze
Stefan Metzmacher [Mon, 8 Oct 2007 14:19:35 +0000 (14:19 +0000)]
r25577: BOOL -> bool
metze
Stefan Metzmacher [Mon, 8 Oct 2007 14:18:19 +0000 (14:18 +0000)]
r25576: BOOL -> bool
metze
Jelmer Vernooij [Mon, 8 Oct 2007 12:57:30 +0000 (12:57 +0000)]
r25574: Support SMBD_OPTIONS, NMBD_OPTIONS and WINBINDD_OPTIONS environment variables for make test.
Jelmer Vernooij [Mon, 8 Oct 2007 10:05:13 +0000 (10:05 +0000)]
r25566: Use -lexecinfo for backtraces on FreeBSD. Patch by Timur I. Bakeyev <timur@com.bat.ru>
Jelmer Vernooij [Sun, 7 Oct 2007 13:10:39 +0000 (13:10 +0000)]
r25562: Use standard bool types in cyrus sasl code - patch by Julien.
Jelmer Vernooij [Sun, 7 Oct 2007 00:25:27 +0000 (00:25 +0000)]
r25558: Define HAVE_* for other gai functions to prevent problems with libroken.
Jelmer Vernooij [Sat, 6 Oct 2007 22:58:15 +0000 (22:58 +0000)]
r25556: Update README.