Andrew Tridgell [Wed, 13 Oct 2010 09:00:22 +0000 (20:00 +1100)]
s4-torture: zero all of trans before the test starts
Andrew Tridgell [Wed, 13 Oct 2010 08:42:45 +0000 (19:42 +1100)]
s4-torture: fixed uninitialised variable error
ret is uninitialised if the directory is empty
Andrew Tridgell [Wed, 13 Oct 2010 01:19:37 +0000 (12:19 +1100)]
s4: don't rebuild all of heimdal when dynconfig options change
only 2 files in heimdal depend on dynconfig variables
Andrew Tridgell [Tue, 12 Oct 2010 23:43:44 +0000 (10:43 +1100)]
autobuild: do make install after make test
this ensures that commits that break uninstalled testing get caught by
autobuild in future
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
Andrew Tridgell [Tue, 12 Oct 2010 23:37:22 +0000 (10:37 +1100)]
s4-dynconfig: use the build modules when running from build directory
we need to use the newly built modules when running from the build
directory to ensure we don't run tests against a stale install
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
Andrew Tridgell [Tue, 12 Oct 2010 23:36:24 +0000 (10:36 +1100)]
ldb: when running from build directory, use the build modules
we need to use the build modules, not the installed modules, so tests
run from the source directory are valid
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
Matthieu Patou [Wed, 13 Oct 2010 10:06:46 +0000 (14:06 +0400)]
s4 rpc_server: fix a build error on freebsd
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Oct 13 10:48:04 UTC 2010 on sn-devel-104
Jelmer Vernooij [Tue, 12 Oct 2010 17:53:47 +0000 (19:53 +0200)]
torture/becomedc: Add test for global schema, use samdb_connect().
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Oct 12 18:35:33 UTC 2010 on sn-devel-104
Jelmer Vernooij [Tue, 12 Oct 2010 11:27:40 +0000 (13:27 +0200)]
wafsamba: Warn about circular dependencies between libraries.
Michael Adam [Tue, 12 Oct 2010 13:32:16 +0000 (15:32 +0200)]
s3:registry: fix some trailing spaces in reg_backend_db
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue Oct 12 14:15:42 UTC 2010 on sn-devel-104
Kai Blin [Tue, 12 Oct 2010 04:13:57 +0000 (06:13 +0200)]
libwbclient: Remove half-finished async implementation
The old approach on doing async libwbclient was never really finished.
Go ahead and remove this implementation.
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Tue Oct 12 07:05:31 UTC 2010 on sn-devel-104
Andrew Bartlett [Tue, 12 Oct 2010 04:27:50 +0000 (15:27 +1100)]
libcli/security Provide a common, top level libcli/security/security.h
This will reduce the noise from merges of the rest of the
libcli/security code, without this commit changing what code
is actually used.
This includes (along with other security headers) dom_sid.h and
security_token.h
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
Andrew Bartlett [Mon, 20 Sep 2010 07:42:13 +0000 (17:42 +1000)]
libcli/security Use common security.h
This includes dom_sid.h and security_token.h and will be moved
to the top level shortly.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Oct 12 03:35:36 UTC 2010 on sn-devel-104
Andrew Bartlett [Mon, 11 Oct 2010 23:05:32 +0000 (10:05 +1100)]
s4-credentials Allocate ldb result on correct memory context
Andrew Bartlett [Mon, 20 Sep 2010 04:49:39 +0000 (14:49 +1000)]
s4-libcli/security Use seperate subsystem for session related functions
The merged I plan in this area require spliting security.h into
two header files, a common header and a session.h for the
remaining source4-specific code.
Andrew Bartlett
Andrew Bartlett [Fri, 17 Sep 2010 05:23:19 +0000 (15:23 +1000)]
libcli/security Add debug class to security_token_debug() et al
This will allow it to replace functions in source3 that use debug classes.
Andrew Bartlett
Andrew Bartlett [Fri, 17 Sep 2010 05:18:57 +0000 (15:18 +1000)]
lib/debug Add DEBUGC and DEBUGADDC as dummies
This allows code that needs to also compile against the source3
debug code to compile in source4.
Andrew Bartlett
Andrew Bartlett [Fri, 17 Sep 2010 02:59:24 +0000 (12:59 +1000)]
libcli/security Move most of security_token.c to common code.
The source4-specific session_info functions have been left in session.c
Andrew Bartlett
Andrew Tridgell [Tue, 12 Oct 2010 02:06:43 +0000 (13:06 +1100)]
autobuild: send email failure if rebase fails
users need to know if the rebase on master fails
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Oct 12 02:53:15 UTC 2010 on sn-devel-104
Andrew Tridgell [Tue, 12 Oct 2010 02:06:16 +0000 (13:06 +1100)]
autobuild: add an extra blank line before the autobuild markers
Andrew Tridgell [Tue, 12 Oct 2010 02:05:36 +0000 (13:05 +1100)]
s4: mark us as not supporting python3 yet
python3 works fine with waf fine, but our C interfaces need 2.x for
now
Jelmer Vernooij [Tue, 12 Oct 2010 01:29:27 +0000 (03:29 +0200)]
dsdb: Build more modules as shared objects.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Oct 12 02:12:29 UTC 2010 on sn-devel-104
Jeremy Allison [Tue, 12 Oct 2010 00:15:39 +0000 (17:15 -0700)]
Make the vfs_acl_xattr and other modules work with NULL SD's. Fix
the "protected" inheritance problem (bleeding up from the POSIX
layer).
Jeremy
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Oct 12 00:57:41 UTC 2010 on sn-devel-104
Jeremy Allison [Tue, 12 Oct 2010 00:10:28 +0000 (17:10 -0700)]
Canonicalize incoming and outgoing ACLs.
Jeremy.
Jeremy Allison [Tue, 12 Oct 2010 00:07:54 +0000 (17:07 -0700)]
Make the posix ACL module cope with a NULL incoming DACL and a
missing owner/group.
Jeremy.
Jelmer Vernooij [Mon, 11 Oct 2010 22:24:41 +0000 (00:24 +0200)]
dsdb: Build some more modules as shared objects.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 23:22:33 UTC 2010 on sn-devel-104
Jelmer Vernooij [Mon, 11 Oct 2010 20:32:26 +0000 (22:32 +0200)]
dsdb: Build some more modules as shared object files.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 21:13:25 UTC 2010 on sn-devel-104
Jelmer Vernooij [Mon, 11 Oct 2010 19:03:10 +0000 (21:03 +0200)]
selftest: Avoid check_call(), use call() instead. This should fix
Python2.4 compatibility.
Jelmer Vernooij [Mon, 11 Oct 2010 18:33:31 +0000 (20:33 +0200)]
dsdb: Build some more modules as .so files.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 19:14:58 UTC 2010 on sn-devel-104
Jelmer Vernooij [Mon, 11 Oct 2010 17:32:22 +0000 (19:32 +0200)]
wins_ldb: Build as shared library.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 18:15:19 UTC 2010 on sn-devel-104
Jelmer Vernooij [Mon, 11 Oct 2010 13:42:14 +0000 (15:42 +0200)]
land-remote: Fix --fail-slowly.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 15:54:31 UTC 2010 on sn-devel-104
Jelmer Vernooij [Mon, 11 Oct 2010 13:09:23 +0000 (15:09 +0200)]
ldb: Build ildap module as shared object.
Jelmer Vernooij [Mon, 11 Oct 2010 12:31:58 +0000 (14:31 +0200)]
samdb_common, ntlm: Add missing dependency on libsamba-hostconfig.
Jelmer Vernooij [Sun, 10 Oct 2010 17:17:40 +0000 (19:17 +0200)]
popt_credentials: Implement pending machine account manually, rather than through credentials.
Günther Deschner [Mon, 11 Oct 2010 10:38:05 +0000 (12:38 +0200)]
pidl: fix minor typo in s3 server generation.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Oct 11 15:12:57 UTC 2010 on sn-devel-104
Günther Deschner [Mon, 11 Oct 2010 09:33:23 +0000 (11:33 +0200)]
s3-spoolss: add more userlevel info validation to _spoolss_OpenPrinterEx.
Guenther
Günther Deschner [Mon, 4 Oct 2010 18:27:20 +0000 (20:27 +0200)]
s3-spoolss: let set_printer_hnd_name return WERROR.
Guenther
Günther Deschner [Mon, 4 Oct 2010 09:02:52 +0000 (11:02 +0200)]
s3-spoolss: convert open_printer_hnd to return WERROR.
Guenther
Günther Deschner [Sat, 2 Oct 2010 20:14:37 +0000 (22:14 +0200)]
s3-spoolss: fix set_printer_hnd_name() to match torture test.
Guenther
Günther Deschner [Sat, 2 Oct 2010 20:13:44 +0000 (22:13 +0200)]
s4-smbtorture: add test for openprinter printername pattern.
Guenther
Matthieu Patou [Mon, 11 Oct 2010 09:44:35 +0000 (13:44 +0400)]
unit tests: do some cleanup after tests
fix
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Mon Oct 11 14:29:10 UTC 2010 on sn-devel-104
Matthieu Patou [Mon, 11 Oct 2010 09:44:10 +0000 (13:44 +0400)]
torture: Add debug on what we are removing
Andrew Bartlett [Tue, 6 Jul 2010 05:25:54 +0000 (15:25 +1000)]
s4:smbtorture Create a new random output directory each time, and delete it
This ensures we don't delete an exiting directory.
Andrew Bartlett
Signed-off-by: Matthieu Patou <mat@matws.net>
Andrew Bartlett [Tue, 6 Jul 2010 05:22:31 +0000 (15:22 +1000)]
lib/torture: Add function to clean up the output directory
This helps to avoid leaving 85MB of provision around for every
NET-API-BECOME-DC test.
Andrew Bartlett
Signed-off-by: Matthieu Patou <mat@matws.net>
Andrew Bartlett [Mon, 11 Oct 2010 06:22:24 +0000 (17:22 +1100)]
ldb The use of a private event context isn't a hack
This is deliberate behaviour.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Oct 11 13:45:14 UTC 2010 on sn-devel-104
Andrew Bartlett [Mon, 11 Oct 2010 06:26:52 +0000 (17:26 +1100)]
s4-ldb Allow a NULL event context in samba_ldb_init()
Andrew Bartlett [Mon, 11 Oct 2010 06:20:19 +0000 (17:20 +1100)]
s4-ldb Don't use talloc_autofree_context() in ldb
The private event context only needs to live as long as ldb itself.
Andrew Bartlett
Andrew Bartlett [Mon, 11 Oct 2010 06:08:33 +0000 (17:08 +1100)]
s4-tevent Remove event_contex_find() and event_context_set_default()
It is considered that it is better to create a new event context
rather than 'finding' some other event context, in the case
where we do not have one specified.
Andrew Bartlett
Andrew Bartlett [Mon, 11 Oct 2010 06:08:01 +0000 (17:08 +1100)]
s4-smbd Remove event_context_set_default()
The last callers to event_context_find() have been removed
so this is no longer required.
Andrew Bartlett
Andrew Bartlett [Mon, 11 Oct 2010 05:53:08 +0000 (16:53 +1100)]
s4-credentials Add explicit event context handling to Kerberos calls (only)
By setting the event context to use for this operation (only) onto
the krb5_context just before we call that operation, we can try
and emulate the specification of an event context to the actual send_to_kdc()
This eliminates the specification of an event context to many other
cli_credentials calls, and the last use of event_context_find()
Special care is taken to restore the event context in the event of
nesting in the send_to_kdc function.
Andrew Bartlett
Andrew Bartlett [Mon, 11 Oct 2010 05:43:07 +0000 (16:43 +1100)]
s4-param Refactor secrets code to not require an event context.
A new event context is constructed by LDB when required for secrets.ldb
This will be essentially unused, as LDB on TDB will only trigger 'fake'
events, and blocks on transactions and lock operations anyway.
Andrew Bartlett
Andrew Bartlett [Mon, 11 Oct 2010 02:19:32 +0000 (13:19 +1100)]
s4-kerberos Remove unused parameter
Andrew Bartlett [Mon, 11 Oct 2010 02:19:18 +0000 (13:19 +1100)]
s4-kerberos Remove unsued variable
Jelmer Vernooij [Mon, 11 Oct 2010 12:11:05 +0000 (14:11 +0200)]
credentials: Avoid unnecessary includes.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 13:01:36 UTC 2010 on sn-devel-104
Tim Potter [Mon, 11 Oct 2010 11:34:57 +0000 (05:34 -0600)]
Fix some warnings at higher -W levels in pidl generated code.
Match data type for info levels to data type returned by utility
functions.
Autobuild-User: Tim Potter <tpot@samba.org>
Autobuild-Date: Mon Oct 11 12:18:22 UTC 2010 on sn-devel-104
Jelmer Vernooij [Mon, 11 Oct 2010 08:33:21 +0000 (10:33 +0200)]
util: Fix installation path of tevent_ntstatus.h, tevent_unix.h (bug 7720).
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 09:24:56 UTC 2010 on sn-devel-104
Jelmer Vernooij [Mon, 11 Oct 2010 02:05:37 +0000 (04:05 +0200)]
credentials: Fix the build.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 02:47:50 UTC 2010 on sn-devel-104
Jelmer Vernooij [Mon, 11 Oct 2010 00:05:03 +0000 (02:05 +0200)]
credentials: Split up into several subsystems.
Jelmer Vernooij [Sun, 10 Oct 2010 23:28:45 +0000 (01:28 +0200)]
kerberos_util: Put into separate subsystem.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 00:34:56 UTC 2010 on sn-devel-104
Jelmer Vernooij [Sun, 10 Oct 2010 23:23:20 +0000 (01:23 +0200)]
auth: Remove unnecessary dependencies, fix formatting.
Jelmer Vernooij [Sun, 10 Oct 2010 23:20:42 +0000 (01:20 +0200)]
credentials: Move code that doesn't need any external dependencies into
credentials.c.
Jelmer Vernooij [Sun, 10 Oct 2010 23:10:55 +0000 (01:10 +0200)]
server: Add missing dependency on schannel database.
Jelmer Vernooij [Sun, 10 Oct 2010 17:14:20 +0000 (19:14 +0200)]
service: Add missing dependency on process_model.
Jelmer Vernooij [Sun, 10 Oct 2010 23:09:26 +0000 (01:09 +0200)]
wafsamba: Fix handling of pyembed/pyext.
Jelmer Vernooij [Sun, 10 Oct 2010 23:03:42 +0000 (01:03 +0200)]
dsdb/modules: Split up helpers a bit to prevent recursive dependencies.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 10 23:47:54 UTC 2010 on sn-devel-104
Jelmer Vernooij [Sun, 10 Oct 2010 22:58:28 +0000 (00:58 +0200)]
torture_auth: Add missing dependency on gensec_ntlmssp.
Jelmer Vernooij [Sun, 10 Oct 2010 19:22:02 +0000 (21:22 +0200)]
wafsamba: Support setting pyembed on libraries.
Jelmer Vernooij [Sun, 10 Oct 2010 22:49:13 +0000 (00:49 +0200)]
torture: Link against rpc server itself, not service module. (against which we can't link).
Jelmer Vernooij [Sun, 10 Oct 2010 22:47:18 +0000 (00:47 +0200)]
ldap_server: Add missing dependency on gensec_server_start.
Jelmer Vernooij [Sun, 10 Oct 2010 22:46:37 +0000 (00:46 +0200)]
kdc: Add missing dependency on samba_gensec_server.
Jelmer Vernooij [Sun, 10 Oct 2010 22:41:22 +0000 (00:41 +0200)]
smb_server: Split core out of service, since the service can be built as a .so against which we can't link.
Jelmer Vernooij [Sun, 10 Oct 2010 17:15:41 +0000 (19:15 +0200)]
smb2: Add missing dependency on NDR_DFSBLOBS.
Jelmer Vernooij [Sun, 10 Oct 2010 21:00:32 +0000 (23:00 +0200)]
librpc: Remove unnecessary dependency on libsamba-hostconfig.
Jelmer Vernooij [Sun, 10 Oct 2010 19:37:58 +0000 (21:37 +0200)]
dsdb/schema: Move some dsdb_dn functions that are schema-specific.
Jelmer Vernooij [Sun, 10 Oct 2010 20:57:40 +0000 (22:57 +0200)]
ntvfs_ipc: add missing dependency on dcerpc_common.
Jelmer Vernooij [Sun, 10 Oct 2010 20:56:58 +0000 (22:56 +0200)]
libsecurity-common: Add missing dependency on libndr.
Jelmer Vernooij [Sun, 10 Oct 2010 20:56:38 +0000 (22:56 +0200)]
libcli-auth: Remove unnecessary dependency on libsamba-hostconfig.
Jelmer Vernooij [Sun, 10 Oct 2010 22:29:18 +0000 (00:29 +0200)]
dsdb modules: Split ridalloc out of common helpers, because of dependency loops.
Jelmer Vernooij [Sun, 10 Oct 2010 22:22:42 +0000 (00:22 +0200)]
rpc_ndr_netlogon: Add missing dependency on tevent.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 10 23:04:13 UTC 2010 on sn-devel-104
Jelmer Vernooij [Sun, 10 Oct 2010 21:59:04 +0000 (23:59 +0200)]
samdb: Remove dependency on unknown subsystem.
Jelmer Vernooij [Sun, 10 Oct 2010 16:39:07 +0000 (18:39 +0200)]
util: Link headers to correct subsystem, fix formatting.
Jelmer Vernooij [Sun, 10 Oct 2010 21:00:59 +0000 (23:00 +0200)]
dsdb: add missing dependency on samba_socket.
Jelmer Vernooij [Sun, 10 Oct 2010 21:45:23 +0000 (23:45 +0200)]
ldb-samba: Rename samdb_relative_path to ldb_relative_path, as it's not samdb-specific.
Jelmer Vernooij [Sun, 10 Oct 2010 15:02:10 +0000 (17:02 +0200)]
dsdb: Move attr_in_list to SAMDB_COMMON to avoid circular dependency between SAMDB_COMMON and DSDB_MODULE_HELPERS.
Jelmer Vernooij [Sun, 10 Oct 2010 14:46:55 +0000 (16:46 +0200)]
gensec: Support building without any linked-in modules.
Jelmer Vernooij [Sun, 10 Oct 2010 16:42:14 +0000 (18:42 +0200)]
idmap: Add missing dependency on ldbsamba.
Jelmer Vernooij [Sun, 10 Oct 2010 16:41:57 +0000 (18:41 +0200)]
secrets: Add missing dependency on ldbsamba.
Jelmer Vernooij [Sun, 10 Oct 2010 20:57:18 +0000 (22:57 +0200)]
cldapd: Add missing dependency on ldbsamba.
Jelmer Vernooij [Sun, 10 Oct 2010 21:25:38 +0000 (23:25 +0200)]
ldb-samba: Add ldb_wrap_add, remove last schema reference from ldb_wrap.
Jelmer Vernooij [Sun, 10 Oct 2010 15:34:21 +0000 (17:34 +0200)]
ldb-samba: Split up ldb_wrap_connect() a bit.
Jelmer Vernooij [Sun, 10 Oct 2010 15:15:11 +0000 (17:15 +0200)]
ldb-samba: Add convenience function for doing a Samba-style LDB init.
Jelmer Vernooij [Sun, 10 Oct 2010 15:00:45 +0000 (17:00 +0200)]
samdb: Add flags argument to samdb_connect().
Jelmer Vernooij [Sun, 10 Oct 2010 14:56:55 +0000 (16:56 +0200)]
samdb: Handle schema setup in samdb, not in more generic ldbsamba.
Jelmer Vernooij [Sun, 10 Oct 2010 21:08:12 +0000 (23:08 +0200)]
tls: add missing dependency on util_tevent.
Jelmer Vernooij [Sun, 10 Oct 2010 20:52:35 +0000 (22:52 +0200)]
wafsamba: Fix init function when building modules as shared objects.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Stefan Metzmacher [Sun, 10 Oct 2010 10:29:08 +0000 (12:29 +0200)]
socket_wrapper: Make it work on freebsd for udp packets
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Oct 10 12:57:00 UTC 2010 on sn-devel-104
Matthieu Patou [Sat, 9 Oct 2010 23:12:46 +0000 (10:12 +1100)]
build: make make tests SCREEN=1 work on freebsd
Kamen Mazdrashki [Sun, 3 Oct 2010 01:29:08 +0000 (04:29 +0300)]
s4-libnet_vampire: Remove unused self_corrected_schema
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Sun Oct 10 10:40:38 UTC 2010 on sn-devel-104
Andrew Bartlett [Sun, 26 Sep 2010 22:50:54 +0000 (08:50 +1000)]
s4-libnet_vampire use a linked list to handle schema objects pending conversion
Kamen Mazdrashki [Sat, 25 Sep 2010 10:26:03 +0000 (13:26 +0300)]
s4-vampire: Optimize Schema decoding conversion
memmove() is removed and I am using the beginning
of the list for storage for failed objects