kai/samba.git
13 years agopidl/python: Allow import of talloc, even though it doesn't live in the
Jelmer Vernooij [Tue, 30 Nov 2010 22:48:46 +0000 (23:48 +0100)]
pidl/python: Allow import of talloc, even though it doesn't live in the
samba.dcerpc. namespace.

13 years agopidl: Allow more flexibility importing modules using convenience function.
Jelmer Vernooij [Tue, 30 Nov 2010 22:06:32 +0000 (23:06 +0100)]
pidl: Allow more flexibility importing modules using convenience function.

13 years agopytalloc: Add convenience function for checking if something is a talloc
Jelmer Vernooij [Tue, 30 Nov 2010 21:59:51 +0000 (22:59 +0100)]
pytalloc: Add convenience function for checking if something is a talloc
object.

13 years agopidl: Base new objects off of talloc object.
Jelmer Vernooij [Tue, 30 Nov 2010 21:59:32 +0000 (22:59 +0100)]
pidl: Base new objects off of talloc object.

13 years agowaf: added a help target for the other waf builds
Andrew Tridgell [Tue, 30 Nov 2010 22:57:50 +0000 (09:57 +1100)]
waf: added a help target for the other waf builds

this lets the s3 waf build use "make help"

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Dec  1 01:47:50 CET 2010 on sn-devel-104

13 years agos4-build: added a 'make help' target
Andrew Tridgell [Tue, 30 Nov 2010 22:56:29 +0000 (09:56 +1100)]
s4-build: added a 'make help' target

13 years agos4-provision: fixed check for missing msDS-SupportedEncryptionTypes
Andrew Tridgell [Tue, 30 Nov 2010 02:24:01 +0000 (13:24 +1100)]
s4-provision: fixed check for missing msDS-SupportedEncryptionTypes

thanks to Jelmer for spotting this

13 years agowintest: make expect calls case insensitive by default
Andrew Tridgell [Tue, 30 Nov 2010 00:55:48 +0000 (11:55 +1100)]
wintest: make expect calls case insensitive by default

13 years agowintest: added --vms option
Andrew Tridgell [Tue, 30 Nov 2010 00:54:55 +0000 (11:54 +1100)]
wintest: added --vms option

this allows you to run tests associated with a specified list of VMs

13 years agoheimdal: fix for w2000 from lha
Andrew Tridgell [Mon, 29 Nov 2010 22:56:30 +0000 (09:56 +1100)]
heimdal: fix for w2000 from lha

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Dec  1 00:59:59 CET 2010 on sn-devel-104

13 years agos4-dns: catch all DNS exceptions in samba_dnsupdate
Andrew Tridgell [Tue, 30 Nov 2010 04:23:39 +0000 (15:23 +1100)]
s4-dns: catch all DNS exceptions in samba_dnsupdate

13 years agos4-smb_server Return why the ntvfs_connect() failed.
Andrew Bartlett [Tue, 30 Nov 2010 07:04:42 +0000 (18:04 +1100)]
s4-smb_server Return why the ntvfs_connect() failed.

Andrew Bartlett

13 years agos4-librpc Handle all types of GUID in the GUID() initialiser
Andrew Bartlett [Tue, 30 Nov 2010 04:59:04 +0000 (15:59 +1100)]
s4-librpc Handle all types of GUID in the GUID() initialiser

By taking a length-limited string, we can parse binary and string GUID
values, which is particularly useful when reading from ldb.

Andrew Bartlett

13 years agos3-waf: convert RPC_LSARPC into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 22:06:53 +0000 (23:06 +0100)]
s3-waf: convert RPC_LSARPC into a subsystem.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec  1 00:13:58 CET 2010 on sn-devel-104

13 years agos3-waf: convert RPC_SAMR into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 22:04:23 +0000 (23:04 +0100)]
s3-waf: convert RPC_SAMR into a subsystem.

Guenther

13 years agos3-waf: convert INIT_SAMR into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 21:41:41 +0000 (22:41 +0100)]
s3-waf: convert INIT_SAMR into a subsystem.

Guenther

13 years agos3-waf: convert INIT_NETLOGON into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 21:37:37 +0000 (22:37 +0100)]
s3-waf: convert INIT_NETLOGON into a subsystem.

Guenther

13 years agos3-waf: convert INIT_LSA into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 21:34:54 +0000 (22:34 +0100)]
s3-waf: convert INIT_LSA into a subsystem.

Guenther

13 years agotalloc: Add talloc object.
Jelmer Vernooij [Tue, 30 Nov 2010 21:22:15 +0000 (22:22 +0100)]
talloc: Add talloc object.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Nov 30 23:26:56 CET 2010 on sn-devel-104

13 years agos3-waf: fix LIBNBT deps.
Günther Deschner [Tue, 30 Nov 2010 20:50:56 +0000 (21:50 +0100)]
s3-waf: fix LIBNBT deps.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Nov 30 22:39:05 CET 2010 on sn-devel-104

13 years agos3-waf: convert IDMAP_AD into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 20:46:31 +0000 (21:46 +0100)]
s3-waf: convert IDMAP_AD into a subsystem.

Guenther

13 years agos3-waf: convert IDMAP_HASH into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 20:44:25 +0000 (21:44 +0100)]
s3-waf: convert IDMAP_HASH into a subsystem.

Guenther

13 years agos3-waf: convert IDMAP_ADEX into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 20:42:17 +0000 (21:42 +0100)]
s3-waf: convert IDMAP_ADEX into a subsystem.

Guenther

13 years agos3-waf: no need to compile ../librpc/ndr/ndr_compression.c twice.
Günther Deschner [Tue, 30 Nov 2010 18:05:36 +0000 (19:05 +0100)]
s3-waf: no need to compile ../librpc/ndr/ndr_compression.c twice.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Nov 30 19:52:59 CET 2010 on sn-devel-104

13 years agos3-waf: use LIBCLI_NDR_NETLOGON.
Günther Deschner [Tue, 30 Nov 2010 18:00:09 +0000 (19:00 +0100)]
s3-waf: use LIBCLI_NDR_NETLOGON.

Guenther

13 years agos3-waf: convert LIBNBT into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 17:56:26 +0000 (18:56 +0100)]
s3-waf: convert LIBNBT into a subsystem.

Guenther

13 years agos3-waf: convert SPNEGO_PARSE into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 17:52:21 +0000 (18:52 +0100)]
s3-waf: convert SPNEGO_PARSE into a subsystem.

Guenther

13 years agos3-waf: use SLCACHE in ntlm_auth.
Günther Deschner [Tue, 30 Nov 2010 17:48:38 +0000 (18:48 +0100)]
s3-waf: use SLCACHE in ntlm_auth.

Guenther

13 years agos3-waf: use TLDAP in smbtorture.
Günther Deschner [Tue, 30 Nov 2010 17:40:30 +0000 (18:40 +0100)]
s3-waf: use TLDAP in smbtorture.

Guenther

13 years agos3-waf: convert NPA_TSTREAM into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 17:17:40 +0000 (18:17 +0100)]
s3-waf: convert NPA_TSTREAM into a subsystem.

Guenther

13 years agos3-waf: add LIBDRSUAPI subsystem.
Günther Deschner [Tue, 30 Nov 2010 17:07:21 +0000 (18:07 +0100)]
s3-waf: add LIBDRSUAPI subsystem.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Nov 30 18:58:42 CET 2010 on sn-devel-104

13 years agos3-waf: let SMBD_BASE depend on NDR_NOTIFY.
Günther Deschner [Tue, 30 Nov 2010 17:01:13 +0000 (18:01 +0100)]
s3-waf: let SMBD_BASE depend on NDR_NOTIFY.

Guenther

13 years agos3-waf: let LIBSMB (in fact LIBNBT) depend on NDR_NBT.
Günther Deschner [Tue, 30 Nov 2010 16:58:13 +0000 (17:58 +0100)]
s3-waf: let LIBSMB (in fact LIBNBT) depend on NDR_NBT.

Guenther

13 years agos3-waf: let LIBSMB (in fact LIBNBT) depend on NDR_SVCCTL.
Günther Deschner [Tue, 30 Nov 2010 16:56:03 +0000 (17:56 +0100)]
s3-waf: let LIBSMB (in fact LIBNBT) depend on NDR_SVCCTL.

Guenther

13 years agos3-waf: convert LIBCLI_SPOOLSS into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 16:50:32 +0000 (17:50 +0100)]
s3-waf: convert LIBCLI_SPOOLSS into a subsystem.

Guenther

13 years agos3-waf: convert RPCCLI_EPMAPPER into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 16:46:56 +0000 (17:46 +0100)]
s3-waf: convert RPCCLI_EPMAPPER into a subsystem.

Guenther

13 years agos3-waf: convert RPCCLI_EVENTLOG into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 16:45:25 +0000 (17:45 +0100)]
s3-waf: convert RPCCLI_EVENTLOG into a subsystem.

Guenther

13 years agos3-waf: convert RPCCLI_NTSVCS into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 16:44:25 +0000 (17:44 +0100)]
s3-waf: convert RPCCLI_NTSVCS into a subsystem.

Guenther

13 years agos3-waf: convert RPCCLI_DRSUAPI into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 16:43:09 +0000 (17:43 +0100)]
s3-waf: convert RPCCLI_DRSUAPI into a subsystem.

Guenther

13 years agos3-waf: convert RPCCLI_DFS into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 16:40:38 +0000 (17:40 +0100)]
s3-waf: convert RPCCLI_DFS into a subsystem.

Guenther

13 years agos3-waf: convert RPCCLI_INITSHUTDOWN into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 16:38:44 +0000 (17:38 +0100)]
s3-waf: convert RPCCLI_INITSHUTDOWN into a subsystem.

Guenther

13 years agos3-waf: convert RPCCLI_DSSETUP into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 16:36:13 +0000 (17:36 +0100)]
s3-waf: convert RPCCLI_DSSETUP into a subsystem.

Guenther

13 years agos3-waf: convert RPCCLI_SVCCTL into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 16:21:38 +0000 (17:21 +0100)]
s3-waf: convert RPCCLI_SVCCTL into a subsystem.

Guenther

13 years agos3-waf: convert RPCCLI_WKSSVC into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 16:19:12 +0000 (17:19 +0100)]
s3-waf: convert RPCCLI_WKSSVC into a subsystem.

Guenther

13 years agos3-waf: convert RPCCLI_SRVSVC into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 16:15:43 +0000 (17:15 +0100)]
s3-waf: convert RPCCLI_SRVSVC into a subsystem.

Guenther

13 years agos3-waf: convert LIBCLI_NETLOGON into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 16:27:37 +0000 (17:27 +0100)]
s3-waf: convert LIBCLI_NETLOGON into a subsystem.

Guenther

13 years agos3-waf: convert LIBCLI_LSA into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 16:09:34 +0000 (17:09 +0100)]
s3-waf: convert LIBCLI_LSA into a subsystem.

Guenther

13 years agos3-waf: convert LIBCLI_SAMR into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 15:43:34 +0000 (16:43 +0100)]
s3-waf: convert LIBCLI_SAMR into a subsystem.

Guenther

13 years agos3-waf: convert PARAM_UTIL into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 15:25:37 +0000 (16:25 +0100)]
s3-waf: convert PARAM_UTIL into a subsystem.

Guenther

13 years agos3-waf: convert TOKEN_UTIL into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 15:16:22 +0000 (16:16 +0100)]
s3-waf: convert TOKEN_UTIL into a subsystem.

Guenther

13 years agos3-waf: convert REG_EVENTLOG into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 14:12:52 +0000 (15:12 +0100)]
s3-waf: convert REG_EVENTLOG into a subsystem.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Nov 30 16:25:51 CET 2010 on sn-devel-104

13 years agos3-waf: convert LIBNMB into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 13:56:26 +0000 (14:56 +0100)]
s3-waf: convert LIBNMB into a subsystem.

Guenther

13 years agos3-waf: convert FNAME_UTIL into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 13:29:31 +0000 (14:29 +0100)]
s3-waf: convert FNAME_UTIL into a subsystem.

Guenther

13 years agos3: Fix bug 7832
Volker Lendecke [Tue, 30 Nov 2010 11:31:39 +0000 (12:31 +0100)]
s3: Fix bug 7832

Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Nov 30 14:39:34 CET 2010 on sn-devel-104

13 years agowafsamba: Fix indentation.
Jelmer Vernooij [Tue, 30 Nov 2010 11:01:07 +0000 (12:01 +0100)]
wafsamba: Fix indentation.

Without this change we'd exclude the rpath for private libraries
whenever the first dependency of a subsystem was a public library.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Nov 30 13:08:04 CET 2010 on sn-devel-104

13 years agos3: Add shadow copy info to smbclient allinfo
Volker Lendecke [Mon, 29 Nov 2010 17:09:49 +0000 (18:09 +0100)]
s3: Add shadow copy info to smbclient allinfo

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Nov 30 12:23:50 CET 2010 on sn-devel-104

13 years agos3: Add cli_shadow_copy_data
Volker Lendecke [Mon, 29 Nov 2010 16:39:43 +0000 (17:39 +0100)]
s3: Add cli_shadow_copy_data

13 years agos4:torture - partially revert "s4:torture - prefer the termination "return"s at the...
Matthias Dieter Wallnöfer [Tue, 30 Nov 2010 07:32:22 +0000 (08:32 +0100)]
s4:torture - partially revert "s4:torture - prefer the termination "return"s at the end of two unittests"

This partially reverts commit 54a5c398aaa1d53b5892c9b0aa5539ae7da651da.
As tridge pointed out I've overseen the nested loop in "run_iometer".
Therefore we end in a infinite loop. Obviously it wasn't run by "make
test" since then I would have detected it.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Nov 30 09:23:00 CET 2010 on sn-devel-104

13 years agowafsamba: Only use private library rpath when linking against private
Jelmer Vernooij [Tue, 30 Nov 2010 00:10:31 +0000 (01:10 +0100)]
wafsamba: Only use private library rpath when linking against private
libraries.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Nov 30 02:23:37 CET 2010 on sn-devel-104

13 years agosamba_dist: Fix dist for subprojects.
Jelmer Vernooij [Mon, 29 Nov 2010 22:47:00 +0000 (23:47 +0100)]
samba_dist: Fix dist for subprojects.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Nov 30 00:32:41 CET 2010 on sn-devel-104

13 years agosamdb: Build as public library.
Jelmer Vernooij [Mon, 29 Nov 2010 02:05:36 +0000 (03:05 +0100)]
samdb: Build as public library.

13 years agos4:torture - prefer the termination "return"s at the end of two unittests
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 21:42:07 +0000 (22:42 +0100)]
s4:torture - prefer the termination "return"s at the end of two unittests

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Nov 29 23:29:23 CET 2010 on sn-devel-104

13 years agoFix bug discovered with "encryped passwords = no".
Jeremy Allison [Mon, 29 Nov 2010 20:36:05 +0000 (12:36 -0800)]
Fix bug discovered with "encryped passwords = no".

message_push_string() and message_push_blob() both update
the bcc value, so we don't need the old code that tries to
do it manually.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Nov 29 22:24:01 CET 2010 on sn-devel-104

13 years agos4-smbtorture: only run the cupsaddsmb adobe driver test against s3.
Günther Deschner [Mon, 29 Nov 2010 16:59:31 +0000 (17:59 +0100)]
s4-smbtorture: only run the cupsaddsmb adobe driver test against s3.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Nov 29 18:47:17 CET 2010 on sn-devel-104

13 years agos3-spoolss: Fix Bug #7641: handle win9x adddriver calls w/o config file.
Günther Deschner [Mon, 29 Nov 2010 16:56:40 +0000 (17:56 +0100)]
s3-spoolss: Fix Bug #7641: handle win9x adddriver calls w/o config file.

This turned cupsaddsmb to run into an infinite loop.

Guenther

13 years agos4-smbtorture: add torture test for cupsaddsmb win9x driver install behavior.
Günther Deschner [Mon, 29 Nov 2010 16:50:05 +0000 (17:50 +0100)]
s4-smbtorture: add torture test for cupsaddsmb win9x driver install behavior.

Guenther

13 years agos4-smbtorture: make add-printerdriver test more robust against empty configfiles.
Günther Deschner [Mon, 29 Nov 2010 16:48:42 +0000 (17:48 +0100)]
s4-smbtorture: make add-printerdriver test more robust against empty configfiles.

Guenther

13 years agos4-smbtorture: make driver upload/removal more robust against empty filenames.
Günther Deschner [Mon, 29 Nov 2010 16:07:02 +0000 (17:07 +0100)]
s4-smbtorture: make driver upload/removal more robust against empty filenames.

Guenther

13 years agos3-oldtest: add WIN40 to print$ share.
Günther Deschner [Mon, 29 Nov 2010 14:18:13 +0000 (15:18 +0100)]
s3-oldtest: add WIN40 to print$ share.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Nov 29 16:20:37 CET 2010 on sn-devel-104

13 years agos3-selftest: add WIN40 directory to print$ share.
Günther Deschner [Mon, 29 Nov 2010 14:17:41 +0000 (15:17 +0100)]
s3-selftest: add WIN40 directory to print$ share.

Guenther

13 years agos4-smbtorture: add test for Adobe PostScript driver (Win9x) installation.
Günther Deschner [Mon, 29 Nov 2010 14:09:52 +0000 (15:09 +0100)]
s4-smbtorture: add test for Adobe PostScript driver (Win9x) installation.

Guenther

13 years agos4-smbtorture: handle driverfile overlap during removal in RPC-SPOOLSS-DRIVER.
Günther Deschner [Mon, 29 Nov 2010 14:08:01 +0000 (15:08 +0100)]
s4-smbtorture: handle driverfile overlap during removal in RPC-SPOOLSS-DRIVER.

Guenther

13 years agos4-smbtorture: re-arrange RPC-SPOOLSS-DRIVER test a bit.
Günther Deschner [Mon, 29 Nov 2010 12:08:02 +0000 (13:08 +0100)]
s4-smbtorture: re-arrange RPC-SPOOLSS-DRIVER test a bit.

Guenther

13 years agos4:wrepl_server - add a cast on "iov_base"
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:38:21 +0000 (14:38 +0100)]
s4:wrepl_server - add a cast on "iov_base"

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Nov 29 15:34:32 CET 2010 on sn-devel-104

13 years agos4:lib/tls/tls_tstream.c - quiet warning on Solaris "cc" by casts
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:35:19 +0000 (14:35 +0100)]
s4:lib/tls/tls_tstream.c - quiet warning on Solaris "cc" by casts

13 years agos4:auth/gensec/gensec_tstream.c - quiet warnings on Solaris "cc"
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:31:53 +0000 (14:31 +0100)]
s4:auth/gensec/gensec_tstream.c - quiet warnings on Solaris "cc"

13 years agos4:wrepl_server - remove unreachable statement
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:39:06 +0000 (14:39 +0100)]
s4:wrepl_server - remove unreachable statement

13 years agos4:dcesrv_drsuapi RPC server - remove unreachable statement
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:37:38 +0000 (14:37 +0100)]
s4:dcesrv_drsuapi RPC server - remove unreachable statement

13 years agos4:dns_server/dns_update.c - remove unreachable statements
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:36:46 +0000 (14:36 +0100)]
s4:dns_server/dns_update.c - remove unreachable statements

13 years agolibcli/security/object_tree.c - remove unreachable statement
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:46:23 +0000 (14:46 +0100)]
libcli/security/object_tree.c - remove unreachable statement

13 years agos4:torture - remove unreachable statements to quiet warnings of Solaris "cc"
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:45:33 +0000 (14:45 +0100)]
s4:torture - remove unreachable statements to quiet warnings of Solaris "cc"

13 years agos4:auth/ntlmssp/ntlmssp_server.c - remove unnecessary ";"
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:33:08 +0000 (14:33 +0100)]
s4:auth/ntlmssp/ntlmssp_server.c - remove unnecessary ";"

13 years agoheimdal:base/heimbase.c - remove an unused variable
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:13:05 +0000 (14:13 +0100)]
heimdal:base/heimbase.c - remove an unused variable

13 years agos4:param/pyparam_util.c - remove unused include
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 11:03:53 +0000 (12:03 +0100)]
s4:param/pyparam_util.c - remove unused include

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Nov 29 12:56:12 CET 2010 on sn-devel-104

13 years agos4:auth/gensec/gensec_gssapi.c - always print error messages on the same talloc context
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 10:33:04 +0000 (11:33 +0100)]
s4:auth/gensec/gensec_gssapi.c - always print error messages on the same talloc context

13 years agowintest: cope with the heimdal version of kinit
Andrew Tridgell [Mon, 29 Nov 2010 06:19:55 +0000 (17:19 +1100)]
wintest: cope with the heimdal version of kinit

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Nov 29 08:49:36 CET 2010 on sn-devel-104

13 years agos4-samdb: give a better exception if multiple users match in password change
Andrew Tridgell [Mon, 29 Nov 2010 05:57:25 +0000 (16:57 +1100)]
s4-samdb: give a better exception if multiple users match in password change

13 years agos4-repl_schema: fixed ldb exception handling
Andrew Tridgell [Mon, 29 Nov 2010 03:16:18 +0000 (14:16 +1100)]
s4-repl_schema: fixed ldb exception handling

13 years agos4-samba-tool: fixed exception handling in subcommands
Andrew Tridgell [Mon, 29 Nov 2010 03:15:57 +0000 (14:15 +1100)]
s4-samba-tool: fixed exception handling in subcommands

this switches to the new pattern of:

 except Exception, e:
  raise CommandError("some error message", e)

13 years agos4-samba-tool: fixed ldb exception handling in domainlevel command
Andrew Tridgell [Mon, 29 Nov 2010 03:14:01 +0000 (14:14 +1100)]
s4-samba-tool: fixed ldb exception handling in domainlevel command

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos4-samba-tool: improved exception handling in samba-tool
Andrew Tridgell [Mon, 29 Nov 2010 03:11:57 +0000 (14:11 +1100)]
s4-samba-tool: improved exception handling in samba-tool

we now do reasonable printing on a wide range of common exception
classes, and always force a backtrace on an exception if the debug
level is >= 3

Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>

13 years agos4-join: fixed exception handling in join command
Andrew Tridgell [Mon, 29 Nov 2010 03:10:57 +0000 (14:10 +1100)]
s4-join: fixed exception handling in join command

13 years agos4-ldapcmp: make ldapcmp a samba-tool command
Andrew Tridgell [Mon, 29 Nov 2010 03:10:26 +0000 (14:10 +1100)]
s4-ldapcmp: make ldapcmp a samba-tool command

The ldapcmp tool is very useful, and should be available to Samba
admins, not just developers. This makes it a samba-tool command, which
also gives it the nicer command line handling that samba-tool has

13 years agos4-ldapcmp: fixed exception handling
Andrew Tridgell [Mon, 29 Nov 2010 02:30:46 +0000 (13:30 +1100)]
s4-ldapcmp: fixed exception handling

This pattern, which is common in our code, is wrong:
            except LdbError, (ERR_NO_SUCH_OBJECT, _):

what it actually does it to change the value of ldb.ERR_NO_SUCH_OBJECT
to be equal to whatever ldb error occurred! This led to some really
bizarre behavior

13 years agos4-pyglue: added get_debug_level() method
Andrew Tridgell [Mon, 29 Nov 2010 02:26:48 +0000 (13:26 +1100)]
s4-pyglue: added get_debug_level() method

Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>

13 years agos4-loadparm: use loadparm_init_global() instead of loadparm_init()
Andrew Tridgell [Mon, 29 Nov 2010 02:25:59 +0000 (13:25 +1100)]
s4-loadparm: use loadparm_init_global() instead of loadparm_init()

this prevents us having two lp_ctx contexts in these tools which leads
to bizarre behaviour

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos4-loadparm: added loadparm_init_global()
Andrew Tridgell [Mon, 29 Nov 2010 02:24:51 +0000 (13:24 +1100)]
s4-loadparm: added loadparm_init_global()

This ensures we use the same loadparm_context in all our command line
tools.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos4-gpo: started on samba-tool gpo list command
Andrew Tridgell [Sun, 28 Nov 2010 03:33:12 +0000 (14:33 +1100)]
s4-gpo: started on samba-tool gpo list command

13 years agos4-dsdb: give full error message for operational failures
Andrew Tridgell [Sun, 28 Nov 2010 03:32:51 +0000 (14:32 +1100)]
s4-dsdb: give full error message for operational failures

13 years agos4-pydsdb: two more GPO related flags
Andrew Tridgell [Sun, 28 Nov 2010 03:32:01 +0000 (14:32 +1100)]
s4-pydsdb: two more GPO related flags