kai/samba-autobuild/.git
9 years agoRevert "s4:registry - util.c - move the "REG_NONE" case in the conversion functions...
Wilco Baan Hofman [Sun, 28 Mar 2010 14:46:53 +0000 (16:46 +0200)]
Revert "s4:registry - util.c - move the "REG_NONE" case in the conversion functions on top of the switch"

This reverts commit 4e6c0e1f6f37a7e04d10dbf7abbf626f52232aaf.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
9 years agoRevert "s4:registry - util.c - treat unsupported and binary values as the same in...
Wilco Baan Hofman [Sun, 28 Mar 2010 14:46:30 +0000 (16:46 +0200)]
Revert "s4:registry - util.c - treat unsupported and binary values as the same in the conversion functions"

This reverts commit cc3eec1681bb6d614e688f51e48bd76f6d513e67.

Conflicts:

source4/lib/registry/util.c

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
9 years agoRevert "s4:registry - adaptions for "add memory contexts for delete value/key functions""
Wilco Baan Hofman [Sun, 28 Mar 2010 14:30:43 +0000 (16:30 +0200)]
Revert "s4:registry - adaptions for "add memory contexts for delete value/key functions""

This reverts commit 43170dafbcbe7464bce9b4c6d76532d7d0bf5b9a.

Conflicts:

source4/lib/registry/dir.c
source4/lib/registry/util.c

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
9 years agoRevert "s4:registry - "util" - make "reg_key_add_abs" consistent with "reg_key_del_abs""
Wilco Baan Hofman [Sun, 28 Mar 2010 14:18:46 +0000 (16:18 +0200)]
Revert "s4:registry - "util" - make "reg_key_add_abs" consistent with "reg_key_del_abs""

This reverts commit 9d8592978e28c492d971a3b5a4c0133febc149ea.

Conflicts:

source4/lib/registry/util.c

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
9 years agoRevert of commit 5b6ad54f43741c0c25b35e44cafe5fed352ff133 in registry.h
Wilco Baan Hofman [Sun, 28 Mar 2010 14:12:22 +0000 (16:12 +0200)]
Revert of commit 5b6ad54f43741c0c25b35e44cafe5fed352ff133 in registry.h

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
9 years agoRemove incorrect const, something that was correct in commit 9c3e6249fd984b823a77cab0...
Wilco Baan Hofman [Sun, 28 Mar 2010 14:03:12 +0000 (16:03 +0200)]
Remove incorrect const, something that was correct in commit 9c3e6249fd984b823a77cab0514601d2a487920a

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
9 years agoRevert "s4:registry - "util" - remove "const" from "reg_abs_path""
Wilco Baan Hofman [Sun, 28 Mar 2010 13:59:53 +0000 (15:59 +0200)]
Revert "s4:registry - "util" - remove "const" from "reg_abs_path""

This reverts commit 9c3e6249fd984b823a77cab0514601d2a487920a.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
9 years agos3:rpc_client: remove more unused code
Stefan Metzmacher [Thu, 25 Mar 2010 14:54:29 +0000 (15:54 +0100)]
s3:rpc_client: remove more unused code

metze

9 years agos3:rpc_client: remove unused code, we handle transport failures in the transport...
Stefan Metzmacher [Thu, 25 Mar 2010 14:29:05 +0000 (15:29 +0100)]
s3:rpc_client: remove unused code, we handle transport failures in the transport layer now

metze

9 years agos3:winbindd_reconnect: don't only reconnect on NT_STATUS_UNSUCCESSFUL
Stefan Metzmacher [Mon, 29 Mar 2010 14:31:13 +0000 (16:31 +0200)]
s3:winbindd_reconnect: don't only reconnect on NT_STATUS_UNSUCCESSFUL

metze

9 years agos3:winbindd_cm: invalidate connection if cm_connect_netlogon() fails
Stefan Metzmacher [Thu, 25 Mar 2010 14:25:47 +0000 (15:25 +0100)]
s3:winbindd_cm: invalidate connection if cm_connect_netlogon() fails

metze

9 years agos3:winbindd: consistently use TALLOC_FREE(conn->foo_pipe) is we create a new connection
Stefan Metzmacher [Thu, 25 Mar 2010 14:17:07 +0000 (15:17 +0100)]
s3:winbindd: consistently use TALLOC_FREE(conn->foo_pipe) is we create a new connection

metze

9 years agos3:winbindd_cm: use rpccli_is_connected() helper function
Stefan Metzmacher [Thu, 25 Mar 2010 14:15:57 +0000 (15:15 +0100)]
s3:winbindd_cm: use rpccli_is_connected() helper function

metze

9 years agos3:winbindd_cm: use cli_state_is_connected() helper function
Stefan Metzmacher [Thu, 25 Mar 2010 14:14:02 +0000 (15:14 +0100)]
s3:winbindd_cm: use cli_state_is_connected() helper function

metze

9 years agos3:rpc_client: return at least 10 sec as old timeout in rpccli_set_timeout() instead...
Stefan Metzmacher [Sun, 28 Mar 2010 17:34:34 +0000 (19:34 +0200)]
s3:rpc_client: return at least 10 sec as old timeout in rpccli_set_timeout() instead of 0

metze

9 years agos3:rpc_client: add set_timeout hook to rpc_cli_transport
Stefan Metzmacher [Thu, 25 Mar 2010 14:51:51 +0000 (15:51 +0100)]
s3:rpc_client: add set_timeout hook to rpc_cli_transport

metze

9 years agos3:rpc_client: add rpccli_is_connected()
Stefan Metzmacher [Thu, 25 Mar 2010 14:00:38 +0000 (15:00 +0100)]
s3:rpc_client: add rpccli_is_connected()

metze

9 years agos3:rpc_client: don't mix layers and keep a reference to cli_state in the caller
Stefan Metzmacher [Mon, 29 Mar 2010 12:58:19 +0000 (14:58 +0200)]
s3:rpc_client: don't mix layers and keep a reference to cli_state in the caller

We should not rely on the backend to have a reference to the cli_state.
This will make it possible for the backend to set its cli_state reference
to NULL, when the transport is dead.

metze

9 years agos3:rpc_transport_np: add comment about bad usage in a destructor
Stefan Metzmacher [Thu, 25 Mar 2010 13:10:25 +0000 (14:10 +0100)]
s3:rpc_transport_np: add comment about bad usage in a destructor

metze

9 years agos3:rpc_transport_np: use cli_state_is_connected() helper
Stefan Metzmacher [Thu, 25 Mar 2010 13:08:42 +0000 (14:08 +0100)]
s3:rpc_transport_np: use cli_state_is_connected() helper

metze

9 years agos3:libsmb: add cli_state_is_connected() function
Stefan Metzmacher [Thu, 25 Mar 2010 12:20:56 +0000 (13:20 +0100)]
s3:libsmb: add cli_state_is_connected() function

metze

9 years agos3:libsmb: don't let cli_shutdown() segfault with a NULL cli_state
Stefan Metzmacher [Mon, 29 Mar 2010 13:07:34 +0000 (15:07 +0200)]
s3:libsmb: don't let cli_shutdown() segfault with a NULL cli_state

metze

9 years agoldap.py: Fix syntax error.
Jelmer Vernooij [Mon, 29 Mar 2010 16:05:03 +0000 (18:05 +0200)]
ldap.py: Fix syntax error.

9 years agopython: Fix rule for generating docs using pydoctor.
Jelmer Vernooij [Mon, 29 Mar 2010 15:35:20 +0000 (17:35 +0200)]
python: Fix rule for generating docs using pydoctor.

9 years agosubunit: Update to newer upstream version.
Jelmer Vernooij [Mon, 29 Mar 2010 14:25:03 +0000 (16:25 +0200)]
subunit: Update to newer upstream version.

9 years agos4-python: Simplify mechanism for finding included Python modules.
Jelmer Vernooij [Mon, 29 Mar 2010 14:21:26 +0000 (16:21 +0200)]
s4-python: Simplify mechanism for finding included Python modules.

9 years agos4-python: Move dnspython to lib/, like the other Python modules
Jelmer Vernooij [Mon, 29 Mar 2010 14:08:11 +0000 (16:08 +0200)]
s4-python: Move dnspython to lib/, like the other Python modules

This also avoids it from being installed if it's already present on the
system.

9 years agos4-python: Format to PEP8, simplify tests.
Jelmer Vernooij [Mon, 29 Mar 2010 13:43:43 +0000 (15:43 +0200)]
s4-python: Format to PEP8, simplify tests.

9 years agoMake the smbta-util manpage xml create smbta-util.8 instead of smbta-tool.8
Holger Hetterich [Mon, 29 Mar 2010 15:05:34 +0000 (17:05 +0200)]
Make the smbta-util manpage xml create smbta-util.8 instead of smbta-tool.8

Additionally change any references to smbta-tool in the text of the manpage.

Signed-off-by: Andreas Schneider <asn@samba.org>
9 years agopidl:Samba4/Client: don't mix rpc and application NTSTATUS errors anymore for the...
Stefan Metzmacher [Sat, 27 Mar 2010 11:48:21 +0000 (12:48 +0100)]
pidl:Samba4/Client: don't mix rpc and application NTSTATUS errors anymore for the new bindings

The new dcerpc_binding_handle based client stubs don't mix error codes anymore,
while the old dcerpc_pipe based ones still do to keep OpenChange happy for now.

metze

9 years agos4:torture/rpc/samba3rpc.c: add explicit check for NTSTATUS r.out.result
Günther Deschner [Wed, 24 Mar 2010 12:14:09 +0000 (13:14 +0100)]
s4:torture/rpc/samba3rpc.c: add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:libnet/libnet_passwd.c: add explicit check for NTSTATUS r.out.result
Stefan Metzmacher [Wed, 17 Mar 2010 19:14:53 +0000 (20:14 +0100)]
s4:libnet/libnet_passwd.c: add explicit check for NTSTATUS r.out.result

metze

9 years agos4:libnet/libnet_samsync.c: add explicit check for NTSTATUS r.out.result
Stefan Metzmacher [Wed, 17 Mar 2010 19:31:15 +0000 (20:31 +0100)]
s4:libnet/libnet_samsync.c: add explicit check for NTSTATUS r.out.result

metze

9 years agos4:libnet/libnet_join.c: add explicit check for NTSTATUS r.out.result
Stefan Metzmacher [Wed, 17 Mar 2010 19:30:57 +0000 (20:30 +0100)]
s4:libnet/libnet_join.c: add explicit check for NTSTATUS r.out.result

metze

9 years agos4:libcli/util/clilsa.c: add explicit check for NTSTATUS r.out.result
Günther Deschner [Tue, 23 Mar 2010 14:04:25 +0000 (15:04 +0100)]
s4:libcli/util/clilsa.c: add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:torture/rpc/lsa.c: add explicit check for NTSTATUS r.out.result
Stefan Metzmacher [Wed, 24 Mar 2010 08:06:54 +0000 (09:06 +0100)]
s4:torture/rpc/lsa.c: add explicit check for NTSTATUS r.out.result

metze

9 years agos4:torture/rpc/samr.c: add explicit check for NTSTATUS r.out.result
Günther Deschner [Thu, 18 Mar 2010 23:38:04 +0000 (00:38 +0100)]
s4:torture/rpc/samr.c: add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:torture/rpc/handles.c: add explicit check for NTSTATUS r.out.result
Günther Deschner [Fri, 19 Mar 2010 14:35:36 +0000 (15:35 +0100)]
s4:torture/rpc/handles.c: add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:torture/rpc/samr_accessmask.c: add explicit check for NTSTATUS r.out.result
Günther Deschner [Fri, 19 Mar 2010 11:23:37 +0000 (12:23 +0100)]
s4:torture/rpc/samr_accessmask.c: add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:torture/rpc/samsync.c: add explicit check for NTSTATUS r.out.result
Stefan Metzmacher [Sat, 27 Mar 2010 09:45:17 +0000 (10:45 +0100)]
s4:torture/rpc/samsync.c: add explicit check for NTSTATUS r.out.result

9 years agos4:torture/rpc/samlogon.c: add explicit check for NTSTATUS r.out.result
Günther Deschner [Fri, 19 Mar 2010 13:56:52 +0000 (14:56 +0100)]
s4:torture/rpc/samlogon.c: add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:torture/rpc/netlogon.c: add explicit check for NTSTATUS r.out.result
Günther Deschner [Fri, 19 Mar 2010 13:45:38 +0000 (14:45 +0100)]
s4:torture/rpc/netlogon.c: add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:torture/rpc/lsa_lookup.c:add explicit check for NTSTATUS r.out.result
Günther Deschner [Thu, 18 Mar 2010 23:09:46 +0000 (00:09 +0100)]
s4:torture/rpc/lsa_lookup.c:add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:torture/libnet:add explicit check for NTSTATUS r.out.result
Günther Deschner [Tue, 23 Mar 2010 14:20:16 +0000 (15:20 +0100)]
s4:torture/libnet:add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:torture/rpc/schannel.c: add explicit check for NTSTATUS r.out.result
Günther Deschner [Fri, 19 Mar 2010 13:17:18 +0000 (14:17 +0100)]
s4:torture/rpc/schannel.c: add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:torture/rpc/remote_pac.c: add explicit check for NTSTATUS r.out.result
Günther Deschner [Fri, 19 Mar 2010 13:48:36 +0000 (14:48 +0100)]
s4:torture/rpc/remote_pac.c: add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:torture/rpc/testjoin.c: add explicit check for NTSTATUS r.out.result
Günther Deschner [Fri, 19 Mar 2010 12:55:35 +0000 (13:55 +0100)]
s4:torture/rpc/testjoin.c: add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:torture/rpc/session_key.c: add explicit check for NTSTATUS r.out.result
Günther Deschner [Thu, 18 Mar 2010 23:16:29 +0000 (00:16 +0100)]
s4:torture/rpc/session_key.c: add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:torture/rpc/eventlog.c: add explicit check for NTSTATUS r.out.result
Günther Deschner [Fri, 19 Mar 2010 11:57:54 +0000 (12:57 +0100)]
s4:torture/rpc/eventlog.c: add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:torture/rpc/unixinfo.c: add explicit check for NTSTATUS r.out.result
Günther Deschner [Thu, 18 Mar 2010 23:21:01 +0000 (00:21 +0100)]
s4:torture/rpc/unixinfo.c: add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:torture/ntp: add explicit check for NTSTATUS r.out.result
Günther Deschner [Tue, 23 Mar 2010 14:19:25 +0000 (15:19 +0100)]
s4:torture/ntp: add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:torture/rpc/atsvc.c: add explicit check for NTSTATUS r.out.result
Günther Deschner [Fri, 19 Mar 2010 11:26:27 +0000 (12:26 +0100)]
s4:torture/rpc/atsvc.c: add explicit check for NTSTATUS r.out.result

Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agos4:torture/rpc/echo.c: remove NTSTATUS status variables
Stefan Metzmacher [Wed, 24 Mar 2010 08:45:21 +0000 (09:45 +0100)]
s4:torture/rpc/echo.c: remove NTSTATUS status variables

metze

9 years agos4:torture/rpc/echo.c: add explicit check for NTSTATUS r.out.result
Stefan Metzmacher [Wed, 24 Mar 2010 08:31:17 +0000 (09:31 +0100)]
s4:torture/rpc/echo.c: add explicit check for NTSTATUS r.out.result

metze

9 years agos3: Fix bug 7212, "getent group does not return group members"
Volker Lendecke [Mon, 29 Mar 2010 14:59:48 +0000 (16:59 +0200)]
s3: Fix bug 7212, "getent group does not return group members"

9 years agos4-waf: use the libreplace strerror_r if needed
Andrew Tridgell [Mon, 29 Mar 2010 09:53:16 +0000 (20:53 +1100)]
s4-waf: use the libreplace strerror_r if needed

9 years agopytalloc: allow for using a system libtalloc-dev with pytalloc
Andrew Tridgell [Sun, 28 Mar 2010 21:35:30 +0000 (08:35 +1100)]
pytalloc: allow for using a system libtalloc-dev with pytalloc

When we have a system talloc library, we still need to grab pytalloc.h
from lib/talloc. We don't want to just use -Ilib/talloc, as otherwise
we'll get the in-tree talloc.h which may not be compatible with the
system talloc.h

So we need to give the path to pytalloc.h

9 years agotalloc: testsuite should use <talloc.h> not "talloc.h"
Andrew Tridgell [Mon, 29 Mar 2010 07:48:29 +0000 (18:48 +1100)]
talloc: testsuite should use <talloc.h> not "talloc.h"

if we are using the system talloc, the testsuite needs to use the
system talloc.h

9 years agos4: added a simple implementation of bin/samba -b
Andrew Tridgell [Mon, 29 Mar 2010 09:20:25 +0000 (20:20 +1100)]
s4: added a simple implementation of bin/samba -b

this shows the config paths. Useful for debugging --enable-fhs

9 years agos3-selftest: Don't log to stdout, use logfiles instead.
Andreas Schneider [Fri, 26 Mar 2010 12:23:31 +0000 (13:23 +0100)]
s3-selftest: Don't log to stdout, use logfiles instead.

The logging to the logfiles is more verbose and they can be found in
./st/dc/logs. If you still want to log to stdout start selftest with:

SMBD_OPTIONS="-S -d10" make selftest

9 years agos3: Attempt to fix the build on AIX, shm_ptr seems to be a macro there
Volker Lendecke [Mon, 29 Mar 2010 05:24:00 +0000 (07:24 +0200)]
s3: Attempt to fix the build on AIX, shm_ptr seems to be a macro there

9 years agoupgradeprovision: Fix formatting, syntax error.
Jelmer Vernooij [Sun, 28 Mar 2010 20:58:36 +0000 (22:58 +0200)]
upgradeprovision: Fix formatting, syntax error.

9 years agos4 upgradeprovision: add information about upgrade in oEMInformation to keep a better...
Matthieu Patou [Sun, 28 Mar 2010 20:37:26 +0000 (00:37 +0400)]
s4 upgradeprovision: add information about upgrade in oEMInformation to keep a better trace of different updates

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
9 years agos4: allow upgrade provision to fix acl and missing dir on GPO dirs
Matthieu Patou [Sun, 28 Mar 2010 18:48:55 +0000 (22:48 +0400)]
s4: allow upgrade provision to fix acl and missing dir on GPO dirs

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
9 years agoprovision: make gpo related function more reusable for upgradeprovision
Matthieu Patou [Tue, 23 Feb 2010 16:11:58 +0000 (19:11 +0300)]
provision: make gpo related function more reusable for upgradeprovision

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
9 years agoprovision: Remove unnecessary whitespace.
Jelmer Vernooij [Sun, 28 Mar 2010 20:42:31 +0000 (22:42 +0200)]
provision: Remove unnecessary whitespace.

9 years agoselftest: Update locations in README.
Jelmer Vernooij [Sun, 28 Mar 2010 20:42:11 +0000 (22:42 +0200)]
selftest: Update locations in README.

9 years agoselftest: Remove unused BuildFarm output file (now using subunit)
Jelmer Vernooij [Sun, 28 Mar 2010 19:56:09 +0000 (21:56 +0200)]
selftest: Remove unused BuildFarm output file (now using subunit)

9 years agoselftest: Remove html subunit formatter; it's too simple and really belongs in subuni...
Jelmer Vernooij [Sun, 28 Mar 2010 19:45:42 +0000 (21:45 +0200)]
selftest: Remove html subunit formatter; it's too simple and really belongs in subunit or testrepository upstream.

9 years agoRemove extension from format-subunit.
Jelmer Vernooij [Sun, 28 Mar 2010 19:42:34 +0000 (21:42 +0200)]
Remove extension from format-subunit.

9 years agos3: Slightly simplify unmap_unix_group
Volker Lendecke [Sun, 14 Mar 2010 18:45:26 +0000 (19:45 +0100)]
s3: Slightly simplify unmap_unix_group

9 years agoAttempt to fix the build on AIX, that system seems to have a #define for s_type
Volker Lendecke [Sun, 28 Mar 2010 14:22:26 +0000 (16:22 +0200)]
Attempt to fix the build on AIX, that system seems to have a #define for s_type

9 years agos3: Remove unused bitmap_[allocate|free]
Volker Lendecke [Sun, 28 Mar 2010 12:32:47 +0000 (14:32 +0200)]
s3: Remove unused bitmap_[allocate|free]

9 years agos3: Use bitmap_talloc in vfs_full_audit.c
Volker Lendecke [Sun, 28 Mar 2010 12:26:53 +0000 (14:26 +0200)]
s3: Use bitmap_talloc in vfs_full_audit.c

This also simplifies the calling convention for init_bitmap() slightly

9 years agos3: Use bitmap_talloc for smb1 server tcons
Volker Lendecke [Sun, 28 Mar 2010 12:19:17 +0000 (14:19 +0200)]
s3: Use bitmap_talloc for smb1 server tcons

9 years agos3: Use bitmap_talloc in init_dptrs
Volker Lendecke [Sun, 28 Mar 2010 12:16:55 +0000 (14:16 +0200)]
s3: Use bitmap_talloc in init_dptrs

9 years agos3: Use bitmap_talloc in files.c
Volker Lendecke [Sun, 28 Mar 2010 12:14:48 +0000 (14:14 +0200)]
s3: Use bitmap_talloc in files.c

9 years agos3: Use bitmap_talloc in loadparm
Volker Lendecke [Sun, 28 Mar 2010 12:13:48 +0000 (14:13 +0200)]
s3: Use bitmap_talloc in loadparm

9 years agos3: A NULL context might be perfectly valid for bitmap_talloc
Volker Lendecke [Sun, 28 Mar 2010 12:05:55 +0000 (14:05 +0200)]
s3: A NULL context might be perfectly valid for bitmap_talloc

9 years agos3: Fix a memleak in bitmap_talloc
Volker Lendecke [Sun, 28 Mar 2010 12:03:57 +0000 (14:03 +0200)]
s3: Fix a memleak in bitmap_talloc

9 years agos3: Use TALLOC_ZERO_ARRAY in bitmap_talloc
Volker Lendecke [Sun, 28 Mar 2010 12:03:31 +0000 (14:03 +0200)]
s3: Use TALLOC_ZERO_ARRAY in bitmap_talloc

9 years agos3: Fix the memory hierarchy in bitmap_talloc
Volker Lendecke [Sun, 28 Mar 2010 12:02:47 +0000 (14:02 +0200)]
s3: Fix the memory hierarchy in bitmap_talloc

9 years agos3: Slightly simplify logic in conv_str_size
Volker Lendecke [Sun, 28 Mar 2010 11:16:58 +0000 (13:16 +0200)]
s3: Slightly simplify logic in conv_str_size

9 years agos3: Fix indentation in conv_str_size
Volker Lendecke [Sun, 28 Mar 2010 11:16:18 +0000 (13:16 +0200)]
s3: Fix indentation in conv_str_size

9 years agos3: Fix some nonempty blank lines
Volker Lendecke [Sun, 28 Mar 2010 11:13:03 +0000 (13:13 +0200)]
s3: Fix some nonempty blank lines

9 years agos3: Use tdb_transaction_start_nonblock in gencache_stabilize
Volker Lendecke [Fri, 26 Mar 2010 12:18:52 +0000 (13:18 +0100)]
s3: Use tdb_transaction_start_nonblock in gencache_stabilize

This avoids the thundering herd problem when 5000 smbds exit simultaneously
because the network went down.

9 years agoRevert "s3: Optimize gencache for smbd exit"
Volker Lendecke [Fri, 26 Mar 2010 12:15:53 +0000 (13:15 +0100)]
Revert "s3: Optimize gencache for smbd exit"

This reverts commit 5ca63676dc59e83ffd9560fdcfa26063f267f283.

That does not fully fix the problem, adding a tdb_transaction_start_nonblock to fix it.

9 years agos3: Fix typos in a debug message in vfs_init_custom
Volker Lendecke [Sun, 28 Mar 2010 12:21:49 +0000 (14:21 +0200)]
s3: Fix typos in a debug message in vfs_init_custom

9 years agos4-selftest: use CONFIG_H environment variable to find config.h
Andrew Tridgell [Sat, 27 Mar 2010 01:44:20 +0000 (12:44 +1100)]
s4-selftest: use CONFIG_H environment variable to find config.h

9 years agos4:heimdal Use correct variable to advance past -- options in kpasswd
Andrew Bartlett [Sat, 27 Mar 2010 08:13:28 +0000 (19:13 +1100)]
s4:heimdal Use correct variable to advance past -- options in kpasswd

This bug was introduced when kpasswd was migrated to a local getarg()
call, in Heimdal commit 7dd146072cd9b56d660a01f4aa20f8d81be356e8

Andrew Bartlett

9 years agos4:heimdal_build Remove forced HAVE_STRERROR_R
Andrew Bartlett [Sat, 27 Mar 2010 08:12:33 +0000 (19:12 +1100)]
s4:heimdal_build Remove forced HAVE_STRERROR_R

This just causes warnings, now upstream has a more complete fix.

9 years agos4:heimal Update generated files (cp from Heimdal)
Andrew Bartlett [Sat, 27 Mar 2010 01:24:00 +0000 (12:24 +1100)]
s4:heimal Update generated files (cp from Heimdal)

9 years agos4:testprogs Update test to match current Heimdal
Andrew Bartlett [Sat, 27 Mar 2010 01:23:21 +0000 (12:23 +1100)]
s4:testprogs Update test to match current Heimdal

9 years agos4:heimdal: import lorikeet-heimdal-201003262338 (commit f4e0dc17709829235f057e0e100d...
Andrew Bartlett [Sat, 27 Mar 2010 00:55:22 +0000 (11:55 +1100)]
s4:heimdal: import lorikeet-heimdal-201003262338 (commit f4e0dc17709829235f057e0e100d34802d3929ff)

9 years agos4:testprogs Fix kinit test for updated Heimdal
Andrew Bartlett [Sat, 27 Mar 2010 00:48:05 +0000 (11:48 +1100)]
s4:testprogs Fix kinit test for updated Heimdal

9 years agos4:heimdal New files and supporting logic for heimdal update
Andrew Bartlett [Tue, 12 Jan 2010 02:24:33 +0000 (13:24 +1100)]
s4:heimdal New files and supporting logic for heimdal update

9 years agos4:heimdal: import lorikeet-heimdal-201001120029 (commit a5e675fed7c5db8a7370b77ed0bf...
Andrew Bartlett [Tue, 12 Jan 2010 07:16:45 +0000 (18:16 +1100)]
s4:heimdal: import lorikeet-heimdal-201001120029 (commit a5e675fed7c5db8a7370b77ed0bfa724196aa84d)

9 years agoFix bug #7240 - Net usershare is not case sensitive.
Jeremy Allison [Sat, 27 Mar 2010 00:09:58 +0000 (17:09 -0700)]
Fix bug #7240 - Net usershare is not case sensitive.

Updates usershare files in a backwards compatible way.
I don't intend to back port this fix to 3.5.x as it
depends on a version upgrade in the share_info.tdb share security database.

Jeremy.

9 years agos3-selftest: set "lpq cache time = 0" in server configuration.
Günther Deschner [Fri, 26 Mar 2010 21:59:29 +0000 (22:59 +0100)]
s3-selftest: set "lpq cache time = 0" in server configuration.

This fixes currently broken spoolss tests.
(make test variant).

Guenther

9 years agos3-selftest: set "lpq cache time = 0" in server configuration.
Günther Deschner [Fri, 26 Mar 2010 21:58:42 +0000 (22:58 +0100)]
s3-selftest: set "lpq cache time = 0" in server configuration.

This fixes currently broken spoolss tests.

Guenther