ira/wip.git
9 years agoNSS:winbind_struct_protocol.h - fix typo
Matthias Dieter Wallnöfer [Sat, 13 Mar 2010 11:47:28 +0000 (12:47 +0100)]
NSS:winbind_struct_protocol.h - fix typo

9 years agoRevert "s4:provision Improve the handling of provision errors"
Matthias Dieter Wallnöfer [Sat, 13 Mar 2010 11:26:30 +0000 (12:26 +0100)]
Revert "s4:provision Improve the handling of provision errors"

This reverts partially commit 027123199e13cc02ae4edadd8f0dd0f0660e1193.

Andrew, this is not Python 2.4+ compatible

9 years agos4:torture/rpc/spoolss.c: fix compiler warnings
Stefan Metzmacher [Sat, 13 Mar 2010 07:19:34 +0000 (08:19 +0100)]
s4:torture/rpc/spoolss.c: fix compiler warnings

metze

9 years agos4-smbtorture: warn on unexpected devicenames in spoolss devicemode test.
Günther Deschner [Sat, 13 Mar 2010 01:26:59 +0000 (02:26 +0100)]
s4-smbtorture: warn on unexpected devicenames in spoolss devicemode test.

Guenther

9 years agos4-smbtorture: send even more random data in extended winreg SetValue test.
Günther Deschner [Sat, 13 Mar 2010 00:37:32 +0000 (01:37 +0100)]
s4-smbtorture: send even more random data in extended winreg SetValue test.

Guenther

9 years agos4-smbtorture: fix build and handle in spoolss test.
Günther Deschner [Sat, 13 Mar 2010 00:34:31 +0000 (01:34 +0100)]
s4-smbtorture: fix build and handle in spoolss test.

it's friday night...

Guenther

9 years agos3-spoolss: wrap _spoolss_EnumPrinterData() around _spoolss_EnumPrinterDataEx().
Günther Deschner [Fri, 12 Mar 2010 17:31:22 +0000 (18:31 +0100)]
s3-spoolss: wrap _spoolss_EnumPrinterData() around _spoolss_EnumPrinterDataEx().

This removes some dependencies to registry code.

Guenther

9 years agos4-smbtorture: add spoolss EnumPrinterData vs EnumPrinterDataEx consistency test.
Günther Deschner [Sat, 13 Mar 2010 00:07:43 +0000 (01:07 +0100)]
s4-smbtorture: add spoolss EnumPrinterData vs EnumPrinterDataEx consistency test.

Guenther

9 years agos4-smbtorture: refactor spoolss EnumPrinterData test.
Günther Deschner [Sat, 13 Mar 2010 00:05:24 +0000 (01:05 +0100)]
s4-smbtorture: refactor spoolss EnumPrinterData test.

Guenther

9 years agos4-smbtorture: refactor SetPrinterData() calls a little more.
Günther Deschner [Fri, 12 Mar 2010 21:45:33 +0000 (22:45 +0100)]
s4-smbtorture: refactor SetPrinterData() calls a little more.

Guenther

9 years agos4-smbtorture: re-arrange spoolss_SetPrinterData() tests.
Günther Deschner [Fri, 12 Mar 2010 21:11:14 +0000 (22:11 +0100)]
s4-smbtorture: re-arrange spoolss_SetPrinterData() tests.

Guenther

9 years agos4-smbtorture: make sure RPC-SPOOLSS passes against 64bit archs (w2k8r2).
Günther Deschner [Fri, 12 Mar 2010 23:20:52 +0000 (00:20 +0100)]
s4-smbtorture: make sure RPC-SPOOLSS passes against 64bit archs (w2k8r2).

Guenther

9 years agoMissed a couple more uses of conn->server_info->ptok that need to be get_current_ntto...
Jeremy Allison [Fri, 12 Mar 2010 22:31:47 +0000 (14:31 -0800)]
Missed a couple more uses of conn->server_info->ptok that need to be get_current_nttok(conn)

Centralize the root check into smb1_file_se_access_check()
so this is used by modules/vfs_acl_common.c also.

Jeremy.

9 years agoRemove more uses of "extern struct current_user current_user;".
Jeremy Allison [Fri, 12 Mar 2010 21:56:51 +0000 (13:56 -0800)]
Remove more uses of "extern struct current_user current_user;".

Use accessor functions to get to this value. Tidies up much of
the user context code. Volker, please look at the changes in smbd/uid.c
to familiarize yourself with these changes as I think they make the
logic in there cleaner.

Cause smbd/posix_acls.c code to look at current user context, not
stored context on the conn struct - allows correct use of these
function calls under a become_root()/unbecome_root() pair.

Jeremy.

9 years agos4:provision.py - small output improvement
Matthias Dieter Wallnöfer [Fri, 12 Mar 2010 20:04:22 +0000 (21:04 +0100)]
s4:provision.py - small output improvement

9 years agos4:util.c - "dsdb_check_optional_feature" - counter should be "unsigned"
Matthias Dieter Wallnöfer [Fri, 12 Mar 2010 17:56:44 +0000 (18:56 +0100)]
s4:util.c - "dsdb_check_optional_feature" - counter should be "unsigned"

9 years agos3: Add "net registry increment"
Volker Lendecke [Fri, 12 Mar 2010 14:48:35 +0000 (15:48 +0100)]
s3: Add "net registry increment"

A convenience function to increment a DWORD value under a (cluster-wide) lock

9 years agos4:torture/rpc/dfs.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 11 Mar 2010 11:51:46 +0000 (12:51 +0100)]
s4:torture/rpc/dfs.c: make use of dcerpc_binding_handle stubs

metze

9 years agos4:torture/rpc/echo.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 11 Mar 2010 11:30:24 +0000 (12:30 +0100)]
s4:torture/rpc/echo.c: make use of dcerpc_binding_handle stubs

metze

9 years agos4:torture/libnet: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 11 Mar 2010 10:33:10 +0000 (11:33 +0100)]
s4:torture/libnet: make use of dcerpc_binding_handle stubs

metze

9 years agos4:torture/ntp: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 11 Mar 2010 10:31:36 +0000 (11:31 +0100)]
s4:torture/ntp: make use of dcerpc_binding_handle stubs

metze

9 years agos4:libnet/libnet_time.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 11 Mar 2010 10:27:58 +0000 (11:27 +0100)]
s4:libnet/libnet_time.c: make use of dcerpc_binding_handle stubs

metze

9 years agos4:libnet/libnet_share.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 11 Mar 2010 10:27:40 +0000 (11:27 +0100)]
s4:libnet/libnet_share.c: make use of dcerpc_binding_handle stubs

metze

9 years agos4:libnet/libnet_samsync.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 11 Mar 2010 10:27:16 +0000 (11:27 +0100)]
s4:libnet/libnet_samsync.c: make use of dcerpc_binding_handle stubs

metze

9 years agos4:libnet/libnet_passwd.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 11 Mar 2010 06:59:14 +0000 (07:59 +0100)]
s4:libnet/libnet_passwd.c: make use of dcerpc_binding_handle stubs

metze

9 years agos4:libnet/libnet_join.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 11 Mar 2010 10:26:27 +0000 (11:26 +0100)]
s4:libnet/libnet_join.c: make use of dcerpc_binding_handle stubs

metze

9 years agos4:libcli/util/clilsa.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 11 Mar 2010 10:25:34 +0000 (11:25 +0100)]
s4:libcli/util/clilsa.c: make use of dcerpc_binding_handle stubs

metze

9 years agos4:client: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 11 Mar 2010 10:25:01 +0000 (11:25 +0100)]
s4:client: make use of dcerpc_binding_handle stubs

metze

9 years agos4:rpc_server/spoolss: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Wed, 10 Mar 2010 17:17:28 +0000 (18:17 +0100)]
s4:rpc_server/spoolss: make use of dcerpc_binding_handle stubs

metze

9 years agos4:lib/registry/rpc: convert to use dcerpc_binding_handle stubs
Stefan Metzmacher [Wed, 10 Mar 2010 17:13:50 +0000 (18:13 +0100)]
s4:lib/registry/rpc: convert to use dcerpc_binding_handle stubs

metze

9 years agopidl:Samba4/NDR/Client: make the old rpc_request style async functions static
Stefan Metzmacher [Wed, 10 Mar 2010 10:12:17 +0000 (11:12 +0100)]
pidl:Samba4/NDR/Client: make the old rpc_request style async functions static

metze

9 years agos4:dcom: add a comment about unused code.
Stefan Metzmacher [Wed, 10 Mar 2010 09:36:05 +0000 (10:36 +0100)]
s4:dcom: add a comment about unused code.

metze

9 years agos4:libcli/composite: get rid of composite_continue_rpc()
Stefan Metzmacher [Wed, 10 Mar 2010 09:30:03 +0000 (10:30 +0100)]
s4:libcli/composite: get rid of composite_continue_rpc()

metze

9 years agos4:librpc/rpc/dcerpc_util.c: make use of use tevent_req based dcerpc_binding_handle...
Stefan Metzmacher [Wed, 10 Mar 2010 09:23:01 +0000 (10:23 +0100)]
s4:librpc/rpc/dcerpc_util.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:librpc/rpc/dcerpc_schannel.c: make use of use tevent_req based dcerpc_binding_hand...
Stefan Metzmacher [Wed, 10 Mar 2010 09:17:25 +0000 (10:17 +0100)]
s4:librpc/rpc/dcerpc_schannel.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:torture/rpc: make use of use tevent_req based dcerpc_binding_handle stubs
Stefan Metzmacher [Tue, 9 Mar 2010 14:46:55 +0000 (15:46 +0100)]
s4:torture/rpc: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:winbind/wb_sam_logon.c: make use of use tevent_req based dcerpc_binding_handle...
Stefan Metzmacher [Wed, 10 Mar 2010 09:04:20 +0000 (10:04 +0100)]
s4:winbind/wb_sam_logon.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:winbind/wb_init_domain.c: make use of use tevent_req based dcerpc_binding_handle...
Stefan Metzmacher [Wed, 10 Mar 2010 09:03:56 +0000 (10:03 +0100)]
s4:winbind/wb_init_domain.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:winbind/wb_dom_info_trusted.c: make use of use tevent_req based dcerpc_binding_han...
Stefan Metzmacher [Wed, 10 Mar 2010 09:03:26 +0000 (10:03 +0100)]
s4:winbind/wb_dom_info_trusted.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:winbind/wb_connect_sam.c: make use of use tevent_req based dcerpc_binding_handle...
Stefan Metzmacher [Wed, 10 Mar 2010 09:02:50 +0000 (10:02 +0100)]
s4:winbind/wb_connect_sam.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:winbind/wb_connect_lsa.c: make use of use tevent_req based dcerpc_binding_handle...
Stefan Metzmacher [Wed, 10 Mar 2010 09:02:25 +0000 (10:02 +0100)]
s4:winbind/wb_connect_lsa.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:winbind/wb_cmd_usersids.c: make use of use tevent_req based dcerpc_binding_handle...
Stefan Metzmacher [Wed, 10 Mar 2010 09:01:57 +0000 (10:01 +0100)]
s4:winbind/wb_cmd_usersids.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:winbind/wb_cmd_list_trustdom.c: make use of use tevent_req based dcerpc_binding_ha...
Stefan Metzmacher [Wed, 10 Mar 2010 09:01:23 +0000 (10:01 +0100)]
s4:winbind/wb_cmd_list_trustdom.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:winbind/wb_cmd_getdcname: make use of use tevent_req based dcerpc_binding_handle...
Stefan Metzmacher [Tue, 9 Mar 2010 12:49:20 +0000 (13:49 +0100)]
s4:winbind/wb_cmd_getdcname: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:winbind/wb_async_helpers.c: make use of use tevent_req based dcerpc_binding_handle...
Stefan Metzmacher [Mon, 8 Mar 2010 19:33:48 +0000 (20:33 +0100)]
s4:winbind/wb_async_helpers.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:libnet/libnet_rpc.c: make use of use tevent_req based dcerpc_binding_handle stubs
Stefan Metzmacher [Wed, 10 Mar 2010 08:53:36 +0000 (09:53 +0100)]
s4:libnet/libnet_rpc.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:libnet/usernam.c: make use of use tevent_req based dcerpc_binding_handle stubs
Stefan Metzmacher [Wed, 10 Mar 2010 08:43:13 +0000 (09:43 +0100)]
s4:libnet/usernam.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:libnet/userinfo.c: make use of use tevent_req based dcerpc_binding_handle stubs
Stefan Metzmacher [Wed, 10 Mar 2010 08:42:07 +0000 (09:42 +0100)]
s4:libnet/userinfo.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:libnet/libnet_user.c: make use of use tevent_req based dcerpc_binding_handle stubs
Stefan Metzmacher [Wed, 10 Mar 2010 08:39:55 +0000 (09:39 +0100)]
s4:libnet/libnet_user.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:libnet/libnet_lookup.c: make use of use tevent_req based dcerpc_binding_handle...
Stefan Metzmacher [Tue, 9 Mar 2010 15:59:33 +0000 (16:59 +0100)]
s4:libnet/libnet_lookup.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:libnet/libnet_group.c: make use of use tevent_req based dcerpc_binding_handle...
Stefan Metzmacher [Tue, 9 Mar 2010 15:48:17 +0000 (16:48 +0100)]
s4:libnet/libnet_group.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:libnet/libnet_domain.c: make use of use tevent_req based dcerpc_binding_handle...
Stefan Metzmacher [Tue, 9 Mar 2010 15:45:04 +0000 (16:45 +0100)]
s4:libnet/libnet_domain.c: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:libnet_unbecome_dc: make use of use tevent_req based dcerpc_binding_handle stubs
Stefan Metzmacher [Mon, 8 Mar 2010 16:12:56 +0000 (17:12 +0100)]
s4:libnet_unbecome_dc: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:libnet_become_dc: make use of use tevent_req based dcerpc_binding_handle stubs
Stefan Metzmacher [Mon, 8 Mar 2010 15:41:43 +0000 (16:41 +0100)]
s4:libnet_become_dc: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:libnet/group*: make use of tevent_req based dcerpc_binding_handle stubs
Stefan Metzmacher [Mon, 8 Mar 2010 15:32:45 +0000 (16:32 +0100)]
s4:libnet/group*: make use of tevent_req based dcerpc_binding_handle stubs

metze

9 years agos4:libnet: keep a dcerpc_binding_handle for samr and lsa
Stefan Metzmacher [Mon, 8 Mar 2010 15:27:14 +0000 (16:27 +0100)]
s4:libnet: keep a dcerpc_binding_handle for samr and lsa

metze

9 years agos4:dsdb/repl: make use of use tevent_req based dcerpc_binding_handle stubs
Stefan Metzmacher [Mon, 8 Mar 2010 15:23:17 +0000 (16:23 +0100)]
s4:dsdb/repl: make use of use tevent_req based dcerpc_binding_handle stubs

metze

9 years agopidl:Samba4/NDR/Client: generate stubs for dcerpc_binding_handle abstraction
Stefan Metzmacher [Mon, 8 Mar 2010 11:31:06 +0000 (12:31 +0100)]
pidl:Samba4/NDR/Client: generate stubs for dcerpc_binding_handle abstraction

metze

9 years agos4:librpc/rpc: prepare dcerpc dependecies before pidl changes
Stefan Metzmacher [Mon, 8 Mar 2010 15:24:19 +0000 (16:24 +0100)]
s4:librpc/rpc: prepare dcerpc dependecies before pidl changes

metze

9 years agos4:librpc/rpc: add very basic dcerpc_binding_handle infrastructure
Stefan Metzmacher [Mon, 8 Mar 2010 11:29:52 +0000 (12:29 +0100)]
s4:librpc/rpc: add very basic dcerpc_binding_handle infrastructure

metze

9 years agopidl:Samba4/NDR/Client: don't generate client stubs for function marked as [todo]
Stefan Metzmacher [Wed, 10 Mar 2010 16:52:38 +0000 (17:52 +0100)]
pidl:Samba4/NDR/Client: don't generate client stubs for function marked as [todo]

metze

9 years agopidl:Samba/Python: don't generate methods for functions marked as [todo]
Stefan Metzmacher [Thu, 11 Mar 2010 23:52:30 +0000 (00:52 +0100)]
pidl:Samba/Python: don't generate methods for functions marked as [todo]

metze

9 years agolibrpc: rerun make idl
Stefan Metzmacher [Fri, 12 Mar 2010 08:20:23 +0000 (09:20 +0100)]
librpc: rerun make idl

metze

9 years agodrsuapi.idl: don't mark drsuapi_DsGetMemberships as [todo]
Stefan Metzmacher [Thu, 11 Mar 2010 23:45:56 +0000 (00:45 +0100)]
drsuapi.idl: don't mark drsuapi_DsGetMemberships as [todo]

metze

9 years agos3: Add "g_lock_do" as a convenience wrapper function
Volker Lendecke [Fri, 12 Mar 2010 13:22:54 +0000 (14:22 +0100)]
s3: Add "g_lock_do" as a convenience wrapper function

9 years agos3: Actually use mem_ctx in net_g_lock_init()
Volker Lendecke [Fri, 12 Mar 2010 11:12:25 +0000 (12:12 +0100)]
s3: Actually use mem_ctx in net_g_lock_init()

9 years agos3: Fix a comment
Volker Lendecke [Fri, 12 Mar 2010 11:08:19 +0000 (12:08 +0100)]
s3: Fix a comment

9 years agos3: Fix some "net registry" usage messages
Volker Lendecke [Fri, 12 Mar 2010 10:47:00 +0000 (11:47 +0100)]
s3: Fix some "net registry" usage messages

9 years agouse unsigned instead of uint32_t for LDB counters.
Crístian Deives [Tue, 9 Mar 2010 02:45:44 +0000 (23:45 -0300)]
use unsigned instead of uint32_t for LDB counters.

the attribute num_values of the struct ldb_message_element is defined as
an unsigned int, so the counters of that variable should be of the same
type.

9 years agonTDSConnection creation
Crístian Deives [Sun, 7 Mar 2010 05:09:24 +0000 (02:09 -0300)]
nTDSConnection creation

create nTDSConnection objects to "imply" the minimum-cost spanning tree edges
for which no nTDSConnection objects yet exist. it also adds a test function in
kcc_connection so the kcctpl functions can be called. this patch is in accord
with the sections [MS-ADTS] 7.2.2.3.4.2 and 7.2.2.3.4.5.

9 years agospanning tree computation
Crístian Deives [Sun, 7 Mar 2010 04:55:12 +0000 (01:55 -0300)]
spanning tree computation

calculate the spanning tree for the intersite connection. this patch is in
accord with the section [MS-ADTS] 7.2.2.3.4.4.

9 years agonew function kcctpl_color_vertices
Crístian Deives [Sun, 7 Mar 2010 04:34:41 +0000 (01:34 -0300)]
new function kcctpl_color_vertices

besides the new function implemented, some minor bugs were also fixed.  this
patch is in accord with the section [MS-ADTS] 7.2.2.3.4.3.

9 years agos4-drs: check if an optional feature is enabled
Eduardo Lima [Wed, 10 Mar 2010 19:21:29 +0000 (16:21 -0300)]
s4-drs: check if an optional feature is enabled

9 years agos4:selftest Add file based DNS resolver to selftest environment
Andrew Bartlett [Wed, 24 Feb 2010 04:09:28 +0000 (15:09 +1100)]
s4:selftest Add file based DNS resolver to selftest environment

This will in future allow us to test 'net vampire' in the test
environment, using the file based DNS lookups to avoid us hitting real
DNS.

9 years agoselftest: Remove dns_host_file every time we start
Andrew Bartlett [Thu, 11 Mar 2010 23:45:16 +0000 (10:45 +1100)]
selftest: Remove dns_host_file every time we start

9 years agoSplit the dsdb_access_check_on_dn.
Nadezhda Ivanova [Fri, 12 Mar 2010 01:13:51 +0000 (03:13 +0200)]
Split the dsdb_access_check_on_dn.

Split the dsdb_access_check_on_dn so it can be reused for checks
from both within the module stack and outside it.

9 years agoFixed ACL module to use dsdb_module_* API.
Nadezhda Ivanova [Fri, 12 Mar 2010 00:21:16 +0000 (02:21 +0200)]
Fixed ACL module to use dsdb_module_* API.

9 years agos3-netlogon: Fix bug #7237: _netr_SamLogon segfaults for clients sending NULL domain.
Günther Deschner [Thu, 11 Mar 2010 23:30:52 +0000 (00:30 +0100)]
s3-netlogon: Fix bug #7237: _netr_SamLogon segfaults for clients sending NULL domain.

Thanks to Marc Muehlfeld <muehlfeld@medizinische-genetik.de>.

Guenther

9 years agoImprove symlink delete test. Make sure we don't delete the link target by mistake.
Jeremy Allison [Thu, 11 Mar 2010 22:39:14 +0000 (14:39 -0800)]
Improve symlink delete test. Make sure we don't delete the link target by mistake.

Jeremy.

9 years agos4-smbtorture: add netr_SamLogon test with NULL domain to RPC-NETLOGON-S3.
Günther Deschner [Thu, 11 Mar 2010 22:15:14 +0000 (23:15 +0100)]
s4-smbtorture: add netr_SamLogon test with NULL domain to RPC-NETLOGON-S3.

This is to demonstrate how a "Windows 2002 Service Pack 3 2600" box constantly
crashes smbd (in preparation of fixing bug #7237).

Guenther

9 years agoMoved access_check_on_dn from acl module as an utility.
Nadezhda Ivanova [Thu, 11 Mar 2010 21:10:38 +0000 (23:10 +0200)]
Moved access_check_on_dn from acl module as an utility.

Made this an utility function so it can be used for access checking
outside of the acl ldb module, such as checking validated writes and
control access rights in other protocols (e. g drs)

9 years agos3-winreg: make QueryValue pass RPC-WINREG test again.
Günther Deschner [Thu, 11 Mar 2010 19:48:24 +0000 (20:48 +0100)]
s3-winreg: make QueryValue pass RPC-WINREG test again.

Guenther

9 years agos4-smbtorture: skip extended SetValue test against Samba (both dont survive).
Günther Deschner [Thu, 11 Mar 2010 19:23:13 +0000 (20:23 +0100)]
s4-smbtorture: skip extended SetValue test against Samba (both dont survive).

Guenther

9 years agos4-smbtorture: test NULL and "" valuenames as well in query for wellknown winreg...
Günther Deschner [Thu, 11 Mar 2010 19:24:58 +0000 (20:24 +0100)]
s4-smbtorture: test NULL and "" valuenames as well in query for wellknown winreg key.

Guenther

9 years agowinreg: add winreg_KeyType enum.
Günther Deschner [Thu, 11 Mar 2010 19:20:48 +0000 (20:20 +0100)]
winreg: add winreg_KeyType enum.

Guenther

9 years agos3-winreg: fix some function names in debug statements.
Günther Deschner [Thu, 11 Mar 2010 18:25:57 +0000 (19:25 +0100)]
s3-winreg: fix some function names in debug statements.

Guenther

9 years agos4-winreg: continue processing in WERR_MORE_DATA case in dcesrv_winreg_QueryValue().
Günther Deschner [Thu, 11 Mar 2010 19:17:48 +0000 (20:17 +0100)]
s4-winreg: continue processing in WERR_MORE_DATA case in dcesrv_winreg_QueryValue().

Matthias, please check.

Guenther

9 years agos4-smbtorture: add extended SetValue test to RPC-WINREG.
Günther Deschner [Thu, 11 Mar 2010 17:52:38 +0000 (18:52 +0100)]
s4-smbtorture: add extended SetValue test to RPC-WINREG.

Really looks like a blob based database frontend.

As it seems, we can set *any* type of data with *any* content on Windows and get
the exact same data back.

Guenther

9 years agos4-smbtorture: more work on test_key_value() RPC-WINREG test.
Günther Deschner [Thu, 11 Mar 2010 17:37:02 +0000 (18:37 +0100)]
s4-smbtorture: more work on test_key_value() RPC-WINREG test.

Guenther

9 years agos3: Make init_smb_request return bool
Volker Lendecke [Thu, 11 Mar 2010 10:33:01 +0000 (11:33 +0100)]
s3: Make init_smb_request return bool

Centralize the exit_server_cleanly()

9 years agoRPC-DSSYNC: handle DCERPC_FAULT_OP_RNG_ERROR as not supported for DsGetNT4ChangeLog()
Stefan Metzmacher [Thu, 11 Mar 2010 14:11:29 +0000 (15:11 +0100)]
RPC-DSSYNC: handle DCERPC_FAULT_OP_RNG_ERROR as not supported for DsGetNT4ChangeLog()

metze

9 years agos4:torture/libnet/libnet_user.c: fix double free in error path
Stefan Metzmacher [Thu, 11 Mar 2010 13:52:37 +0000 (14:52 +0100)]
s4:torture/libnet/libnet_user.c: fix double free in error path

metze

9 years agos4-registry: add all winreg types to reg_value_types table.
Günther Deschner [Thu, 11 Mar 2010 13:27:45 +0000 (14:27 +0100)]
s4-registry: add all winreg types to reg_value_types table.

Guenther

9 years agos4:selftest: move samba4.net.api.become.dc from skip to knownfail
Stefan Metzmacher [Thu, 11 Mar 2010 12:32:34 +0000 (13:32 +0100)]
s4:selftest: move samba4.net.api.become.dc from skip to knownfail

Someone should fix the remaining bug, as this test is expected to work.

metze

9 years agoNET-API-BECOME-DC: convert to torture api
Stefan Metzmacher [Thu, 11 Mar 2010 12:30:19 +0000 (13:30 +0100)]
NET-API-BECOME-DC: convert to torture api

metze

9 years agos4:rpc_server/drsuapi: don't reset [out,ref] pointer to NULL in dcesrv_drsuapi_DsRemo...
Stefan Metzmacher [Thu, 11 Mar 2010 12:05:55 +0000 (13:05 +0100)]
s4:rpc_server/drsuapi: don't reset [out,ref] pointer to NULL in dcesrv_drsuapi_DsRemoveDSServer()

metze

9 years agoselftest: let the client also use the dns_host_file
Stefan Metzmacher [Thu, 11 Mar 2010 12:04:56 +0000 (13:04 +0100)]
selftest: let the client also use the dns_host_file

metze

9 years agoRPC-DSSYNC: fix the build after idl changes
Stefan Metzmacher [Thu, 11 Mar 2010 08:12:07 +0000 (09:12 +0100)]
RPC-DSSYNC: fix the build after idl changes

metze

9 years agolibrpc: rerun make idl
Stefan Metzmacher [Thu, 11 Mar 2010 08:11:25 +0000 (09:11 +0100)]
librpc: rerun make idl

metze

9 years agodrsuapi.idl: finish drsuapi_DsGetNT4ChangeLog idl
Stefan Metzmacher [Thu, 11 Mar 2010 07:46:39 +0000 (08:46 +0100)]
drsuapi.idl: finish drsuapi_DsGetNT4ChangeLog idl

metze