Anatoliy Atanasov [Tue, 21 Dec 2010 08:10:00 +0000 (10:10 +0200)]
s4/dsdb_dn: Use dsdb_dn_parse_with_error in extended_store_replace
We need to return the correct LDB errors from the dn parsing process to the
client. The behavior is proved with ldap_syntaxes.py test.
Anatoliy Atanasov [Mon, 20 Dec 2010 14:55:49 +0000 (16:55 +0200)]
s4/dsdb_dn: Modify dsdb_dn_parse function to return ldb error
The error codes are the ones expected from the ldap_syntaxes.py test
and match the Windows behavior.
Günther Deschner [Thu, 6 Jan 2011 23:37:02 +0000 (00:37 +0100)]
s3-waf: fix winbind_krb5_locator.so realname.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jan 7 11:13:29 CET 2011 on sn-devel-104
Günther Deschner [Thu, 6 Jan 2011 23:05:27 +0000 (00:05 +0100)]
s3-waf: make the --with-Xdir options work more like in the classic build.
Also remove duplicates and sort the tables.
Still not sure if I understand the reason of processing the flags table after
the diroptions table, as every option you give it via configure was overwritten
immediately.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jan 7 00:57:10 CET 2011 on sn-devel-104
Andrew Bartlett [Thu, 6 Jan 2011 04:25:29 +0000 (15:25 +1100)]
s4-ldap_server Allow multiple binds on LDAP server
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Jan 7 00:02:23 CET 2011 on sn-devel-104
Günther Deschner [Thu, 6 Jan 2011 15:23:54 +0000 (16:23 +0100)]
s3-net: Fix bug #7690: retry DNS updates when connection to one nameserver has failed.
Initial patch from Patrik Martinsson <patrik.martinsson@smhi.se>.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Jan 6 17:29:11 CET 2011 on sn-devel-104
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
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
Jelmer Vernooij [Thu, 6 Jan 2011 13:39:40 +0000 (14:39 +0100)]
Use new style objects.
Jelmer Vernooij [Thu, 6 Jan 2011 11:40:07 +0000 (12:40 +0100)]
Remove unused imports.
Jelmer Vernooij [Wed, 5 Jan 2011 12:52:34 +0000 (13:52 +0100)]
tdbrestore: Update to GPLv3+, remove old FSF address.
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
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
Günther Deschner [Wed, 5 Jan 2011 16:22:24 +0000 (17:22 +0100)]
s3-rpcclient: use dcerpc_dfs_X functions.
Guenther
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
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
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
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.
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
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.
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
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
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
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
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
Stefan Metzmacher [Wed, 5 Jan 2011 09:05:47 +0000 (10:05 +0100)]
pidl:Samba4/Python: fix segfault when setting pointers to scalars.
metze
Stefan Metzmacher [Wed, 5 Jan 2011 08:26:02 +0000 (09:26 +0100)]
pidl: regenerate lib/Parse/Pidl/Expr.pm from expr.yp
metze
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
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
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
Andrew Tridgell [Wed, 22 Dec 2010 04:29:37 +0000 (15:29 +1100)]
talloc: added a test for the use after free Rusty found
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
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
Jelmer Vernooij [Wed, 5 Jan 2011 00:01:28 +0000 (01:01 +0100)]
talloc: Clarify error message on access after free.
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
Stefan Metzmacher [Tue, 4 Jan 2011 16:18:22 +0000 (17:18 +0100)]
s3:net_utils: use dcerpc_dssetup_DsRoleGetPrimaryDomainInformation()
metze
Stefan Metzmacher [Tue, 4 Jan 2011 12:55:15 +0000 (13:55 +0100)]
s3:winbindd: use dcerpc_dssetup_DsRoleGetPrimaryDomainInformation()
metze
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
Stefan Metzmacher [Tue, 4 Jan 2011 12:36:24 +0000 (13:36 +0100)]
s3:build: don't use cli_epmapper.c anymore
metze
Stefan Metzmacher [Tue, 4 Jan 2011 20:24:17 +0000 (21:24 +0100)]
s3:rpcclient: improve "epmmap" output
metze
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
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
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)