ira/wip.git
8 years agopidl:Samba4/Python: avoid ';;' in generated C code.
Stefan Metzmacher [Wed, 5 Jan 2011 09:08:08 +0000 (10:08 +0100)]
pidl:Samba4/Python: avoid ';;' in generated C code.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jan  5 11:10:34 CET 2011 on sn-devel-104

8 years agopidl:Samba4/Python: fix segfault when setting pointers to scalars.
Stefan Metzmacher [Wed, 5 Jan 2011 09:05:47 +0000 (10:05 +0100)]
pidl:Samba4/Python: fix segfault when setting pointers to scalars.

metze

8 years agopidl: regenerate lib/Parse/Pidl/Expr.pm from expr.yp
Stefan Metzmacher [Wed, 5 Jan 2011 08:26:02 +0000 (09:26 +0100)]
pidl: regenerate lib/Parse/Pidl/Expr.pm from expr.yp

metze

8 years agopidl: sync idl.yp with the CPP changes
Stefan Metzmacher [Wed, 5 Jan 2011 08:24:22 +0000 (09:24 +0100)]
pidl: sync idl.yp with the CPP changes

This is taken from commit 21b0d5e3b10711e6ce3bfad0c1ee2da09a60e232.

metze

8 years agotalloc: change version to 2.0.5 after a critical bugfix
Stefan Metzmacher [Wed, 5 Jan 2011 09:23:54 +0000 (10:23 +0100)]
talloc: change version to 2.0.5 after a critical bugfix

metze

8 years agotalloc: fixed a use after free error
Andrew Tridgell [Wed, 5 Jan 2011 05:33:13 +0000 (16:33 +1100)]
talloc: fixed a use after free error

this is the minimal fix for the problem Rusty found. I previously
thought that the best fix would be to change tc->parent to be valid
for all pointers, but that is expensive for realloc with large numbers
of child pointers, which is much more commmon than I expected it to
be.

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Jan  5 07:22:27 CET 2011 on sn-devel-104

8 years agotalloc: added a test for the use after free Rusty found
Andrew Tridgell [Wed, 22 Dec 2010 04:29:37 +0000 (15:29 +1100)]
talloc: added a test for the use after free Rusty found

8 years agoupgradeprovision: Fix use of dict.get().
Jelmer Vernooij [Wed, 5 Jan 2011 01:48:03 +0000 (02:48 +0100)]
upgradeprovision: Fix use of dict.get().

Avoid modifying list while iterating over it.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Jan  5 03:37:35 CET 2011 on sn-devel-104

8 years agos4-python: Allow setting TEST_DEBUG_LEVEL to override debug level for tests.
Jelmer Vernooij [Wed, 5 Jan 2011 00:09:25 +0000 (01:09 +0100)]
s4-python: Allow setting TEST_DEBUG_LEVEL to override debug level for tests.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Jan  5 01:58:44 CET 2011 on sn-devel-104

8 years agotalloc: Clarify error message on access after free.
Jelmer Vernooij [Wed, 5 Jan 2011 00:01:28 +0000 (01:01 +0100)]
talloc: Clarify error message on access after free.

8 years agos3:build: don't use cli_dssetup.c any more
Stefan Metzmacher [Tue, 4 Jan 2011 12:56:05 +0000 (13:56 +0100)]
s3:build: don't use cli_dssetup.c any more

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jan  4 22:21:48 CET 2011 on sn-devel-104

8 years agos3:net_utils: use dcerpc_dssetup_DsRoleGetPrimaryDomainInformation()
Stefan Metzmacher [Tue, 4 Jan 2011 16:18:22 +0000 (17:18 +0100)]
s3:net_utils: use dcerpc_dssetup_DsRoleGetPrimaryDomainInformation()

metze

8 years agos3:winbindd: use dcerpc_dssetup_DsRoleGetPrimaryDomainInformation()
Stefan Metzmacher [Tue, 4 Jan 2011 12:55:15 +0000 (13:55 +0100)]
s3:winbindd: use dcerpc_dssetup_DsRoleGetPrimaryDomainInformation()

metze

8 years agos3:rpcclient: use dcerpc_binding_handle based client stubs in cmd_dssetup.c
Stefan Metzmacher [Tue, 4 Jan 2011 12:51:34 +0000 (13:51 +0100)]
s3:rpcclient: use dcerpc_binding_handle based client stubs in cmd_dssetup.c

metze

8 years agos3:build: don't use cli_epmapper.c anymore
Stefan Metzmacher [Tue, 4 Jan 2011 12:36:24 +0000 (13:36 +0100)]
s3:build: don't use cli_epmapper.c anymore

metze

8 years agos3:rpcclient: improve "epmmap" output
Stefan Metzmacher [Tue, 4 Jan 2011 20:24:17 +0000 (21:24 +0100)]
s3:rpcclient: improve "epmmap" output

metze

8 years agos3:rpcclient: use dcerpc_binding_handle bases client stubs in cmd_epmapper.c
Stefan Metzmacher [Tue, 4 Jan 2011 12:33:46 +0000 (13:33 +0100)]
s3:rpcclient: use dcerpc_binding_handle bases client stubs in cmd_epmapper.c

metze

8 years agos3:rpc_client: use dcerpc_epm_Map() and don't ignore 'result' anymore.
Stefan Metzmacher [Tue, 4 Jan 2011 12:32:28 +0000 (13:32 +0100)]
s3:rpc_client: use dcerpc_epm_Map() and don't ignore 'result' anymore.

metze

8 years agos3-rpcecho: Only register rpcecho in the developer build.
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

8 years agos4/ldapcmp: Check if creds2 is actualy set by the command line
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

8 years agos3:build: don't use cli_ntsvcs.c any more.
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

8 years agos3:rpcclient: use dcerpc_binding_handle client stubs in cmd_ntsvcs.c
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

8 years agos3:build: don't use cli_wbint.c any more
Stefan Metzmacher [Tue, 4 Jan 2011 12:58:25 +0000 (13:58 +0100)]
s3:build: don't use cli_wbint.c any more

metze

8 years agos4/ldapcmp: Fix the parsing of the second set of credentials
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

8 years agos3-waf: convert SAMBA_VERSION into a subsystem.
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

8 years agos3-waf: convert PASSCHANGE into a subsystem.
Günther Deschner [Tue, 4 Jan 2011 12:05:51 +0000 (13:05 +0100)]
s3-waf: convert PASSCHANGE into a subsystem.

Guenther

8 years agos3-waf: add UTIL_TDB subsystem.
Günther Deschner [Tue, 4 Jan 2011 11:56:29 +0000 (12:56 +0100)]
s3-waf: add UTIL_TDB subsystem.

Guenther

8 years agos3-waf: Fixed the static rpc service build.
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

8 years agos3-smbd: Call the rpc service shutdown functions.
Andreas Schneider [Mon, 20 Dec 2010 10:42:17 +0000 (11:42 +0100)]
s3-smbd: Call the rpc service shutdown functions.

8 years agos3-build: Remove broken RPC modules support.
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.

8 years agos3-smbd: Call all the rpc services in the right order.
Andreas Schneider [Mon, 20 Dec 2010 10:00:45 +0000 (11:00 +0100)]
s3-smbd: Call all the rpc services in the right order.

8 years agos4-smbtorture: check driver_version equality as well.
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

8 years agos4-smbtorture: always setup full driver level 8 in test_add_driver_arg().
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

8 years agos4-smbtorture: in test_GetDriverInfo_winreg() always test level 6 for samba3 as
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

8 years agos4-smbtorture: setup help and dependent files in spoolss driver unc path tests.
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

8 years agos4-smbtorture: fix DriverDate and DriverVersion comparison checks against w2k3.
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

8 years agos4-smbtorture: add more tests for driver_dates.
Günther Deschner [Thu, 23 Dec 2010 22:50:23 +0000 (23:50 +0100)]
s4-smbtorture: add more tests for driver_dates.

Guenther

8 years agoRevert "nsswitch Add talloc depencency for nsstest"
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

8 years agonsswitch: remove includes.h dependency from nsstest.c
Stefan Metzmacher [Tue, 4 Jan 2011 07:42:16 +0000 (08:42 +0100)]
nsswitch: remove includes.h dependency from nsstest.c

metze

8 years agodynconfig: Add extern to header, try to unbreak imini buildfarm host.
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

8 years agotalloc: Typo fix for api docs
Brad Hards [Mon, 3 Jan 2011 21:42:20 +0000 (08:42 +1100)]
talloc: Typo fix for api docs

8 years agonsswitch Add talloc depencency for nsstest
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

8 years agos4-heimdal_build Remove talloc dep for krb5-glue.c
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

8 years agos4-heimdal_build Remove talloc dependency from hdb-glue.c
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

8 years agos3:net_rpc_vampire_keytab: don't return -1 on success (bug #7899)
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

8 years agos3-waf: fix the build.
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

8 years agolib/crypto: add aes_cfb8_encrypt()
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

8 years agos3:librpc: use netsec_outgoing_sig_size() instead of a hardcoded signature
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

8 years agos4:gensec/schannel: use netsec_outgoing_sig_size() to get the signature size
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

8 years agolibcli/auth: add netsec_outgoing_sig_size()
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

8 years agos4:dynconfig: Add prototypes to match dynconfig.c
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

8 years agos4:ldb: Make sample module implementation static.
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

8 years agos4:ldb: Add prototype header.
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>
8 years agotalloc: Fix warnings in test code
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

8 years agos3:winbindd/idmap_ad.c: update my C
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

8 years agos3:winbindd/idmap_util.c: add my C
Michael Adam [Sun, 2 Jan 2011 21:05:36 +0000 (22:05 +0100)]
s3:winbindd/idmap_util.c: add my C

8 years agos3:winbindd/idmap.c: add my C
Michael Adam [Sun, 2 Jan 2011 21:04:53 +0000 (22:04 +0100)]
s3:winbindd/idmap.c: add my C

8 years agoremove unnecessary use of pass.
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

8 years agopyldb: Fix memory reference error.
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

8 years agoUse TestCase.get_credentials() where possible.
Jelmer Vernooij [Mon, 3 Jan 2011 00:13:09 +0000 (01:13 +0100)]
Use TestCase.get_credentials() where possible.

8 years agopyldb: Always return -1, 0, or 1 in tp_compare functions.
Jelmer Vernooij [Sun, 2 Jan 2011 21:34:26 +0000 (22:34 +0100)]
pyldb: Always return -1, 0, or 1 in tp_compare functions.

8 years agoRevert broken destructor changes.
Jelmer Vernooij [Sat, 1 Jan 2011 05:55:54 +0000 (06:55 +0100)]
Revert broken destructor changes.

8 years agopyldb: Fix memory context, add more OOM checks.
Jelmer Vernooij [Thu, 30 Dec 2010 19:11:59 +0000 (20:11 +0100)]
pyldb: Fix memory context, add more OOM checks.

8 years agopyldb: Some more OOM checks.
Jelmer Vernooij [Thu, 30 Dec 2010 18:59:01 +0000 (19:59 +0100)]
pyldb: Some more OOM checks.

8 years agoMake all functions in pyldb.c private, as they can't be used anyway.
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.

8 years agos4-python: Add missing prototypes.
Jelmer Vernooij [Thu, 30 Dec 2010 18:30:09 +0000 (19:30 +0100)]
s4-python: Add missing prototypes.

8 years agopyldb: Use pytalloc-util.
Jelmer Vernooij [Thu, 30 Dec 2010 17:10:49 +0000 (18:10 +0100)]
pyldb: Use pytalloc-util.

8 years agoldb: Remove duplicate definition of check_special, use PyObject_New.
Jelmer Vernooij [Thu, 30 Dec 2010 02:43:23 +0000 (03:43 +0100)]
ldb: Remove duplicate definition of check_special, use PyObject_New.

8 years agos4-python: Properly call PyObject_Del from all destructors.
Jelmer Vernooij [Wed, 29 Dec 2010 14:58:12 +0000 (15:58 +0100)]
s4-python: Properly call PyObject_Del from all destructors.

8 years agoFix some formatting.
Jelmer Vernooij [Tue, 28 Dec 2010 15:30:47 +0000 (16:30 +0100)]
Fix some formatting.

8 years agoUse fail_on_null.
Jelmer Vernooij [Mon, 27 Dec 2010 13:32:48 +0000 (14:32 +0100)]
Use fail_on_null.

8 years agos4: Happy New Year 2011
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

8 years agos3: Happy New Year 2011
Stefan Metzmacher [Sun, 2 Jan 2011 16:55:05 +0000 (17:55 +0100)]
s3: Happy New Year 2011

metze

8 years agos3: Fix a memleak in receive_getdc_response
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

8 years agos3:net: make idmap_store_secret static.
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

8 years agos3:net: fix the usage for net idmap secret (removing alloc)
Michael Adam [Tue, 7 Dec 2010 23:41:28 +0000 (00:41 +0100)]
s3:net: fix the usage for net idmap secret (removing alloc)

8 years agos3:net: remove alloc parameter from idmap_store_secret() (net idmap store).
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).

8 years agos3:idmap_ldap: remove special handling of alloc secret (not used any more).
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).

8 years agos3:idmap_ldap: remove unused idmap_ldap_alloc_context.
Michael Adam [Tue, 7 Dec 2010 23:26:29 +0000 (00:26 +0100)]
s3:idmap_ldap: remove unused idmap_ldap_alloc_context.

8 years agos3:idmap_ldap: remove alloc context member from ldap_idmap_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

8 years agos3:idmap_ldap: remove use of alloc context from idmap_ldap_allocate_id().
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().

8 years agos3:idmap_ldap: remove unused idmap_ldap_alloc_close_destructor().
Michael Adam [Tue, 7 Dec 2010 23:07:29 +0000 (00:07 +0100)]
s3:idmap_ldap: remove unused idmap_ldap_alloc_close_destructor().

8 years agos3:idmap_ldap: remove unused idmap_ldap_alloc_init().
Michael Adam [Tue, 7 Dec 2010 23:06:50 +0000 (00:06 +0100)]
s3:idmap_ldap: remove unused idmap_ldap_alloc_init().

8 years agos3:idmap_ldap: don't call idmap_ldap_alloc_init in idmap_ldap_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.

8 years agos3:idmap_ldap: remove use of the ldap_idmap_alloc_context from verify_idpool().
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.

8 years agoFix a valgrind error
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

8 years agoFix memory leak I introduced when refactoring unexpected packet code.
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

8 years agos3: Remove unused mem_ctx arg from set_getdc_request
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

8 years agos3: Factor out prep_getdc_request
Volker Lendecke [Sat, 1 Jan 2011 15:18:48 +0000 (16:18 +0100)]
s3: Factor out prep_getdc_request

8 years agos3: cli_send_mailslot -> cli_prep_mailslot
Volker Lendecke [Sat, 1 Jan 2011 14:29:11 +0000 (15:29 +0100)]
s3: cli_send_mailslot -> cli_prep_mailslot

8 years agos3: Fix some nonempty blank lines
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

8 years agonss_wins: Fix a type-punned warning
Volker Lendecke [Sat, 1 Jan 2011 14:08:42 +0000 (15:08 +0100)]
nss_wins: Fix a type-punned warning

8 years agoheimdal_build: Add missing dependencies when building with system heimdal.
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

8 years agoheimdal_build: Support using system gssapi library.
Jelmer Vernooij [Sat, 1 Jan 2011 01:50:54 +0000 (02:50 +0100)]
heimdal_build: Support using system gssapi library.

8 years agoheimdal_build: Support using system hdb and kdc libraries.
Jelmer Vernooij [Sat, 1 Jan 2011 01:40:18 +0000 (02:40 +0100)]
heimdal_build: Support using system hdb and kdc libraries.

8 years agoheimdal_build: Add conditionals for all libraries.
Jelmer Vernooij [Sat, 1 Jan 2011 01:10:05 +0000 (02:10 +0100)]
heimdal_build: Add conditionals for all libraries.

8 years agoheimdal_build: Allow using system krb5.
Jelmer Vernooij [Sat, 1 Jan 2011 01:05:23 +0000 (02:05 +0100)]
heimdal_build: Allow using system krb5.

8 years agoheimdal_build: Allow using system heimntlm.
Jelmer Vernooij [Sat, 1 Jan 2011 00:54:35 +0000 (01:54 +0100)]
heimdal_build: Allow using system heimntlm.

8 years agoheimdal_build: Look for asn1_compile (but by default, don't use it).
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).

8 years agos4-python: Only set BASETYPE flag if subclassing is supported.
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