Andreas Schneider [Tue, 4 Jan 2011 15:53:33 +0000 (16:53 +0100)]
s3-rpcecho: Only register rpcecho in the developer build.
Autobuild-User: Andreas Schneider <asn@samba.org>
Autobuild-Date: Tue Jan 4 18:56:38 CET 2011 on sn-devel-104
Anatoliy Atanasov [Tue, 4 Jan 2011 15:45:16 +0000 (17:45 +0200)]
s4/ldapcmp: Check if creds2 is actualy set by the command line
When parsing the command line for the second set of credentials
the parser returns wrong user if the second set of parameters isn't set.
So check if the password is set instead.
Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
Autobuild-Date: Tue Jan 4 18:11:26 CET 2011 on sn-devel-104
Stefan Metzmacher [Tue, 4 Jan 2011 09:55:48 +0000 (10:55 +0100)]
s3:build: don't use cli_ntsvcs.c any more.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jan 4 17:23:17 CET 2011 on sn-devel-104
Stefan Metzmacher [Tue, 4 Jan 2011 09:52:14 +0000 (10:52 +0100)]
s3:rpcclient: use dcerpc_binding_handle client stubs in cmd_ntsvcs.c
metze
Stefan Metzmacher [Tue, 4 Jan 2011 12:58:25 +0000 (13:58 +0100)]
s3:build: don't use cli_wbint.c any more
metze
Anatoliy Atanasov [Tue, 4 Jan 2011 14:50:03 +0000 (16:50 +0200)]
s4/ldapcmp: Fix the parsing of the second set of credentials
We need this second set of credentials so we can do comparison
between DCs in two different domains.
Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
Autobuild-Date: Tue Jan 4 16:36:06 CET 2011 on sn-devel-104
Günther Deschner [Tue, 4 Jan 2011 12:11:35 +0000 (13:11 +0100)]
s3-waf: convert SAMBA_VERSION into a subsystem.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Jan 4 15:10:52 CET 2011 on sn-devel-104
Günther Deschner [Tue, 4 Jan 2011 12:05:51 +0000 (13:05 +0100)]
s3-waf: convert PASSCHANGE into a subsystem.
Guenther
Günther Deschner [Tue, 4 Jan 2011 11:56:29 +0000 (12:56 +0100)]
s3-waf: add UTIL_TDB subsystem.
Guenther
Andreas Schneider [Mon, 20 Dec 2010 13:29:34 +0000 (14:29 +0100)]
s3-waf: Fixed the static rpc service build.
Autobuild-User: Andreas Schneider <asn@samba.org>
Autobuild-Date: Tue Jan 4 12:09:48 CET 2011 on sn-devel-104
Andreas Schneider [Mon, 20 Dec 2010 10:42:17 +0000 (11:42 +0100)]
s3-smbd: Call the rpc service shutdown functions.
Andreas Schneider [Mon, 20 Dec 2010 10:24:07 +0000 (11:24 +0100)]
s3-build: Remove broken RPC modules support.
With the current module support for rpc we're not able to call the init
functions with the rpc callback structure. So init functions and
shutdown functions aren't called. These init functions are needed to
setup pre requirements like migrating the printer databases and register
at the endpoint mapper. The shutdown functions cleanup memory and
deregister from the endpoint mapper.
Andreas Schneider [Mon, 20 Dec 2010 10:00:45 +0000 (11:00 +0100)]
s3-smbd: Call all the rpc services in the right order.
Günther Deschner [Fri, 24 Dec 2010 00:55:08 +0000 (01:55 +0100)]
s4-smbtorture: check driver_version equality as well.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Jan 4 11:22:09 CET 2011 on sn-devel-104
Günther Deschner [Fri, 24 Dec 2010 00:25:49 +0000 (01:25 +0100)]
s4-smbtorture: always setup full driver level 8 in test_add_driver_arg().
Guenther
Günther Deschner [Fri, 24 Dec 2010 00:25:04 +0000 (01:25 +0100)]
s4-smbtorture: in test_GetDriverInfo_winreg() always test level 6 for samba3 as
well.
Guenther
Günther Deschner [Fri, 24 Dec 2010 00:22:24 +0000 (01:22 +0100)]
s4-smbtorture: setup help and dependent files in spoolss driver unc path tests.
Guenther
Günther Deschner [Fri, 24 Dec 2010 00:14:49 +0000 (01:14 +0100)]
s4-smbtorture: fix DriverDate and DriverVersion comparison checks against w2k3.
Guenther
Günther Deschner [Thu, 23 Dec 2010 22:50:23 +0000 (23:50 +0100)]
s4-smbtorture: add more tests for driver_dates.
Guenther
Stefan Metzmacher [Tue, 4 Jan 2011 07:43:16 +0000 (08:43 +0100)]
Revert "nsswitch Add talloc depencency for nsstest"
This reverts commit
640028d158583825ea5ffd1266f099cf8776db5d.
This is not needed anymore.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jan 4 09:38:57 CET 2011 on sn-devel-104
Stefan Metzmacher [Tue, 4 Jan 2011 07:42:16 +0000 (08:42 +0100)]
nsswitch: remove includes.h dependency from nsstest.c
metze
Brad Hards [Mon, 3 Jan 2011 22:14:46 +0000 (09:14 +1100)]
dynconfig: Add extern to header, try to unbreak imini buildfarm host.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Jan 4 05:39:57 CET 2011 on sn-devel-104
Brad Hards [Mon, 3 Jan 2011 21:42:20 +0000 (08:42 +1100)]
talloc: Typo fix for api docs
Andrew Bartlett [Tue, 4 Jan 2011 03:41:38 +0000 (14:41 +1100)]
nsswitch Add talloc depencency for nsstest
nsstest does not use talloc, but it includes talloc.h via includes.h,
and so without this it cannot find the right internal header.
This wasn't noticed before, as most linux developer boxes have a talloc.h.
The issue was reported by Adam Tauno Williams <awilliam at whitemice.org>
Andrew Bartlett
Andrew Bartlett [Tue, 4 Jan 2011 03:40:21 +0000 (14:40 +1100)]
s4-heimdal_build Remove talloc dep for krb5-glue.c
This glue does not require any internal Samba functionality, just the
same heimdal headers as the files it is providing a stub replacement for.
Andrew Bartlett
Andrew Bartlett [Tue, 4 Jan 2011 03:34:27 +0000 (14:34 +1100)]
s4-heimdal_build Remove talloc dependency from hdb-glue.c
This file can compile with just heimdal headers.
Andrew Bartlett
Stefan Metzmacher [Mon, 3 Jan 2011 15:58:56 +0000 (16:58 +0100)]
s3:net_rpc_vampire_keytab: don't return -1 on success (bug #7899)
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jan 3 19:05:11 CET 2011 on sn-devel-104
Günther Deschner [Mon, 3 Jan 2011 15:53:00 +0000 (16:53 +0100)]
s3-waf: fix the build.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Jan 3 18:19:01 CET 2011 on sn-devel-104
Stefan Metzmacher [Thu, 17 Sep 2009 23:04:02 +0000 (01:04 +0200)]
lib/crypto: add aes_cfb8_encrypt()
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jan 3 17:32:07 CET 2011 on sn-devel-104
Stefan Metzmacher [Sat, 26 Sep 2009 00:59:59 +0000 (02:59 +0200)]
s3:librpc: use netsec_outgoing_sig_size() instead of a hardcoded signature
size
metze
Stefan Metzmacher [Tue, 29 Sep 2009 07:10:27 +0000 (09:10 +0200)]
s4:gensec/schannel: use netsec_outgoing_sig_size() to get the signature size
metze
Stefan Metzmacher [Tue, 29 Sep 2009 07:00:57 +0000 (09:00 +0200)]
libcli/auth: add netsec_outgoing_sig_size()
The size of the signature blob depends on the used
algorithm.
metze
Brad Hards [Sun, 2 Jan 2011 06:46:14 +0000 (17:46 +1100)]
s4:dynconfig: Add prototypes to match dynconfig.c
Also, SCRIPTSBINDIR isn't really common with Samba3 dynconfig
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jan 3 13:25:04 CET 2011 on sn-devel-104
Brad Hards [Sun, 2 Jan 2011 05:31:41 +0000 (16:31 +1100)]
s4:ldb: Make sample module implementation static.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jan 3 12:28:21 CET 2011 on sn-devel-104
Brad Hards [Sun, 2 Jan 2011 05:20:35 +0000 (16:20 +1100)]
s4:ldb: Add prototype header.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Brad Hards [Sun, 2 Jan 2011 01:33:12 +0000 (12:33 +1100)]
talloc: Fix warnings in test code
This should not change any behaviour - the intent is just to reduce
the "nuisance" warnings.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jan 3 11:12:39 CET 2011 on sn-devel-104
Michael Adam [Sun, 2 Jan 2011 21:08:13 +0000 (22:08 +0100)]
s3:winbindd/idmap_ad.c: update my C
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Jan 3 09:19:07 CET 2011 on sn-devel-104
Michael Adam [Sun, 2 Jan 2011 21:05:36 +0000 (22:05 +0100)]
s3:winbindd/idmap_util.c: add my C
Michael Adam [Sun, 2 Jan 2011 21:04:53 +0000 (22:04 +0100)]
s3:winbindd/idmap.c: add my C
Jelmer Vernooij [Mon, 3 Jan 2011 05:54:07 +0000 (06:54 +0100)]
remove unnecessary use of pass.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Jan 3 08:21:12 CET 2011 on sn-devel-104
Jelmer Vernooij [Mon, 3 Jan 2011 00:43:51 +0000 (01:43 +0100)]
pyldb: Fix memory reference error.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Jan 3 02:34:05 CET 2011 on sn-devel-104
Jelmer Vernooij [Mon, 3 Jan 2011 00:13:09 +0000 (01:13 +0100)]
Use TestCase.get_credentials() where possible.
Jelmer Vernooij [Sun, 2 Jan 2011 21:34:26 +0000 (22:34 +0100)]
pyldb: Always return -1, 0, or 1 in tp_compare functions.
Jelmer Vernooij [Sat, 1 Jan 2011 05:55:54 +0000 (06:55 +0100)]
Revert broken destructor changes.
Jelmer Vernooij [Thu, 30 Dec 2010 19:11:59 +0000 (20:11 +0100)]
pyldb: Fix memory context, add more OOM checks.
Jelmer Vernooij [Thu, 30 Dec 2010 18:59:01 +0000 (19:59 +0100)]
pyldb: Some more OOM checks.
Jelmer Vernooij [Thu, 30 Dec 2010 18:39:14 +0000 (19:39 +0100)]
Make all functions in pyldb.c private, as they can't be used anyway.
Jelmer Vernooij [Thu, 30 Dec 2010 18:30:09 +0000 (19:30 +0100)]
s4-python: Add missing prototypes.
Jelmer Vernooij [Thu, 30 Dec 2010 17:10:49 +0000 (18:10 +0100)]
pyldb: Use pytalloc-util.
Jelmer Vernooij [Thu, 30 Dec 2010 02:43:23 +0000 (03:43 +0100)]
ldb: Remove duplicate definition of check_special, use PyObject_New.
Jelmer Vernooij [Wed, 29 Dec 2010 14:58:12 +0000 (15:58 +0100)]
s4-python: Properly call PyObject_Del from all destructors.
Jelmer Vernooij [Tue, 28 Dec 2010 15:30:47 +0000 (16:30 +0100)]
Fix some formatting.
Jelmer Vernooij [Mon, 27 Dec 2010 13:32:48 +0000 (14:32 +0100)]
Use fail_on_null.
Stefan Metzmacher [Sun, 2 Jan 2011 16:55:55 +0000 (17:55 +0100)]
s4: Happy New Year 2011
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Jan 2 18:42:12 CET 2011 on sn-devel-104
Stefan Metzmacher [Sun, 2 Jan 2011 16:55:05 +0000 (17:55 +0100)]
s3: Happy New Year 2011
metze
Volker Lendecke [Sun, 2 Jan 2011 04:57:09 +0000 (05:57 +0100)]
s3: Fix a memleak in receive_getdc_response
It's the free_packet() that was missing. On the way, I've changed the
"return false;" to a "goto fail;", which makes the patch a bit larger.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Jan 2 14:27:56 CET 2011 on sn-devel-104
Michael Adam [Tue, 7 Dec 2010 23:43:34 +0000 (00:43 +0100)]
s3:net: make idmap_store_secret static.
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Sun Jan 2 13:41:07 CET 2011 on sn-devel-104
Michael Adam [Tue, 7 Dec 2010 23:41:28 +0000 (00:41 +0100)]
s3:net: fix the usage for net idmap secret (removing alloc)
Michael Adam [Tue, 7 Dec 2010 23:39:28 +0000 (00:39 +0100)]
s3:net: remove alloc parameter from idmap_store_secret() (net idmap store).
Michael Adam [Tue, 7 Dec 2010 23:32:53 +0000 (00:32 +0100)]
s3:idmap_ldap: remove special handling of alloc secret (not used any more).
Michael Adam [Tue, 7 Dec 2010 23:26:29 +0000 (00:26 +0100)]
s3:idmap_ldap: remove unused idmap_ldap_alloc_context.
Michael Adam [Tue, 7 Dec 2010 23:26:05 +0000 (00:26 +0100)]
s3:idmap_ldap: remove alloc context member from ldap_idmap_context
Michael Adam [Tue, 7 Dec 2010 23:24:01 +0000 (00:24 +0100)]
s3:idmap_ldap: remove use of alloc context from idmap_ldap_allocate_id().
Michael Adam [Tue, 7 Dec 2010 23:07:29 +0000 (00:07 +0100)]
s3:idmap_ldap: remove unused idmap_ldap_alloc_close_destructor().
Michael Adam [Tue, 7 Dec 2010 23:06:50 +0000 (00:06 +0100)]
s3:idmap_ldap: remove unused idmap_ldap_alloc_init().
Michael Adam [Tue, 7 Dec 2010 23:04:20 +0000 (00:04 +0100)]
s3:idmap_ldap: don't call idmap_ldap_alloc_init in idmap_ldap_init.
Call verify_idpool() instead.
Michael Adam [Tue, 7 Dec 2010 23:19:23 +0000 (00:19 +0100)]
s3:idmap_ldap: remove use of the ldap_idmap_alloc_context from verify_idpool().
Allocation is now subsumed in the idmap ldap config.
This is the beginning of the removal of the idmap ldap alloc parameters.
Volker Lendecke [Sun, 2 Jan 2011 01:48:03 +0000 (02:48 +0100)]
Fix a valgrind error
Thanks to Tridge for the hint.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Jan 2 10:58:51 CET 2011 on sn-devel-104
Jeremy Allison [Sun, 2 Jan 2011 04:23:49 +0000 (20:23 -0800)]
Fix memory leak I introduced when refactoring unexpected packet code.
Found by Volker.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sun Jan 2 06:11:13 CET 2011 on sn-devel-104
Volker Lendecke [Sat, 1 Jan 2011 15:21:12 +0000 (16:21 +0100)]
s3: Remove unused mem_ctx arg from set_getdc_request
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Jan 1 23:00:24 CET 2011 on sn-devel-104
Volker Lendecke [Sat, 1 Jan 2011 15:18:48 +0000 (16:18 +0100)]
s3: Factor out prep_getdc_request
Volker Lendecke [Sat, 1 Jan 2011 14:29:11 +0000 (15:29 +0100)]
s3: cli_send_mailslot -> cli_prep_mailslot
Volker Lendecke [Sat, 1 Jan 2011 14:13:30 +0000 (15:13 +0100)]
s3: Fix some nonempty blank lines
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Jan 1 16:03:23 CET 2011 on sn-devel-104
Volker Lendecke [Sat, 1 Jan 2011 14:08:42 +0000 (15:08 +0100)]
nss_wins: Fix a type-punned warning
Jelmer Vernooij [Sat, 1 Jan 2011 02:56:27 +0000 (03:56 +0100)]
heimdal_build: Add missing dependencies when building with system heimdal.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Jan 1 04:46:35 CET 2011 on sn-devel-104
Jelmer Vernooij [Sat, 1 Jan 2011 01:50:54 +0000 (02:50 +0100)]
heimdal_build: Support using system gssapi library.
Jelmer Vernooij [Sat, 1 Jan 2011 01:40:18 +0000 (02:40 +0100)]
heimdal_build: Support using system hdb and kdc libraries.
Jelmer Vernooij [Sat, 1 Jan 2011 01:10:05 +0000 (02:10 +0100)]
heimdal_build: Add conditionals for all libraries.
Jelmer Vernooij [Sat, 1 Jan 2011 01:05:23 +0000 (02:05 +0100)]
heimdal_build: Allow using system krb5.
Jelmer Vernooij [Sat, 1 Jan 2011 00:54:35 +0000 (01:54 +0100)]
heimdal_build: Allow using system heimntlm.
Jelmer Vernooij [Sat, 1 Jan 2011 00:25:10 +0000 (01:25 +0100)]
heimdal_build: Look for asn1_compile (but by default, don't use it).
Jelmer Vernooij [Wed, 29 Dec 2010 17:56:13 +0000 (18:56 +0100)]
s4-python: Only set BASETYPE flag if subclassing is supported.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Jan 1 03:39:58 CET 2011 on sn-devel-104
Jelmer Vernooij [Wed, 29 Dec 2010 17:09:09 +0000 (18:09 +0100)]
s4-python: Add more prototypes.
Jelmer Vernooij [Wed, 29 Dec 2010 14:58:12 +0000 (15:58 +0100)]
s4-python: Properly call PyObject_Del from all destructors.
Jelmer Vernooij [Tue, 28 Dec 2010 16:33:30 +0000 (17:33 +0100)]
wmi: Remove unnecessary noprint statements.
Jelmer Vernooij [Sat, 25 Dec 2010 00:14:22 +0000 (01:14 +0100)]
talloc/tdb/tevent: Remove obsolete signatures files.
Volker Lendecke [Fri, 31 Dec 2010 13:01:05 +0000 (14:01 +0100)]
s3: Add some const to receive_getdc_response
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Dec 31 14:48:57 CET 2010 on sn-devel-104
Volker Lendecke [Fri, 31 Dec 2010 13:00:43 +0000 (14:00 +0100)]
s3: Add some const to send_getdc_request
Volker Lendecke [Fri, 31 Dec 2010 09:07:45 +0000 (10:07 +0100)]
s3: Fix some nonempty blank lines
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Dec 31 10:58:31 CET 2010 on sn-devel-104
Stefan Metzmacher [Thu, 23 Dec 2010 18:40:08 +0000 (19:40 +0100)]
script/autobuild.py: check that the source tree has no uncommitted changes after make
This makes sure the ABI files will be committed when the ABI changed.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Dec 31 04:03:28 CET 2010 on sn-devel-104
Stefan Metzmacher [Wed, 29 Dec 2010 11:08:19 +0000 (12:08 +0100)]
s3:lib/netapi: don't set SAMR_FIELD_FULL_NAME if we just want to set the account name (bug #7896)
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Dec 30 18:09:13 CET 2010 on sn-devel-104
Michael Adam [Thu, 30 Dec 2010 15:34:59 +0000 (16:34 +0100)]
examples:createdombj: default prefix to target-type, not "group"
It can be irritating to create users named group00001, group00002, ... :-)
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Dec 30 17:22:57 CET 2010 on sn-devel-104
Volker Lendecke [Thu, 30 Dec 2010 11:42:50 +0000 (12:42 +0100)]
s3: Fix two uninitialized variables
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Dec 30 12:52:47 CET 2010 on sn-devel-104
Volker Lendecke [Thu, 23 Dec 2010 14:20:22 +0000 (15:20 +0100)]
s3: Allow more control over smbsock_[any_]connect
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Dec 29 23:30:44 CET 2010 on sn-devel-104
Volker Lendecke [Wed, 29 Dec 2010 07:46:08 +0000 (08:46 +0100)]
Use sockaddr_storage in async sendto/recvfrom
Stefan Metzmacher [Wed, 29 Dec 2010 09:39:25 +0000 (10:39 +0100)]
tdb: add ABI/tdb-1.2.9.sigs
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Dec 29 11:26:12 CET 2010 on sn-devel-104
Rusty Russell [Wed, 29 Dec 2010 02:20:47 +0000 (12:50 +1030)]
tdb: tdb_summary() support.
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Wed Dec 29 10:12:05 CET 2010 on sn-devel-104
Jeremy Allison [Wed, 29 Dec 2010 00:25:16 +0000 (16:25 -0800)]
Fix bug #7892 - open_file_fchmod() leaves a stale lock.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Dec 29 02:15:23 CET 2010 on sn-devel-104
Volker Lendecke [Tue, 28 Dec 2010 12:47:35 +0000 (13:47 +0100)]
s3: Make name_query return NTSTATUS
Also use talloc for the result
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 28 18:21:05 CET 2010 on sn-devel-104
Volker Lendecke [Tue, 28 Dec 2010 16:17:04 +0000 (17:17 +0100)]
s3: AllowDebugChange is gone