Simo Sorce [Wed, 1 Sep 2010 23:05:43 +0000 (19:05 -0400)]
gssapi: remove unused function argument
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Wed, 1 Sep 2010 21:27:56 +0000 (17:27 -0400)]
gssapi: avoid explicit dependency on dcerpc specific structures
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Wed, 1 Sep 2010 15:58:33 +0000 (11:58 -0400)]
s3-dcerpc: move crypto stuff in /librpc/crypto
Signed-off-by: Günther Deschner <gd@samba.org>
Günther Deschner [Wed, 22 Sep 2010 03:56:23 +0000 (20:56 -0700)]
s3-dsgetdcname: always pass in messaging context.
Volker, please check.
Guenther
Michael Adam [Thu, 23 Sep 2010 16:48:25 +0000 (18:48 +0200)]
s3:registry: try to fix the build of reg_parse_internal on HP-UX
The HP compiler does not seem to like {} for char[4].
Björn Jacke [Thu, 23 Sep 2010 16:25:58 +0000 (09:25 -0700)]
s3: fix tdbdump build on Solaris and other boxes
needed to fix up
aea64ef275b6e94ca7afb8fa2bb172416773abdf
Kai Blin [Thu, 23 Sep 2010 16:16:05 +0000 (09:16 -0700)]
s3 waf: Remove iniparser source list from source3/wscript_build
Anatoliy Atanasov [Thu, 23 Sep 2010 02:20:21 +0000 (19:20 -0700)]
s4/dsdb:kcc: cleanup and improve readability
Stefan Metzmacher [Thu, 23 Sep 2010 02:18:25 +0000 (19:18 -0700)]
s4:dsdb/kcc: we don't need to manually allocate [out,ref] pointers anymore
metze
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
Stefan Metzmacher [Thu, 23 Sep 2010 02:04:58 +0000 (19:04 -0700)]
s4:irpc: use LIBNDR_FLAG_REF_ALLOC for the server side when pulling
The dcerpc server also uses it, so it was surprising that the
IRPC server side doesn't used it.
The reason to have this is that we want to handle error cases
and returns like NT_STATUS_NOT_SUPPORTED sane, without crashing
while marshalling the response.
metze
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
Stefan Metzmacher [Thu, 23 Sep 2010 01:55:40 +0000 (18:55 -0700)]
s4:irpc: add padding to the IPRC header for 8 byte alignment
As we marshall the iprc header and the payload to the ndr_push
context, we should pad the irpc header to let the payload start
at an 8 byte boundary.
This way we get the alignment still be correct if we remove the
header before passing the raw payload to the caller.
As we use IRPC more and more for complex NDR marshalled structures
we need to get this right, in order to not get random ndr_pull failures.
metze
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
Günther Deschner [Thu, 23 Sep 2010 14:58:33 +0000 (07:58 -0700)]
s3-waf: first run in using NDR_ subsystems (mostly from shared directory).
Guenther
Günther Deschner [Thu, 23 Sep 2010 14:56:38 +0000 (07:56 -0700)]
s4-waf: add NDR_LSARPC and NDR_SAMR.
Guenther
Günther Deschner [Thu, 23 Sep 2010 14:05:11 +0000 (07:05 -0700)]
s3-waf: convert LIBADS_PRINTER into a subsystem.
Guenther
Günther Deschner [Thu, 23 Sep 2010 14:01:52 +0000 (07:01 -0700)]
s3-waf: convert LIBADS_SERVER into a subsystem.
Guenther
Günther Deschner [Thu, 23 Sep 2010 13:56:36 +0000 (06:56 -0700)]
s3-waf: convert LIBADS into a subsystem.
Guenther
Günther Deschner [Thu, 23 Sep 2010 13:45:56 +0000 (06:45 -0700)]
s3-waf: convert smbd into a subsystem.
Guenther
Günther Deschner [Thu, 23 Sep 2010 13:26:15 +0000 (06:26 -0700)]
s3-waf: add libaddns.so.
Guenther
Günther Deschner [Thu, 23 Sep 2010 13:15:13 +0000 (06:15 -0700)]
s3-waf: recurse into ../lib/crypto.
Guenther
Günther Deschner [Thu, 23 Sep 2010 12:54:12 +0000 (05:54 -0700)]
s4-waf: move two more NDR_ subsystems to main directory.
Guenther
Günther Deschner [Thu, 23 Sep 2010 09:14:23 +0000 (02:14 -0700)]
s3-waf: convert LIBMSRPC_GEN into a subsystem.
Guenther
Günther Deschner [Thu, 23 Sep 2010 08:52:15 +0000 (01:52 -0700)]
s3-build: move epmapper client to LIBMSRPC.
Guenther
Günther Deschner [Thu, 23 Sep 2010 08:51:53 +0000 (01:51 -0700)]
s3-waf: move epmapper client to LIBMSRPC.
Guenther
Günther Deschner [Tue, 21 Sep 2010 08:24:13 +0000 (01:24 -0700)]
s3-waf: recurse into main wscript_build from main librpc directory.
Not doing anything with it yet though.
Guenther
Günther Deschner [Thu, 23 Sep 2010 09:13:15 +0000 (02:13 -0700)]
waf: fix generated nbt.h path, should fix s4 install.
Guenther
Günther Deschner [Thu, 23 Sep 2010 08:32:43 +0000 (01:32 -0700)]
s3-waf: fix LOCALEDIR usage.
Guenther
Günther Deschner [Tue, 21 Sep 2010 07:41:58 +0000 (00:41 -0700)]
waf: move majority of shared NDR_ subsystems to main wscript_build.
(so they can be used by s3 waf later)
Guenther
Günther Deschner [Thu, 23 Sep 2010 07:48:16 +0000 (00:48 -0700)]
s3-waf: rework libnetapi to have no unresolved symbols.
Guenther
Günther Deschner [Thu, 23 Sep 2010 07:27:34 +0000 (00:27 -0700)]
s3-waf: add libsmbsharemodes.so.
Guenther
Andrew Tridgell [Thu, 23 Sep 2010 06:21:56 +0000 (23:21 -0700)]
lib-subunit: fixed build on systems without subunit devel library
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
Andrew Tridgell [Thu, 23 Sep 2010 05:50:05 +0000 (22:50 -0700)]
s4-kcc: the kcc should not be setting the repsTo attribute
repsTo is set by other DCs, when they ask to be notified about changes
in a partition
Andrew Tridgell [Thu, 23 Sep 2010 05:41:02 +0000 (22:41 -0700)]
s4-gensec: fixed a client side bug in GENSEC/SASL/SSF negotiation
this is the client side equivalent change for the previous fix
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Thu, 23 Sep 2010 05:35:28 +0000 (22:35 -0700)]
s4-drs: we don't need to decode to utf8 in python dcerpc strings any more
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Thu, 23 Sep 2010 05:28:58 +0000 (22:28 -0700)]
s4-gensec: prevent a double free in the error path of GSSAPI auth
the caller frees mem_ctx, so we shouldn't
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Thu, 23 Sep 2010 05:20:30 +0000 (22:20 -0700)]
s4-gensec: fixed a GSSAPI SASL negotiation bug
Fixed a bug that affected mismatched negotiation between the GSSAPI
layer and the SASL SSF subsequent negotiation. This caused some ldap
clients to hang when trying to authentication with a Samba LDAP
server. The client thought the connection should be signed, the server
thought it should be in plain text
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Wed, 22 Sep 2010 18:18:04 +0000 (11:18 -0700)]
s4-kcc: added service->am_rodc
use a rodc flag on the service instead of calling samdb_rodc each time
Andrew Tridgell [Wed, 22 Sep 2010 18:15:56 +0000 (11:15 -0700)]
s4-kcc: pass the service context into the kcc connection code
this will be used for the RODC changes needed for the kcc
Günther Deschner [Thu, 23 Sep 2010 07:13:34 +0000 (00:13 -0700)]
s3-waf: add all remaining binaries from the make build.
Guenther
Günther Deschner [Thu, 23 Sep 2010 07:06:17 +0000 (00:06 -0700)]
s3-build: fix the build of split_tokens.
Guenther
Günther Deschner [Thu, 23 Sep 2010 07:05:31 +0000 (00:05 -0700)]
s3-build: fix the build of test_lp_load.
Guenther
Günther Deschner [Thu, 23 Sep 2010 07:04:08 +0000 (00:04 -0700)]
s3-build: strip down dependencies of smbta-util.
Guenther
Günther Deschner [Thu, 23 Sep 2010 00:15:15 +0000 (17:15 -0700)]
s3-waf: reconcile objects to old make-based build.
Guenther
Günther Deschner [Wed, 22 Sep 2010 21:22:09 +0000 (14:22 -0700)]
s3-waf: add libsmbclient.
Guenther
Jelmer Vernooij [Thu, 23 Sep 2010 05:08:04 +0000 (22:08 -0700)]
s4-selftest: Move credentials tests to standard python directory.
Jelmer Vernooij [Thu, 23 Sep 2010 05:05:55 +0000 (22:05 -0700)]
s4-selftest: Move samba3sam test to standard python directory.
Jelmer Vernooij [Thu, 23 Sep 2010 05:02:39 +0000 (22:02 -0700)]
s4-selftest: Fix prefixes for ldb tests - they're samba4 specific.
Jelmer Vernooij [Thu, 23 Sep 2010 04:03:05 +0000 (21:03 -0700)]
smbtorture: Report times.
Jelmer Vernooij [Thu, 23 Sep 2010 03:18:45 +0000 (20:18 -0700)]
torture: Use system subunit library if available.
Jelmer Vernooij [Thu, 23 Sep 2010 02:55:58 +0000 (19:55 -0700)]
smbtorture: Use subunit C library.
Jelmer Vernooij [Thu, 23 Sep 2010 02:28:02 +0000 (19:28 -0700)]
selftest: Fix testsuite counts when running only a limited number of
testsuites.
Jelmer Vernooij [Thu, 23 Sep 2010 02:21:58 +0000 (19:21 -0700)]
selftest: Fix idlist running.
Jelmer Vernooij [Thu, 23 Sep 2010 02:14:33 +0000 (19:14 -0700)]
s4-selftest: For idlist tests, leave out environment name.
Jelmer Vernooij [Thu, 23 Sep 2010 02:13:16 +0000 (19:13 -0700)]
s4-selftest: Add environment name to test suite manually, so we can
leave it out if we want to.
Jelmer Vernooij [Thu, 23 Sep 2010 02:08:37 +0000 (19:08 -0700)]
selftest: Fix use of --load-list.
Jelmer Vernooij [Thu, 23 Sep 2010 01:53:52 +0000 (18:53 -0700)]
s4-selftest: Cleanup formatting.
Jelmer Vernooij [Thu, 23 Sep 2010 01:30:27 +0000 (18:30 -0700)]
selftest: Add prefix on a higher level, so it can be more easily
excluded.
Jeremy Allison [Thu, 23 Sep 2010 01:34:19 +0000 (18:34 -0700)]
Thank goodness for code reviews. Volker caught - this should be lp_posix_pathnames()
not lp_unix_extensions().
Jeremy.
Michael Adam [Mon, 13 Sep 2010 15:27:16 +0000 (17:27 +0200)]
no need any more to manually create catalog file in build-manpages-nogit
Michael Adam [Mon, 13 Sep 2010 15:26:20 +0000 (17:26 +0200)]
no need any more to create catalog file manually in build-manpages-git
Michael Adam [Mon, 13 Sep 2010 15:18:18 +0000 (17:18 +0200)]
docs: use abs_top_builddir instead of BUILDDIR to let configure create correct catalog file
The use of the catalog file is still controlled by exporting the
XML_CATALOG_FILES variable as described in build/README
Michael Adam [Thu, 9 Sep 2010 15:25:22 +0000 (17:25 +0200)]
add script to build only the manpages (not the complete docs) - no-git version
this version uses make clean to clean the source tree before building
Michael Adam [Thu, 9 Sep 2010 15:24:30 +0000 (17:24 +0200)]
add script to build only the manual pages (not all the docs) - git version
the git version uses git clean to clean the docs source tree.
Volker Lendecke [Wed, 22 Sep 2010 16:00:10 +0000 (18:00 +0200)]
s3: tdbdump does not use our libs
Steven Danneman [Wed, 22 Sep 2010 20:23:49 +0000 (13:23 -0700)]
s4:libcli:smb2 Rename pending_id to async_id and make 64-bit
Match MS-SMB2 - 2.2.1.1 SMB2 Packet Header - ASYNC
Jelmer Vernooij [Thu, 23 Sep 2010 00:47:28 +0000 (17:47 -0700)]
selftest: Remove unused --analyse argument.
Jelmer Vernooij [Thu, 23 Sep 2010 00:17:42 +0000 (17:17 -0700)]
dsdb: Use short path for ldb_handlers.h, in case ldb is installed in the
system.
Jelmer Vernooij [Thu, 23 Sep 2010 00:17:25 +0000 (17:17 -0700)]
ldb: Use waf as default build system.
Jelmer Vernooij [Thu, 23 Sep 2010 00:15:38 +0000 (17:15 -0700)]
ldb: Depend directly on replace, fixes the build on systems with
tdb and tevent installed in the system.
Jelmer Vernooij [Wed, 22 Sep 2010 23:44:17 +0000 (16:44 -0700)]
s4-param: Fix more memory leaks, invalid memory context.
Jelmer Vernooij [Wed, 22 Sep 2010 22:36:06 +0000 (15:36 -0700)]
s3-selftest: Fix test prefixes in subunit output.
Jelmer Vernooij [Wed, 22 Sep 2010 22:35:36 +0000 (15:35 -0700)]
s4-param: Check type when converting python object to lp_ctx, fix some
memory leaks.
Jelmer Vernooij [Wed, 22 Sep 2010 20:57:07 +0000 (13:57 -0700)]
pygensec: Implement start_mech_by_name().
Jelmer Vernooij [Wed, 22 Sep 2010 20:05:55 +0000 (13:05 -0700)]
subunithelper: Cope with errors outside of testsuites.
Jelmer Vernooij [Wed, 22 Sep 2010 19:52:29 +0000 (12:52 -0700)]
ndrdump: Move blackbox test to standard python namespace.
Jelmer Vernooij [Wed, 22 Sep 2010 18:39:53 +0000 (11:39 -0700)]
s4/selftest: Simplify running of python tests.
Jelmer Vernooij [Wed, 22 Sep 2010 18:30:34 +0000 (11:30 -0700)]
selftest: Let tests add prefix to tests by themselve.
Volker Lendecke [Wed, 22 Sep 2010 12:10:03 +0000 (14:10 +0200)]
s3: Use asprintf where appropriate
Volker Lendecke [Tue, 21 Sep 2010 19:16:31 +0000 (21:16 +0200)]
s3: Fix pam_smbpass logging on FreeBSD
Günther Deschner [Wed, 22 Sep 2010 19:40:42 +0000 (12:40 -0700)]
s3-registry: fix some c++ build warnings.
Guenther
Jeremy Allison [Wed, 22 Sep 2010 19:26:13 +0000 (12:26 -0700)]
Fix bug #7693 - smbd changing mode of files on rename
When using "map archive", don't change the archive bit on
renames or writes with UNIX extensions turned on.
Jeremy.
Günther Deschner [Wed, 22 Sep 2010 18:28:45 +0000 (11:28 -0700)]
s3-waf: fix the build.
Guenther
Günther Deschner [Wed, 22 Sep 2010 18:04:38 +0000 (11:04 -0700)]
s4-smbtorture: print out membership in RPC-SPOOLSS-ACCESS.
Guenther
Björn Jacke [Wed, 22 Sep 2010 18:16:47 +0000 (11:16 -0700)]
libreplace: fix endless strerror_r has been redefined warnings on AIX
Kamen Mazdrashki [Wed, 22 Sep 2010 00:57:30 +0000 (03:57 +0300)]
s4-drs-test: Relax a check that may possibly fail
This check may fail due to automatic replication between DCs
during the test execution.
Ideally we should block automatic replications (somehow)
during this test. But until then, we need just to skip
this check, it is not *that* important anyway
Kamen Mazdrashki [Wed, 22 Sep 2010 00:24:01 +0000 (03:24 +0300)]
s4-ldapcmp: Enable comparisons between LDBs too
This will enable us to compare two LDBs or and LDB with running
AD server. Comparing LDB against running running server
may come into handy when one want to see if 'net vampire'
command does what it does the right way
Jelmer Vernooij [Wed, 22 Sep 2010 05:54:10 +0000 (22:54 -0700)]
s4-selftest: Move more tests to scripting/python, simplifies running of tests.
Jelmer Vernooij [Wed, 22 Sep 2010 04:33:30 +0000 (21:33 -0700)]
selftest: Fix run for systems without testtools installed.
Jelmer Vernooij [Wed, 22 Sep 2010 03:58:23 +0000 (20:58 -0700)]
selftest: Use idlist testing for python tests.
Jelmer Vernooij [Wed, 22 Sep 2010 03:36:50 +0000 (20:36 -0700)]
selftest: Support running individual tests using idlists, for testsuites that support them.
Jelmer Vernooij [Wed, 22 Sep 2010 03:23:41 +0000 (20:23 -0700)]
s4-selftest: Use loadlist in a couple more places.
Jelmer Vernooij [Wed, 22 Sep 2010 03:16:40 +0000 (20:16 -0700)]
torture: Remove active_testname variable.
Jelmer Vernooij [Wed, 22 Sep 2010 03:11:47 +0000 (20:11 -0700)]
s4-test: Allow running individual tests for smbtorture tests.
Jelmer Vernooij [Wed, 22 Sep 2010 03:11:43 +0000 (20:11 -0700)]
torture: Fix running individual tests.
Jelmer Vernooij [Wed, 22 Sep 2010 00:35:53 +0000 (17:35 -0700)]
selftest: Fix generation of test id file.
Jelmer Vernooij [Wed, 22 Sep 2010 00:35:26 +0000 (17:35 -0700)]
strlist: Make test names unique.
Jelmer Vernooij [Tue, 21 Sep 2010 23:46:12 +0000 (16:46 -0700)]
s4-land: Print commands that are being run.
Jelmer Vernooij [Tue, 21 Sep 2010 23:08:46 +0000 (16:08 -0700)]
pymessaging: Remove unused older python irpc bindings.
Michael Adam [Wed, 22 Sep 2010 04:27:49 +0000 (06:27 +0200)]
s3:net: add subcommand net registry deletekey_recursive
to delete a key including subkeys
Michael Adam [Wed, 22 Sep 2010 04:21:38 +0000 (06:21 +0200)]
s3:registry: remove unneeded TALLOC_CTX argument from reg_deletekey_recursive
Michael Adam [Wed, 22 Sep 2010 04:00:00 +0000 (06:00 +0200)]
s3:tests: fix misplaced '...' for grep pattern in test_net_registry.sh