Matthieu Patou [Fri, 15 Apr 2011 21:15:51 +0000 (01:15 +0400)]
waf: introduce reverse logic for allowing unknown symbols
Some os (ie OSX 10.6) forbids by default unknown symbols so in order to
allow them (for special case) we have no to remove linker option *but*
to add options to ask the linker to be more relax.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Andrew Bartlett [Thu, 21 Apr 2011 10:02:28 +0000 (20:02 +1000)]
build: Invert --enable-s3build into --disable-s3build
We always want the s3 binaries, except when building an smbtorture4
for the s3-waf and autoconf builds.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Apr 26 04:27:28 CEST 2011 on sn-devel-104
Andrew Bartlett [Thu, 21 Apr 2011 07:19:29 +0000 (17:19 +1000)]
lib/util Define samba-util-common only for s3-waf
It causes too much trouble in the top level build.
Andrew Bartlett
Andrew Bartlett [Thu, 21 Apr 2011 02:28:27 +0000 (12:28 +1000)]
build: Move Heimdal/MIT compat build rules to heimdal_build
This allows top level build rules to rely on these names at all times.
Andrew Bartlett
Jeremy Allison [Mon, 25 Apr 2011 19:45:49 +0000 (12:45 -0700)]
No longer need to call SMB_VFS_LSTAT - check name hasn't changed above is sufficient.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Apr 25 23:35:37 CEST 2011 on sn-devel-104
Jeremy Allison [Fri, 22 Apr 2011 05:29:06 +0000 (22:29 -0700)]
Correctly detect and deny symlinks anywhere in a path (not just the last component) if "follow symlinks = no".
Volker Lendecke [Mon, 25 Apr 2011 16:29:59 +0000 (18:29 +0200)]
s3: Remove unused code
This is done in name_query_send these days
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 25 19:24:58 CEST 2011 on sn-devel-104
Volker Lendecke [Mon, 25 Apr 2011 15:37:08 +0000 (17:37 +0200)]
s3: Move setting the name_query timeout
An async caller might want a different timeout behaviour
Stefan Metzmacher [Mon, 25 Apr 2011 15:40:25 +0000 (17:40 +0200)]
docs-xml/smb.conf.5: %i and %I no longer contain IPv4 mapped IPv6 addresses
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Apr 25 18:38:16 CEST 2011 on sn-devel-104
Stefan Metzmacher [Sat, 23 Apr 2011 09:29:51 +0000 (11:29 +0200)]
s3:lib/util_sock: listen on IPv6 addresses with IPV6_ONLY (bug #7383)
This avoids getting IPv4 addresses as mapped IPv6 addresses
(e.g. ::ffff:192.168.0.1).
Before the bahavior was inconsistent between operating system
and distributions. Some system have IPV6_ONLY as default.
Now we consistently get AF_INET for IPv4 addresses and AF_INET6
for IPv6 addresses.
It also makes it possible to listen only on IPv6 now
as "::" doesn't imply "0.0.0.0" anymore. Which also
avoids confusing log messages that we were not able to
bind to "0.0.0.0".
metze
Stefan Metzmacher [Sun, 24 Apr 2011 19:20:19 +0000 (21:20 +0200)]
s3:lib/access: normalize IPv4 mapped IPv6 addresses in both directions (bug #7383)
metze
Volker Lendecke [Mon, 25 Apr 2011 11:40:15 +0000 (13:40 +0200)]
s3: Some build farm machines do not have /bin/true
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 25 14:35:42 CEST 2011 on sn-devel-104
Volker Lendecke [Mon, 25 Apr 2011 09:25:02 +0000 (11:25 +0200)]
s3: Fix some typos in dsgetdcname
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 25 12:35:30 CEST 2011 on sn-devel-104
Volker Lendecke [Mon, 25 Apr 2011 09:24:31 +0000 (11:24 +0200)]
s3: "port" is not used in dsgetdcname
Günther, please check!
Volker Lendecke [Mon, 25 Apr 2011 08:55:58 +0000 (10:55 +0200)]
s3: Check for res_ninit
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 25 11:44:58 CEST 2011 on sn-devel-104
Volker Lendecke [Sun, 24 Apr 2011 08:36:56 +0000 (10:36 +0200)]
s3: Run pthreadpooltest in make test
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 25 10:39:12 CEST 2011 on sn-devel-104
Volker Lendecke [Sat, 23 Apr 2011 14:49:04 +0000 (16:49 +0200)]
s3: Add pthreadpooltest to main build
Volker Lendecke [Sun, 24 Apr 2011 08:09:45 +0000 (10:09 +0200)]
s3: pthreadpool_sig_fd->pthreadpool_signal_fd
Volker Lendecke [Sat, 23 Apr 2011 20:25:36 +0000 (22:25 +0200)]
s3: Tiny doc for pthreadpool
Volker Lendecke [Fri, 22 Apr 2011 09:47:11 +0000 (11:47 +0200)]
s3: Many pthreadpool fixes
In particular, this makes it fork-safe
Volker Lendecke [Sun, 17 Apr 2011 18:16:07 +0000 (20:16 +0200)]
s3: Add a 10-second timeout for the 445 or netbios connection to a DC
Stefan Metzmacher [Sat, 23 Apr 2011 22:00:40 +0000 (00:00 +0200)]
s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status()
Most fault codes have a NTSTATUS representation, so use that.
This brings the fault handling in common with the source4/librpc/rpc code,
which make it possible to share more highlevel code, between source3 and
source4 as the error checking can be the same now.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Apr 24 10:44:53 CEST 2011 on sn-devel-104
Stefan Metzmacher [Sat, 23 Apr 2011 21:57:19 +0000 (23:57 +0200)]
s3:winbindd: let winbindd_lookup_names() use dcerpc_binding_handle functions
metze
Stefan Metzmacher [Sat, 23 Apr 2011 21:56:27 +0000 (23:56 +0200)]
s3:winbindd: let winbindd_lookup_sids() dcerpc_binding_handle functions
metze
Stefan Metzmacher [Sat, 23 Apr 2011 09:01:34 +0000 (11:01 +0200)]
lib/util: add RBVAL, RBVALS, RSBVAL and RSRBVALS macros
They pull and push [u]int64_t values in big endian.
metze
Stefan Metzmacher [Sat, 23 Apr 2011 09:15:30 +0000 (11:15 +0200)]
s3:includes: simplify INO_T_VAL macros
metze
Stefan Metzmacher [Sat, 23 Apr 2011 09:10:05 +0000 (11:10 +0200)]
s3:includes: simplify BIG_UINT macros
metze
Stefan Metzmacher [Sat, 23 Apr 2011 08:30:59 +0000 (10:30 +0200)]
s3:smbd/trans2: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef's
We rely on uint64_t for a long time now...
metze
Jelmer Vernooij [Sun, 24 Apr 2011 00:39:14 +0000 (02:39 +0200)]
Fix license info for talloc in manpage.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Apr 24 03:27:54 CEST 2011 on sn-devel-104
Jelmer Vernooij [Sun, 24 Apr 2011 00:14:17 +0000 (02:14 +0200)]
Fix release script to cope with moved Samba 4 build tools.
Jelmer Vernooij [Sat, 23 Apr 2011 15:59:23 +0000 (17:59 +0200)]
Fix case of libUTIL_LDB.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Apr 23 18:52:06 CEST 2011 on sn-devel-104
Jelmer Vernooij [Sat, 23 Apr 2011 13:56:39 +0000 (15:56 +0200)]
Add missing dependency on com_err.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Apr 23 16:53:03 CEST 2011 on sn-devel-104
Jelmer Vernooij [Sat, 23 Apr 2011 13:46:18 +0000 (15:46 +0200)]
Add check for krb5_free_unparsed_name, when using external heimdal.
Volker Lendecke [Sat, 23 Apr 2011 08:31:14 +0000 (10:31 +0200)]
s3: Fix Coverity ID 2478, UNINIT
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Apr 23 14:11:22 CEST 2011 on sn-devel-104
Stefan Metzmacher [Sat, 23 Apr 2011 08:17:27 +0000 (10:17 +0200)]
s3:include/vfs.h: remove very old hints for vfs modules with interface version < 8
The interface version is at 28 now, and this defines cause problem
on some systems, e.g. Tru64 defines vfs_init in the system headers.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Apr 23 12:07:35 CEST 2011 on sn-devel-104
Stefan Metzmacher [Sat, 23 Apr 2011 08:15:00 +0000 (10:15 +0200)]
Revert "s3-vfs: another attempt to fix the Tru64 build."
This reverts commit
52909271879d909533a86c3a448839debb6497c6.
A better fix will follow.
metze
Stefan Metzmacher [Sat, 23 Apr 2011 08:30:59 +0000 (10:30 +0200)]
s3:smbd/nttrans: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef's
We rely on uint64_t for a long time now...
metze
Stefan Metzmacher [Sat, 23 Apr 2011 08:27:37 +0000 (10:27 +0200)]
s3:lib/sysquota: remove ugly LARGE_SMB_OFF_T ifdef's
We rely on uint64_t for a long time now...
metze
Stefan Metzmacher [Sat, 23 Apr 2011 08:22:32 +0000 (10:22 +0200)]
s3:libsmb: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef's
We rely on uint64_t for a long time now...
metze
Jelmer Vernooij [Sat, 23 Apr 2011 00:04:13 +0000 (02:04 +0200)]
Support the 'PYTHON' environment variable.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Apr 23 04:19:05 CEST 2011 on sn-devel-104
Stefan Metzmacher [Fri, 22 Apr 2011 08:25:23 +0000 (10:25 +0200)]
script/librelease: display the permission on the server
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Apr 22 11:40:13 CEST 2011 on sn-devel-104
Stefan Metzmacher [Fri, 22 Apr 2011 08:18:15 +0000 (10:18 +0200)]
script/librelease: add more error checking
metze
Stefan Metzmacher [Fri, 22 Apr 2011 08:14:45 +0000 (10:14 +0200)]
script/librelease: set umask 0022
Releases should be readable by everyone.
metze
Stefan Metzmacher [Fri, 22 Apr 2011 08:08:52 +0000 (10:08 +0200)]
script/librelease: use a GPG_KEYID variable to hold the signing key
metze
Volker Lendecke [Fri, 22 Apr 2011 08:05:42 +0000 (10:05 +0200)]
s3: Fix Coverity ID 2047, UNUSED_VALUE
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Apr 22 10:53:24 CEST 2011 on sn-devel-104
Volker Lendecke [Fri, 22 Apr 2011 07:51:42 +0000 (09:51 +0200)]
s3: Fix Coverity ID 2325, RESOURCE_LEAK
Volker Lendecke [Fri, 22 Apr 2011 07:48:10 +0000 (09:48 +0200)]
s3: Fix Coverity ID 2336, NULL_RETURNS
Volker Lendecke [Fri, 22 Apr 2011 07:45:54 +0000 (09:45 +0200)]
s3: Fix Coverity ID 2335, CHECKED_RETURN
Volker Lendecke [Fri, 22 Apr 2011 07:41:52 +0000 (09:41 +0200)]
asn1: Fix Coverity ID 2299, CHECKED_RETURN
Volker Lendecke [Fri, 22 Apr 2011 07:39:37 +0000 (09:39 +0200)]
s3: Fix Coverity ID 2307, NULL_RETURNS
Volker Lendecke [Fri, 22 Apr 2011 07:34:35 +0000 (09:34 +0200)]
s3: Fix Coverity ID 986, BUFFER_SIZE_WARNING
strncpy can leave the destination unterminated
Volker Lendecke [Thu, 21 Apr 2011 20:09:27 +0000 (22:09 +0200)]
s3: Fix Coverity ID 1340, NULL_RETURNS
Jeremy Allison [Fri, 22 Apr 2011 00:25:13 +0000 (17:25 -0700)]
Cosmetic. Fix bad indentation.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Apr 22 03:16:43 CEST 2011 on sn-devel-104
Jeremy Allison [Fri, 22 Apr 2011 00:22:44 +0000 (17:22 -0700)]
Fix compiler warning in debug message.
Jeremy Allison [Thu, 21 Apr 2011 23:50:49 +0000 (16:50 -0700)]
Remove duplicate code - move to parent_dirname() as a common function.
Günther Deschner [Thu, 21 Apr 2011 22:50:35 +0000 (00:50 +0200)]
s3-vfs: another attempt to fix the Tru64 build.
vfsops struct on Tru64 has a vfs_init function pointer.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Apr 22 01:49:59 CEST 2011 on sn-devel-104
Günther Deschner [Thu, 21 Apr 2011 22:49:54 +0000 (00:49 +0200)]
s3-waf: try to fix the build on sunos5.
Guenther
Günther Deschner [Thu, 21 Apr 2011 22:49:28 +0000 (00:49 +0200)]
s3-waf: fix typo in comment.
Guenther
Günther Deschner [Thu, 21 Apr 2011 22:15:47 +0000 (00:15 +0200)]
Revert "s3-vfs: try to fix the Tru64 build."
This reverts commit
1b7cd33291ec69f58a68396cf7406a6da3083df3.
Günther Deschner [Thu, 21 Apr 2011 16:26:40 +0000 (18:26 +0200)]
s3-vfs: try to fix the Tru64 build.
Volker, Jeremy please check.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Apr 21 19:14:00 CEST 2011 on sn-devel-104
Günther Deschner [Thu, 21 Apr 2011 16:24:35 +0000 (18:24 +0200)]
s3-proto: move more rpc client prototypes to cli_pipe.h.
Guenther
Stefan Metzmacher [Thu, 21 Apr 2011 15:37:06 +0000 (17:37 +0200)]
script: add hardcoded library release key id
We don't want to use the key that might be configured
in ~/.gitconfig.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Apr 21 18:25:32 CEST 2011 on sn-devel-104
Stefan Metzmacher [Sat, 9 Apr 2011 09:33:03 +0000 (11:33 +0200)]
s4:ldb: change version to 1.1.0 after adding new functions:
ldb_ldif_parse_modrdn()
ldb_req_set_custom_flags()
ldb_req_get_custom_flags()
Signed-off-by: Simo Sorce <idra@samba.org>
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Apr 21 17:15:16 CEST 2011 on sn-devel-104
Matthieu Patou [Wed, 20 Apr 2011 16:26:47 +0000 (20:26 +0400)]
ldb: add custom flags and functions for the application that wants to manipulate them
Signed-off-by: Simo Sorce <idra@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Wed, 6 Apr 2011 18:14:54 +0000 (20:14 +0200)]
s4:ldb/tests: add tests for ldbmodify and 'modrdn'
Signed-off-by: Simo Sorce <idra@samba.org>
metze
Stefan Metzmacher [Tue, 5 Apr 2011 12:42:06 +0000 (14:42 +0200)]
s4:ldb/tools: add support for "modrdn" to ldbmodify
Signed-off-by: Simo Sorce <idra@samba.org>
metze
Stefan Metzmacher [Tue, 5 Apr 2011 12:41:27 +0000 (14:41 +0200)]
s4:ldb/ldif: add support for "modrdn"
This add a ldb_ldif_parse_modrdn() helper function to parse
the information out of a ldb_message structure.
Signed-off-by: Simo Sorce <idra@samba.org>
metze
Günther Deschner [Wed, 20 Apr 2011 20:55:25 +0000 (22:55 +0200)]
s3-vfs: rename open function to open_fn.
This should finally fix the AIX build and allow to remove AIX specific ifdefs.
Guenther
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Apr 21 02:01:20 CEST 2011 on sn-devel-104
Günther Deschner [Wed, 20 Apr 2011 16:21:25 +0000 (18:21 +0200)]
s3-build: move MAP_FILE define to the only place used.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Apr 20 19:16:47 CEST 2011 on sn-devel-104
Günther Deschner [Wed, 20 Apr 2011 15:54:24 +0000 (17:54 +0200)]
s3-smbd: fix the AIX 5.3 build.
(AIX defines open to be open64)
Guenther
Günther Deschner [Wed, 20 Apr 2011 15:53:43 +0000 (17:53 +0200)]
s4-smbtorture: restructure documentname handling in spoolss test a bit.
Guenther
Günther Deschner [Wed, 20 Apr 2011 15:19:15 +0000 (17:19 +0200)]
s3-spoolss: fix debug statement in spoolss_addprinterex_level_2().
Guenther
Andrew Bartlett [Thu, 14 Apr 2011 07:22:53 +0000 (17:22 +1000)]
lib/util/charset Always set *converted_size even on failure
The caller may wish to inspect the partially converted string.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Apr 20 05:17:48 CEST 2011 on sn-devel-104
Andrew Bartlett [Tue, 12 Apr 2011 04:36:17 +0000 (14:36 +1000)]
lib/util/charset create _handle functions for convert_string() et al
This is now API compatible with the existing code in lib/util/charset
lazy_initialize_conv() is no longer called as init_iconv() is called
when the smb.conf is processed, and get_conv_handle() will auto-init
with defaults if required.
load_case_tables_library() is no longer requried as all binaries and
libraries already load these in their entry points, as otherwise all
the other string functions would fail.
Andrew Bartlett
Andrew Bartlett [Wed, 20 Apr 2011 02:05:27 +0000 (12:05 +1000)]
libcli/auth Move PAC parsing and verification in common.
This uses the source3 PAC code (originally from Samba4) with some
small changes to restore functionality needed by the torture tests,
and to have a common API.
Andrew Bartlett
Andrew Bartlett [Wed, 20 Apr 2011 02:03:48 +0000 (12:03 +1000)]
libcli/auth: Move more kerberos wrapping in common
These functions are required to get the krb5 PAC parsing and
verfication in common.
Andrew Bartlett
Andrew Bartlett [Fri, 15 Apr 2011 22:50:53 +0000 (08:50 +1000)]
s3-gse: Allow the GSSAPI wrapper to load a keytab using gss_krb5_import_cred()
This Heimdal function does not set the global state, and allows the
GSSAPI server to progress further when compiled against Heimdal (such
as in the top level build).
The ability to specify a keytab has been removed from the API as it is
unused, and and the Heimdal function (avoiding setting global
variables) works with an open keytab.
Andrew Bartlett
Simo Sorce [Sun, 10 Apr 2011 02:21:35 +0000 (22:21 -0400)]
tdb_backup: avoid transaction on backup file, use lockall
Transactions have the side effect of generating bigger files.
By removing the transaction files get as much as 30% smaller.
Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Tue Apr 19 23:34:37 CEST 2011 on sn-devel-104
Sergey Korsak [Mon, 18 Apr 2011 12:48:47 +0000 (14:48 +0200)]
Fix Bug #8099 setpwent() actually does endpwent() and vice versa on FreeBSD
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Apr 19 19:15:14 CEST 2011 on sn-devel-104
Rusty Russell [Tue, 19 Apr 2011 11:30:59 +0000 (21:00 +0930)]
tdb: make sure we skip over recovery area correctly.
If it's really the recovery area, we can trust the rec_len field, and
don't have to go groping for bitpatterns.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Tue Apr 19 14:15:22 CEST 2011 on sn-devel-104
Simo Sorce [Mon, 18 Apr 2011 12:45:11 +0000 (22:15 +0930)]
tdb_expand: limit the expansion with huge records
ldb can create huge records when saving indexes.
Limit the tdb expansion to avoid consuming a lot of memory for
no good reason if the record being saved is huge.
Rusty Russell [Mon, 18 Apr 2011 12:45:11 +0000 (22:15 +0930)]
tdb: tdb_repack() only when it's worthwhile.
tdb_repack() is expensive and consumes memory, so we can spend some
effort to see if it's worthwhile. In particular, tdbbackup doesn't
need to repack: it started with an empty database!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell [Mon, 18 Apr 2011 12:45:11 +0000 (22:15 +0930)]
tdb: fix transaction recovery area for converted tdbs.
This is why macros are dangerous; these were converting the pointers, not the
things pointed to!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Andrew Bartlett [Tue, 19 Apr 2011 03:50:40 +0000 (13:50 +1000)]
selftest Consolidate server wall clock time limits
This helps ensure that we don't have the Samba3 servers stop before
the full make test is finished.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Apr 19 09:03:07 CEST 2011 on sn-devel-104
Andrew Bartlett [Tue, 19 Apr 2011 02:43:54 +0000 (12:43 +1000)]
selftest: move warning about invalid environments up to selftest.pl
Andrew Bartlett [Tue, 19 Apr 2011 01:59:28 +0000 (11:59 +1000)]
selftest: Don't specify SELFTEST_TARGET as an env variable
It is much more reliable to specify it as a direct parameter, and this
is needed for the combined 'make test'.
Andrew Bartlett
Andrew Bartlett [Tue, 19 Apr 2011 01:58:50 +0000 (11:58 +1000)]
selftest Test for socket_wrapper support in combined samba target as well
Andrew Bartlett [Mon, 18 Apr 2011 08:59:00 +0000 (18:59 +1000)]
selftest: Add hooks to enable a combined selftest run.
Andrew Bartlett
Andrew Bartlett [Mon, 18 Apr 2011 08:57:22 +0000 (18:57 +1000)]
s4-selftest Rename Samba4 'member' test environment to s4member
This will avoid a conflict with the s3 'member' environment.
Andrew Bartlett
Andrew Bartlett [Mon, 18 Apr 2011 08:56:41 +0000 (18:56 +1000)]
s4-selftest: Move Samba4 test interfaces out of the way of the Samba3 tests.
This avoids a conflict when we merge the test suites.
Andrew Bartlett [Mon, 18 Apr 2011 08:55:35 +0000 (18:55 +1000)]
s3-selftest Fix interface localktest6 listens on.
Andrew Bartlett
Andrew Bartlett [Mon, 18 Apr 2011 07:38:35 +0000 (17:38 +1000)]
selftest Add combined 'Samba' target module
To work around environment variable handling, the initialisation of
NSS_WRAPPER_WINBIND_SO_PATH is pushed in to Samba3.pm (the s3 autoconf
build still overrides this)
Andrew Bartlett
Andrew Bartlett [Mon, 18 Apr 2011 06:09:30 +0000 (16:09 +1000)]
s4-selftest: Avoid duplicating the servers IP in the provision() sub arguments.
This should make it easier to change the IP address.
Andrew Bartlett
Andrew Bartlett [Mon, 18 Apr 2011 05:28:40 +0000 (15:28 +1000)]
s3-selftest Rename s3 DC environment to s3dc
This should avoid a clash with the s4 DC environment in a future
combined 'make test'.
Andrew Bartlett
Andrew Bartlett [Mon, 18 Apr 2011 04:34:40 +0000 (14:34 +1000)]
s4-selftest: Stop creating netbios aliases everywhere
This reduces some of the clutter when we have quite so many server
configurations starting.
The one case that actually needs an alias (dc environment for the
test_nmblookup.sh test) will still keep it.
Andrew Bartlett
Andrew Bartlett [Mon, 18 Apr 2011 03:44:36 +0000 (13:44 +1000)]
selftest: put the target on the environment
This will allow us to have a 'switch' target type that creates
environments from Samba3 or Samba4 as required.
Andrew Bartlett
Andrew Bartlett [Tue, 19 Apr 2011 00:02:55 +0000 (10:02 +1000)]
lib/socket_wrapper: allow up to 32 interfaces for a bigger 'make test'
The combined s3/s4 'make test' needs more interfaces.
Andrew Bartlett
Jeremy Allison [Mon, 18 Apr 2011 21:32:11 +0000 (14:32 -0700)]
Fix bug 8088 - rpccli_samr_chng_pswd_auth_crap segfaults if any input blobs are null.
Correct fix - ensure we have enough length, and correctly null out
passed in structs if not.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Apr 19 00:17:08 CEST 2011 on sn-devel-104
Kai Blin [Mon, 18 Apr 2011 12:55:51 +0000 (14:55 +0200)]
s3 waf: Mimic the autoconf check for netgrent
The autoconf check for netgrent headers makes sure that the compiler flag used
(-Werror-implicit-function-declaration) is recognized by the compiler before
using it for the test. Mimic this behaviour in the waf checks.
Thanks to gd for noticing this.
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Apr 18 16:24:15 CEST 2011 on sn-devel-104
Kai Blin [Mon, 18 Apr 2011 12:48:47 +0000 (14:48 +0200)]
s3 autobuild: Fix CFLAG check for netgrent tests
In
45ac8ffd I accidently added the wrong flag check. Fix this.
Thanks to gd for noticing.
Signed-off-by: Günther Deschner <gd@samba.org>