sfrench/samba-autobuild/.git
13 years agolib/addns: move DNS client library to the main directory.
Günther Deschner [Thu, 6 Jan 2011 13:53:04 +0000 (14:53 +0100)]
lib/addns: move DNS client library to the main directory.

Guenther

13 years agoacl tests: Fix import.
Jelmer Vernooij [Thu, 6 Jan 2011 13:39:46 +0000 (14:39 +0100)]
acl tests: Fix import.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Jan  6 16:07:49 CET 2011 on sn-devel-104

13 years agoUse new style objects.
Jelmer Vernooij [Thu, 6 Jan 2011 13:39:40 +0000 (14:39 +0100)]
Use new style objects.

13 years agoRemove unused imports.
Jelmer Vernooij [Thu, 6 Jan 2011 11:40:07 +0000 (12:40 +0100)]
Remove unused imports.

13 years agotdbrestore: Update to GPLv3+, remove old FSF address.
Jelmer Vernooij [Wed, 5 Jan 2011 12:52:34 +0000 (13:52 +0100)]
tdbrestore: Update to GPLv3+, remove old FSF address.

13 years agos3-waf: no need to compile librpc/gen_ndr/cli_dfs.c anymore.
Günther Deschner [Wed, 5 Jan 2011 16:26:39 +0000 (17:26 +0100)]
s3-waf: no need to compile librpc/gen_ndr/cli_dfs.c anymore.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Jan  6 15:20:14 CET 2011 on sn-devel-104

13 years agos3-build: no need to compile librpc/gen_ndr/cli_dfs.c anymore.
Günther Deschner [Wed, 5 Jan 2011 16:26:16 +0000 (17:26 +0100)]
s3-build: no need to compile librpc/gen_ndr/cli_dfs.c anymore.

Guenther

13 years agos3-rpcclient: use dcerpc_dfs_X functions.
Günther Deschner [Wed, 5 Jan 2011 16:22:24 +0000 (17:22 +0100)]
s3-rpcclient: use dcerpc_dfs_X functions.

Guenther

13 years agopidl:Samba4/Python: fix memory leak in _ndr_print functions
Stefan Metzmacher [Thu, 6 Jan 2011 12:45:55 +0000 (13:45 +0100)]
pidl:Samba4/Python: fix memory leak in _ndr_print functions

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Jan  6 14:34:31 CET 2011 on sn-devel-104

13 years agopidl/wscript: only warn about grammar file changes
Stefan Metzmacher [Thu, 6 Jan 2011 12:41:08 +0000 (13:41 +0100)]
pidl/wscript: only warn about grammar file changes

autobuild should protect us from having grammar files
and generated files out of sync.

metze

13 years agos3: Fix some nonempty blank lines
Volker Lendecke [Wed, 5 Jan 2011 13:38:33 +0000 (14:38 +0100)]
s3: Fix some nonempty blank lines

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Jan  5 16:03:24 CET 2011 on sn-devel-104

13 years agos4/ldapcmp: Correct fix for creds2
Anatoliy Atanasov [Wed, 5 Jan 2011 14:16:59 +0000 (16:16 +0200)]
s4/ldapcmp: Correct fix for creds2

We need to set domain and workstation to creds2 otherwise we get Segfault
because they are not initialized correctly.

13 years agoRevert "s4/ldapcmp: Fix the parsing of the second set of credentials"
Anatoliy Atanasov [Wed, 5 Jan 2011 13:32:42 +0000 (15:32 +0200)]
Revert "s4/ldapcmp: Fix the parsing of the second set of credentials"

This reverts commit 1cbce84683ef4fa49b85d87988c5e8db7057530a.
Wrong assumption about a segmentation fault

13 years agoRevert "s4/ldapcmp: Check if creds2 is actualy set by the command line"
Anatoliy Atanasov [Wed, 5 Jan 2011 13:32:06 +0000 (15:32 +0200)]
Revert "s4/ldapcmp: Check if creds2 is actualy set by the command line"

This reverts commit f8275bae5d7b471967be7222170d049c18b8882f.
Wrong assumption about a segmentation fault.

13 years agoscript/autobuild.py: add pidl tests
Stefan Metzmacher [Wed, 5 Jan 2011 08:30:48 +0000 (09:30 +0100)]
script/autobuild.py: add pidl tests

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jan  5 14:29:54 CET 2011 on sn-devel-104

13 years agoscript/autobuild.py: fix path to clean-source-tree.sh from within lib/tevent/
Stefan Metzmacher [Wed, 5 Jan 2011 11:43:43 +0000 (12:43 +0100)]
script/autobuild.py: fix path to clean-source-tree.sh from within lib/tevent/

metze

13 years agopidl/wscript: let the developer use the standalone build with yapp
Stefan Metzmacher [Wed, 5 Jan 2011 11:00:01 +0000 (12:00 +0100)]
pidl/wscript: let the developer use the standalone build with yapp

Waf isn't happy when files in the source directory are changed.

metze

13 years agobuildtools/wafsamba: import 'sys' and 'Logs' if we use them
Stefan Metzmacher [Wed, 5 Jan 2011 11:16:15 +0000 (12:16 +0100)]
buildtools/wafsamba: import 'sys' and 'Logs' if we use them

We should avoid generating a backtrace in a normal
error case, just because sys.exit(1) isn't known.

metze

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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.

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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.

13 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.

13 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.

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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>
13 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

13 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

13 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

13 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

13 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

13 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

13 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.

13 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.

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

13 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.

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

13 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.

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

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

13 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.

13 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.

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

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

13 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

13 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

13 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

13 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

13 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)

13 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).

13 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).

13 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.

13 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

13 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().

13 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().