Matthias Dieter Wallnöfer [Thu, 16 Sep 2010 21:19:32 +0000 (23:19 +0200)]
s4:python/samba/join.py - use constant for DC function level
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Matthias Dieter Wallnöfer [Wed, 15 Sep 2010 16:21:43 +0000 (18:21 +0200)]
s4:rootdse LDB module - make more use of LDB result constants
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Matthias Dieter Wallnöfer [Sun, 19 Sep 2010 07:40:13 +0000 (09:40 +0200)]
s4:rootdse LDB module - fix comment typo
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Matthias Dieter Wallnöfer [Sat, 18 Sep 2010 08:06:03 +0000 (10:06 +0200)]
s4:password_hash LDB module - don't assign "lp_ctx" twice
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Matthias Dieter Wallnöfer [Sun, 19 Sep 2010 11:00:38 +0000 (13:00 +0200)]
ldb:ldb_match.c - fix counter variable type
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Matthias Dieter Wallnöfer [Thu, 16 Sep 2010 16:08:56 +0000 (18:08 +0200)]
ldb:ldb_msg_add_linearized_dn - handle NULL DNs
Don't let the routine crash
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Matthias Dieter Wallnöfer [Mon, 20 Sep 2010 07:23:37 +0000 (09:23 +0200)]
s4:rootdse LDB module - fix counter types
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Matthias Dieter Wallnöfer [Sun, 19 Sep 2010 15:52:42 +0000 (17:52 +0200)]
s4:extended_dn_in LDB module - fix a counter type
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Matthias Dieter Wallnöfer [Thu, 16 Sep 2010 12:02:21 +0000 (14:02 +0200)]
s4:drepl_out_helpers.c - fix a counter type
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Matthias Dieter Wallnöfer [Thu, 16 Sep 2010 20:08:10 +0000 (22:08 +0200)]
s4:rpc_server/dcerpc_server.c - fix a "const" warning
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Matthias Dieter Wallnöfer [Thu, 16 Sep 2010 20:05:48 +0000 (22:05 +0200)]
s4:libcli/resolve/file.c - fix "const" warning
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Günther Deschner [Thu, 23 Sep 2010 22:33:43 +0000 (15:33 -0700)]
s3-waf: remove duplicate CONFIGFILE from dynconfig.py which caused sysconfigdir
to be ignored.
Guenther
Günther Deschner [Thu, 23 Sep 2010 22:13:23 +0000 (15:13 -0700)]
s3-waf: fix the build of nsstest with --enable-nss-wrapper.
Guenther
Günther Deschner [Thu, 23 Sep 2010 20:55:18 +0000 (13:55 -0700)]
s4-waf: move the RPC_NDR subsystems to main librpc wscript_build.
Guenther
Anatoliy Atanasov [Thu, 23 Sep 2010 18:45:16 +0000 (11:45 -0700)]
s4/eventlog6: Add dummy implementation for calls 0x5 and 0xB
The code is enough to let us run all dcdiag tests against samba4 server
Anatoliy Atanasov [Thu, 23 Sep 2010 18:39:47 +0000 (11:39 -0700)]
s4/eventlog6: Build and hook EventLog6 RPC endpont mapper and idl
Anatoliy Atanasov [Thu, 23 Sep 2010 18:38:19 +0000 (11:38 -0700)]
s4/eventlog6: Add endpoint server for EventLog6 RPC
The file is generated using PIDL --template command.
Anatoliy Atanasov [Thu, 23 Sep 2010 18:31:32 +0000 (11:31 -0700)]
s4/eventlog6: Add idl for EventLog6 RPC
The idl is translated from [MS-EVEN6].pdf.
Stefan Metzmacher [Tue, 21 Sep 2010 03:41:37 +0000 (05:41 +0200)]
pidl:NDR/Parser: fix range() for arrays
metze
Volker Lendecke [Sat, 18 Sep 2010 06:56:10 +0000 (10:56 +0400)]
tdb: add restore
Based on an idea by Simon McVittie, largely rewritten
Jelmer Vernooij [Thu, 23 Sep 2010 17:28:22 +0000 (10:28 -0700)]
selftest: Pass prefix to setup_env function.
Jelmer Vernooij [Thu, 23 Sep 2010 08:42:57 +0000 (01:42 -0700)]
selftest: Use variable for clientdir.
Jelmer Vernooij [Thu, 23 Sep 2010 06:40:20 +0000 (23:40 -0700)]
torture: Remove unused variable.
Günther Deschner [Thu, 23 Sep 2010 18:14:00 +0000 (11:14 -0700)]
s3-waf: convert LIBMSRPC into a subsystem.
Guenther
Günther Deschner [Thu, 23 Sep 2010 18:05:56 +0000 (11:05 -0700)]
s3-waf: fix the build after rpc_server crypto changes.
Guenther
Simo Sorce [Sat, 11 Sep 2010 13:52:42 +0000 (09:52 -0400)]
s3-dcerps: check auth_type
make sure the auth type used throught the auth operation is consistent.
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Sat, 11 Sep 2010 13:46:08 +0000 (09:46 -0400)]
s3-dcerpc: Use spnego own sign/seal functions
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Fri, 3 Sep 2010 20:43:38 +0000 (16:43 -0400)]
libcli: fix compile warning
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Fri, 3 Sep 2010 20:33:45 +0000 (16:33 -0400)]
s3-dcerpc: remove auth_data_free_func
Everything is using a talloc pointer now, no need to have an
accessor function to free data anymore.
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Fri, 3 Sep 2010 20:27:47 +0000 (16:27 -0400)]
s3-dcerpc: make auth context opaque
This way we always double check in advance that the context
is of the right type with talloc_get_type_abort instead of
potentially accessing random memory by addressing the wrong
structure in the union.
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Fri, 3 Sep 2010 19:09:34 +0000 (15:09 -0400)]
srv_pipe: reorganize code so that related functions are close to each other
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Fri, 3 Sep 2010 15:03:49 +0000 (11:03 -0400)]
s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_data
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Fri, 3 Sep 2010 14:19:27 +0000 (10:19 -0400)]
s3-dcerpc: use new spnego server code
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Tue, 31 Aug 2010 19:08:31 +0000 (15:08 -0400)]
s3-dcerpc: add spnego server helpers
squashed: add michlistMIC signature checks
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Fri, 3 Sep 2010 13:38:57 +0000 (09:38 -0400)]
spnego: make spnego_context public
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Thu, 2 Sep 2010 21:50:21 +0000 (17:50 -0400)]
s3-dcerpc: move client spnego stuff in /librpc/crypto
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Thu, 2 Sep 2010 21:43:21 +0000 (17:43 -0400)]
spnego: avoid explicit dependency on dcerpc specific structures
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Wed, 1 Sep 2010 22:31:05 +0000 (18:31 -0400)]
s3-dcesrv: use gssapi helper in srv_pipe.c
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Wed, 1 Sep 2010 22:27:53 +0000 (18:27 -0400)]
s3-dcerpc: add server helpers for gssapi auth
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Wed, 1 Sep 2010 21:09:52 +0000 (17:09 -0400)]
s3-dcesrv: use ntlmssp helper in srv_pipe.c
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Wed, 1 Sep 2010 19:50:06 +0000 (15:50 -0400)]
s3-dcerpc: add server helpers for ntlmssp auth
Signed-off-by: Günther Deschner <gd@samba.org>
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