Andrew Tridgell [Thu, 9 Feb 2012 04:41:19 +0000 (15:41 +1100)]
test: skip the smb2.oplock test
this test causes a failure (and panic) in the deferred open code for
SMB2 with the smbd SMB2 implementation
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Thu, 9 Feb 2012 04:21:04 +0000 (15:21 +1100)]
s4-test: mark some smb2.create tests as known fail
this test was not previously run against the s3 SMB2 implementation
and has some subtests that fail
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Thu, 9 Feb 2012 04:15:09 +0000 (15:15 +1100)]
test: allow selection of test names by target
this allows us to add elements to knownfail with different results for
the ntvfs backend and the s3fs backend
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Thu, 9 Feb 2012 04:14:10 +0000 (15:14 +1100)]
torture: don't check the NOINDEXED bit in attribute comparison
this bit is dependent on user settings on the filesystem
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Thu, 9 Feb 2012 03:33:56 +0000 (14:33 +1100)]
s4-test: use samba4-ntvfs for smbtorture file server tests
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Thu, 9 Feb 2012 03:33:31 +0000 (14:33 +1100)]
torture: make smb2 lock test work with samba4-ntvfs
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Thu, 9 Feb 2012 03:33:09 +0000 (14:33 +1100)]
torture: added samba4-ntvfs target
this will be used for the samba4 server with the ntvfs backend
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Thu, 9 Feb 2012 03:10:41 +0000 (14:10 +1100)]
dbwrap: changed log level for information about lock order
we were filling our logs with lock ordering debug lines
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Thu, 9 Feb 2012 03:07:00 +0000 (14:07 +1100)]
s3fs: when samba is logging to stdout, ask smbd to also do so
this prevents make test getting spurious errors about opening log
files in the install prefix
Andrew Tridgell [Wed, 8 Feb 2012 03:09:14 +0000 (14:09 +1100)]
s3fs: enable SMB2 in Samba3 file server
Andrew Tridgell [Tue, 3 Jan 2012 05:48:29 +0000 (16:48 +1100)]
selftest: added a pipe on stdin in s3 child processes
this adds a pipe for STDIN in smbd, nmbd and winbindd when run in
selftest. This allows those processes to detect when they should exit
by looking for EOF on stdin.
Andrew Tridgell [Wed, 7 Dec 2011 21:31:05 +0000 (08:31 +1100)]
s4-test: change tests for new NTVFSDC environment
Andrew Tridgell [Wed, 7 Dec 2011 21:30:32 +0000 (08:30 +1100)]
test: create new NTVFSDC environment and remove PLUGINDC
the NTVFSDC environment runs the ntvfs file server. The PLUGINDC
environment is not needed any more, as the s3 file server is the
default
Andrew Tridgell [Tue, 6 Dec 2011 23:11:42 +0000 (10:11 +1100)]
s3fs: use rpc_server:default to simplify RPC setup
Andrew Tridgell [Wed, 30 Nov 2011 06:38:07 +0000 (17:38 +1100)]
s3fs: change to using smbd as file server by default
the test scripts are not quite setup to handle this yet, but its
useful for testing
Andrew Tridgell [Wed, 30 Nov 2011 06:29:10 +0000 (17:29 +1100)]
s3-loadparm: mark a few parameters as having P_BYTES type
this fixes a problem with "max xmit = 32K" resulting in a maximum SMB
transmit size of 32 bytes, which makes for some very interesting
network traces!
This is what was causing smbtorture to consume gigabytes of memory in
the rpc.schannel test
Andrew Tridgell [Wed, 30 Nov 2011 03:08:28 +0000 (14:08 +1100)]
smbd: detect EOF on stdin in --foreground mode
if EOF is detected on stdin then exit
Andrew Tridgell [Tue, 29 Nov 2011 23:06:46 +0000 (10:06 +1100)]
s3fs: rework file_server code to use child daemon
this makes $SBINDIR/smbd a child daemon of bin/samba, rather than
calling directly into the smbd code
Andrew Bartlett [Wed, 23 Nov 2011 23:24:58 +0000 (10:24 +1100)]
selftest: move vfs objects for the plugin DC to the Samba4.pm, as we no longer start smbd manually
Andrew Bartlett [Wed, 23 Nov 2011 23:24:15 +0000 (10:24 +1100)]
file_server: set options required to start the file server integrated into the samba binary
Andrew Bartlett [Thu, 8 Sep 2011 23:03:23 +0000 (09:03 +1000)]
selftest: change plugin_dc to test using s3fs
Andrew Tridgell [Mon, 2 May 2011 23:35:07 +0000 (09:35 +1000)]
s3fs: added file_server directory
this contains a file server backend that uses the smbd_base library
from the s3 core code
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Wed, 13 Jul 2011 07:27:45 +0000 (17:27 +1000)]
s4-winbind: use ncalrpc when talking to ourselves
this solves a problem with s3fs causing a fork bomb
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Bartlett [Tue, 6 Sep 2011 01:34:35 +0000 (11:34 +1000)]
s4-smb_server Remove inetd-mode samba3 hook
Jelmer Vernooij [Wed, 8 Feb 2012 13:17:17 +0000 (14:17 +0100)]
regshell: Fix a counter that can actually be non-zero.
This was a regression caused by one of the unsigned patches.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Feb 8 16:00:22 CET 2012 on sn-devel-104
Andrew Bartlett [Wed, 8 Feb 2012 06:41:54 +0000 (17:41 +1100)]
s3-passdb: Remove #if _SAMBA_BUILD_ == 4 from pdb_samba4
pdb_samba4 is only built with waf anyway.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Feb 8 09:17:40 CET 2012 on sn-devel-104
Andrew Bartlett [Fri, 3 Feb 2012 03:51:59 +0000 (14:51 +1100)]
s3-docs: Remove references to long-gone smbmount utilities
Andrew Bartlett [Mon, 30 Jan 2012 21:54:22 +0000 (08:54 +1100)]
auth: rename ntlmssp.c to ntlmssp_util.c
Andrew Bartlett [Mon, 30 Jan 2012 11:44:28 +0000 (22:44 +1100)]
s3-auth Add const to make_user_info_map
Andrew Bartlett [Mon, 6 Feb 2012 06:44:34 +0000 (17:44 +1100)]
s4-messaging: fix pymessaging docstring
Andrew Bartlett [Mon, 4 Jul 2011 00:14:27 +0000 (10:14 +1000)]
s3-build use common VERSION file for all builds
There is no need to have both version files at this point.
Andrew Bartlett
Andrew Tridgell [Wed, 8 Feb 2012 02:01:32 +0000 (13:01 +1100)]
pidl: add more mapped types
when we #define one type to another, we need special handling in the
python generator
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Feb 8 04:50:06 CET 2012 on sn-devel-104
Andrew Tridgell [Wed, 8 Feb 2012 02:00:29 +0000 (13:00 +1100)]
idl: wmi and dcom don't need python bindings
the python generation for these IDL files is currently broken
Amitay Isaacs [Tue, 7 Feb 2012 06:30:22 +0000 (17:30 +1100)]
samba-tool sites: Re-add support for option groups
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Wed Feb 8 02:27:28 CET 2012 on sn-devel-104
Amitay Isaacs [Tue, 7 Feb 2012 06:27:18 +0000 (17:27 +1100)]
samba-tool dns: Re-add support for option groups
Jeremy Allison [Tue, 7 Feb 2012 18:20:36 +0000 (10:20 -0800)]
Remove unused get_file_size() function.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Feb 7 20:56:28 CET 2012 on sn-devel-104
Volker Lendecke [Tue, 7 Feb 2012 15:41:25 +0000 (16:41 +0100)]
s3: Increase debug level of basic ctdb packet handling
This clutters the debug level 10 output significantly without much
value
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Tue Feb 7 18:19:08 CET 2012 on sn-devel-104
Andreas Schneider [Tue, 7 Feb 2012 10:11:15 +0000 (11:11 +0100)]
s3-waf: Link tdbsam against needed libraries.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Tue Feb 7 12:49:59 CET 2012 on sn-devel-104
Andreas Schneider [Mon, 6 Feb 2012 11:47:16 +0000 (12:47 +0100)]
s3-waf: Link against tdb_compat instead of tdb.
Jelmer Vernooij [Tue, 7 Feb 2012 00:09:41 +0000 (01:09 +0100)]
provision: Make sure target directory is created early.
This is necessary when using the target directory to store temporary
files.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Feb 7 02:45:37 CET 2012 on sn-devel-104
Jelmer Vernooij [Mon, 6 Feb 2012 22:26:36 +0000 (23:26 +0100)]
samba-tool user password: Re-add support for option groups.
Jelmer Vernooij [Mon, 6 Feb 2012 21:06:09 +0000 (22:06 +0100)]
samba-tool: Add optiongroups, necessary for 'samba-tool domain ...'
Jelmer Vernooij [Mon, 6 Feb 2012 16:47:25 +0000 (17:47 +0100)]
crypto: Use libbsd md5 header, if available.
Jelmer Vernooij [Mon, 6 Feb 2012 15:53:52 +0000 (16:53 +0100)]
crypto/md5: Change prototypes to match BSD.
Jelmer Vernooij [Mon, 6 Feb 2012 15:33:38 +0000 (16:33 +0100)]
Revert "samba-tool: moved takes_optiongroups definition to Command base class"
This reverts commit
f6fa8684896b8f3f9f8b7bd3742c99906973274c.
This keeps the main command class fairly slim, and makes it a bit
more obvious where the arguments to run() are coming from.
Conflicts:
source4/scripting/python/samba/netcmd/__init__.py
source4/scripting/python/samba/netcmd/domain.py
source4/scripting/python/samba/netcmd/gpo.py
source4/scripting/python/samba/netcmd/newuser.py
source4/scripting/python/samba/netcmd/testparm.py
source4/scripting/python/samba/netcmd/user.py
source4/scripting/python/samba/tests/samba_tool/__init__.py
Jelmer Vernooij [Mon, 6 Feb 2012 11:20:54 +0000 (12:20 +0100)]
charset/tests: Add prototypes for test functions.
Jelmer Vernooij [Sun, 5 Feb 2012 19:18:59 +0000 (20:18 +0100)]
smb_server: Preserve signedness of string push return value.
Jelmer Vernooij [Sun, 5 Feb 2012 19:12:23 +0000 (20:12 +0100)]
loadparm: handle P_SEP in switches (silences warning with clang).
Jelmer Vernooij [Sun, 5 Feb 2012 15:42:41 +0000 (16:42 +0100)]
pysocketwrapper: fix behaviour to be consistent with 'socket.getsockopt'
socklen_t is unsigned
Jelmer Vernooij [Sun, 5 Feb 2012 14:35:12 +0000 (15:35 +0100)]
torture/libnet: Include prototype headers.
Jelmer Vernooij [Sun, 5 Feb 2012 14:31:31 +0000 (15:31 +0100)]
pyxattr_tdb: Remove pointless check for blob.length < 0.
Jelmer Vernooij [Sun, 5 Feb 2012 14:31:05 +0000 (15:31 +0100)]
crypto: Add prototype for main torture functions.
Horacio G. de Oro [Fri, 3 Feb 2012 01:52:28 +0000 (22:52 -0300)]
Use named argument 'dir' instead of 'prefix' on NamedTemporaryFile for domain.py
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Horacio G. de Oro [Fri, 3 Feb 2012 01:48:26 +0000 (22:48 -0300)]
Use named argument 'dir' instead of 'prefix' on NamedTemporaryFile for source4/setup/provision
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Christof Schmitt [Mon, 6 Feb 2012 18:18:29 +0000 (11:18 -0700)]
s3-winbind: Remove unused bool "local"
"local" is always False, so simply remove it and the if statement
checking its value.
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Feb 6 23:27:48 CET 2012 on sn-devel-104
Volker Lendecke [Mon, 6 Feb 2012 15:53:22 +0000 (16:53 +0100)]
s3: FreeBSD does not define sin6_addr.s_addr32
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Mon Feb 6 20:03:58 CET 2012 on sn-devel-104
Ira Cooper [Sun, 5 Feb 2012 14:47:16 +0000 (09:47 -0500)]
s3-nsswitch: Fix warnings on Solaris.
Add "system/passwd.h" so struct group is declared.
Autobuild-User: Ira Cooper <ira@samba.org>
Autobuild-Date: Mon Feb 6 18:28:53 CET 2012 on sn-devel-104
Volker Lendecke [Fri, 3 Feb 2012 02:27:19 +0000 (03:27 +0100)]
lib/util: Add hex_encode_buf
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Mon Feb 6 09:15:33 CET 2012 on sn-devel-104
Ira Cooper [Sat, 4 Feb 2012 00:47:18 +0000 (16:47 -0800)]
s3-popt: Fix configure.developer builds on Solairs.
alloca.h needs to be included, or the build complains the implicit
definition of alloca.
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Feb 4 03:27:42 CET 2012 on sn-devel-104
Jeremy Allison [Sat, 4 Feb 2012 00:37:41 +0000 (16:37 -0800)]
Ensure when setting a POSIX ACL, that the uid for a
SMB_ACL_USER_OBJ ACE (the owner ACE entry) has a duplicate
permission entry as an SMB_ACL_USER, and a gid for a
SMB_ACL_GROUP_OBJ ACE (the primary group ACE entry) also has
a duplicate permission entry as an SMB_ACL_GROUP. If not,
then if the ownership or group ownership of this file or
directory gets changed, the user or group can lose their
access.
Jeremy Allison [Fri, 3 Feb 2012 23:58:12 +0000 (15:58 -0800)]
Fix mistaken assignment of gid to uid field.
Jeremy Allison [Fri, 3 Feb 2012 23:28:22 +0000 (15:28 -0800)]
Replace bool flags inside ensure_canon_entry_valid() with pointers.
This will make the second tweak to the ACL mapping on set easier.
Jeremy Allison [Fri, 3 Feb 2012 22:55:34 +0000 (14:55 -0800)]
Fix bug #7933 - samba fails to honor SEC_STD_WRITE_OWNER bit with the acl_xattr module.
Jeremy Allison [Fri, 3 Feb 2012 22:06:38 +0000 (14:06 -0800)]
Replace all malloc/free with talloc on tos.
Michael Adam [Mon, 30 Jan 2012 11:08:38 +0000 (12:08 +0100)]
s4:torture: add a smb2.durable_open.reopen4 test
open a durable handle, logoff, new sessions setup, try durable reopen (fail),
open tcon, durable reopen (succeed)
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Feb 3 12:45:34 CET 2012 on sn-devel-104
Michael Adam [Mon, 30 Jan 2012 11:07:07 +0000 (12:07 +0100)]
s4:torture: add a torture_smb2_session_setup() utility function
Michael Adam [Fri, 27 Jan 2012 16:21:25 +0000 (17:21 +0100)]
s4:torture: add smb2.durable_open test reopen3
Do a durable open, tdis, tree_connect, durable reopen -> fail
Michael Adam [Fri, 27 Jan 2012 16:20:23 +0000 (17:20 +0100)]
s4:torture: add torture_smb2_tree_connect() utility function
This does a tcon based on an existing session, using the
name an host present in the torture context.
Michael Adam [Fri, 27 Jan 2012 12:06:09 +0000 (13:06 +0100)]
s4:torture: add smb2.durable_open test reopen2
durable open, disconnect, new seession, durable reopen
Michael Adam [Fri, 27 Jan 2012 12:03:08 +0000 (13:03 +0100)]
s4:torture: add smb2.durable_open test reopen1
Michael Adam [Thu, 2 Feb 2012 12:41:40 +0000 (13:41 +0100)]
s4:libcli:smb2: don't allocate the smb2_tree struct earlier than necessary in smb2_connect()
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Michael Adam [Thu, 2 Feb 2012 12:39:56 +0000 (13:39 +0100)]
s4:libcli/torture:smb2: change smb2_tree_connect to take a smb2_session instead of smb2_tree arguement.
Only the tree->session is needed. This way it is less confusing.
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Michael Adam [Thu, 2 Feb 2012 12:38:08 +0000 (13:38 +0100)]
s4:torture:smb2: talloc_free the right tree structure in secondary_tcon()
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Michael Adam [Thu, 2 Feb 2012 12:36:20 +0000 (13:36 +0100)]
s4:torture:smb2: check for success of talloc in secondary_tcon()
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Michael Adam [Thu, 2 Feb 2012 14:56:48 +0000 (15:56 +0100)]
s4:torture:smb2:notify: remove an unused variable
Michael Adam [Thu, 2 Feb 2012 14:53:26 +0000 (15:53 +0100)]
s4:torture:smb2:notify: remove an unused variable
Michael Adam [Thu, 2 Feb 2012 14:42:16 +0000 (15:42 +0100)]
s4:torture:smb2: remove an unused variable from torture_smb2_setinfo()
Michael Adam [Thu, 2 Feb 2012 23:21:50 +0000 (00:21 +0100)]
loadparm: fix a load of uninitialized memory errors found by valgrind.
Matthieu Patou [Sat, 28 Jan 2012 00:12:52 +0000 (16:12 -0800)]
s3-nmbd: don't discard DGRAM frames from local addresses when we are a DC
Winbind use netbios to locate the DC, if samba is also a DC then nmbd
receive request from Winbind that are from a local address, those
requests must not be discarded otherwise winbind can't find the DC and
won't try another method.
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Fri Feb 3 11:09:29 CET 2012 on sn-devel-104
Matthieu Patou [Wed, 25 Jan 2012 05:29:11 +0000 (21:29 -0800)]
s3-pid: Catch with pid filename's change when config file is not smb.conf
This is what is done in pidfile_create
Amitay Isaacs [Fri, 3 Feb 2012 01:04:32 +0000 (12:04 +1100)]
selftest: Fix the exit code of make test when run in buildfarm
When make test is run in buildfarm environment (RUN_FROM_BUILD_FARM=1),
last process in make test pipeline is subunit-filter. This subunit-filter
is responsible for converting failure test result to xfail for known
failures. While converting failures to xfail, it sets exitcode=1. If
this is the last process in the pipeline make test fails, which is
the observed behavior in buildfarm.
In autobuild, there is additional process in the pipeline format-subunit
which processes the output of subunit-filter and correctly terminates
with exit code=0. The buildfarm make test failure is fixed by adding
extra filter-subunit in the pipeline, as the extra filter-subunit
exits correctly with exit code=0.
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Fri Feb 3 07:00:04 CET 2012 on sn-devel-104
Jeremy Allison [Fri, 3 Feb 2012 00:28:39 +0000 (16:28 -0800)]
Only ask for specific permissions required when setting an ACL.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Feb 3 03:07:33 CET 2012 on sn-devel-104
Jeremy Allison [Fri, 3 Feb 2012 00:28:06 +0000 (16:28 -0800)]
Allow a SACL to be sent in cli_set_secdesc().
Volker Lendecke [Thu, 2 Feb 2012 19:32:07 +0000 (20:32 +0100)]
s3: Test for faulty xattr_tdb listxattr
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Feb 2 22:10:49 CET 2012 on sn-devel-104
Volker Lendecke [Thu, 2 Feb 2012 17:11:32 +0000 (18:11 +0100)]
s3-xattr_tdb: Fix listxattr
We have to tell the caller how many bytes we actually want
Volker Lendecke [Thu, 2 Feb 2012 18:41:56 +0000 (19:41 +0100)]
s3-vfstest: Add removexattr
Volker Lendecke [Thu, 2 Feb 2012 18:36:00 +0000 (19:36 +0100)]
s3-vfstest: Add setxattr
Volker Lendecke [Thu, 2 Feb 2012 16:45:09 +0000 (17:45 +0100)]
s3-vfstest: Add listxattr
Volker Lendecke [Thu, 2 Feb 2012 15:36:18 +0000 (16:36 +0100)]
s3-vfstest: Add getxattr
Volker Lendecke [Thu, 2 Feb 2012 17:30:40 +0000 (18:30 +0100)]
s3: Move stream_depot test to script/tests
Volker Lendecke [Thu, 2 Feb 2012 16:49:22 +0000 (17:49 +0100)]
s3: Use ARRAY_SIZE in bsd_attr_list
Volker Lendecke [Wed, 1 Feb 2012 19:40:06 +0000 (20:40 +0100)]
s3: Simplify streams_depot a bit
b0c0b949 is a bit involved. Passing down booleans is almost never
very clear
Volker Lendecke [Thu, 2 Feb 2012 15:24:30 +0000 (16:24 +0100)]
s3-vfstest: Fix an uninitialized read in close
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Feb 2 18:00:58 CET 2012 on sn-devel-104
Volker Lendecke [Thu, 2 Feb 2012 15:23:40 +0000 (16:23 +0100)]
s3-vfstest: Fix a double-free on closing a file
"mem_ctx" will be gone after we leave the routine
Stefan Metzmacher [Wed, 1 Feb 2012 16:04:17 +0000 (17:04 +0100)]
s3:auth: fill the sids array of the info3 in wbcAuthUserInfo_to_netr_SamInfo3() (bug #8739)
Originally, only the rid array was filled and foreign domain sids were omitted.
Pair-Programmed-With: Michael Adam <obnox@samba.org>
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Feb 2 12:59:32 CET 2012 on sn-devel-104
Stefan Metzmacher [Wed, 1 Feb 2012 16:02:52 +0000 (17:02 +0100)]
s3:auth: fix potential gap creation in wbcsids_to_samr_RidWithAttributeArray()
Pair-Programmed-With: Michael Adam <obnox@samba.org>
metze
Andreas Schneider [Thu, 2 Feb 2012 07:57:28 +0000 (08:57 +0100)]
s3-libsmb: Remove dead prototype.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Feb 2 10:33:13 CET 2012 on sn-devel-104
Andrew Tridgell [Thu, 2 Feb 2012 01:36:44 +0000 (12:36 +1100)]
build: fixed a link order problem
this fixes a problem found by obnox where the -L path for CUPS was put
before the path to internal libraries. The install path for CUPS
happened to be the same as for a old system libtevent, which meant we
linked against the old tevent instead of the correct one from our
private library paths.
The problem was that we were adding the -L paths directly to the
ldflags. The waf core code (in ccroot.py) only adds more paths if they
are not there already. So by adding it in ldflags it was not added at
the end of the list. The fix is just to not do the -L processing in
wafsamba and let the waf core do it in the right order
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Feb 2 06:54:42 CET 2012 on sn-devel-104
Jelmer Vernooij [Thu, 2 Feb 2012 01:48:35 +0000 (02:48 +0100)]
replace: Only add bsd dependency when bsd library was found.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Feb 2 05:18:45 CET 2012 on sn-devel-104
Rusty Russell [Thu, 2 Feb 2012 01:06:49 +0000 (11:36 +1030)]
tdb2: add --disable-tdb2
I thought you could --disable-tdb2=false, apparently not! Thanks
Michael Adam...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Thu Feb 2 03:43:08 CET 2012 on sn-devel-104