samba.git
14 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

14 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"

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

metze

14 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

14 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

14 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()

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

14 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

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

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

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

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

14 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

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

14 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

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

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

14 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

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

14 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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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()

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

metze

14 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

14 years agos4: allow pam_winbind.so to be build on samba4
Matthieu Patou [Wed, 3 Mar 2010 08:38:51 +0000 (11:38 +0300)]
s4: allow pam_winbind.so to be build on samba4

* Modify the nsswitch/config.m4 to add tests and build that will be put in configure by the autoconf/autoheader
  We test if there is pam headers and pam library to be able to build the pam module
  We add s4 build directive (that are normaly in standalone config.mk) this is due to the fact that we need
  to rely on path that are guessed during configure.
  Add tests not to build pam_winbind if pam dev files is not present

Signed-off-by: Stefan Metzmacher <metze@samba.org>
14 years agos4: create ../lib/iniparser_build/config.m4
Matthieu Patou [Wed, 3 Mar 2010 08:38:51 +0000 (11:38 +0300)]
s4: create ../lib/iniparser_build/config.m4

Signed-off-by: Stefan Metzmacher <metze@samba.org>
14 years agos4: Modify auth/config.m4 to move pam tests to nsswitch.m4 so that we tests things...
Matthieu Patou [Wed, 3 Mar 2010 08:38:51 +0000 (11:38 +0300)]
s4: Modify auth/config.m4 to move pam tests to nsswitch.m4 so that we tests things in one place

Signed-off-by: Stefan Metzmacher <metze@samba.org>
14 years agos3-winreg: Fix _winreg_QueryValue crash bugs and implement windows behavior.
Günther Deschner [Thu, 11 Mar 2010 11:21:08 +0000 (12:21 +0100)]
s3-winreg: Fix _winreg_QueryValue crash bugs and implement windows behavior.

Found by RPC-WINREG smbtorture test.

Guenther

14 years agoExplain why we don't use certain characters in the generated pw
Andrew Bartlett [Thu, 11 Mar 2010 04:34:01 +0000 (15:34 +1100)]
Explain why we don't use certain characters in the generated pw

14 years agolib/util - Removed curly braces from generate_random_password().
Endi S. Dewata [Thu, 11 Mar 2010 02:34:01 +0000 (20:34 -0600)]
lib/util - Removed curly braces from generate_random_password().

14 years agos4:provision - Updated FDS schema mapping.
Endi S. Dewata [Wed, 10 Mar 2010 01:12:30 +0000 (19:12 -0600)]
s4:provision - Updated FDS schema mapping.

14 years agos4:provision Improve the handling of provision errors
Andrew Bartlett [Thu, 11 Mar 2010 03:49:34 +0000 (14:49 +1100)]
s4:provision Improve the handling of provision errors

The backtraces were too confusing for our users, and didn't tell them
what to do to fix the problem.  By printing the string (rather than a
backtrace), and including in the error what to do, and what file to
remove, we give them a chance.

Andrew Bartlett

14 years agoTry and fix bug #7233 - print fails with jobs >4GB from Win7 clients.
Jeremy Allison [Thu, 11 Mar 2010 01:46:09 +0000 (17:46 -0800)]
Try and fix bug #7233 - print fails with jobs >4GB from Win7 clients.

Remove an arbitrarty 4G B limit that *doesn't need to be there* !
Jeremy.

14 years agos4:libcli Use integrated name resolution when connecting SMB
Andrew Bartlett [Wed, 10 Mar 2010 05:01:41 +0000 (16:01 +1100)]
s4:libcli Use integrated name resolution when connecting SMB

This avoids pulling the address into a string and back again if given
a name, by letting the next async layer down do the name resolution.
If it was an IP address to start with, then the resolver library just
converts that to the struct socket_address.

Andrew Bartlett

14 years agos4:libcli/resovle File based lookup module for DNS name types
Andrew Bartlett [Wed, 24 Feb 2010 11:57:09 +0000 (22:57 +1100)]
s4:libcli/resovle File based lookup module for DNS name types

This uses the new common code to read a file containing DNS host
names, so we don't have to use real DNS lookups in our test
environment.

Andrew Bartlett

14 years agolibcli/nbt Add parser for a 'hosts' file that takes DNS record types
Andrew Bartlett [Tue, 9 Mar 2010 12:29:43 +0000 (23:29 +1100)]
libcli/nbt Add parser for a 'hosts' file that takes DNS record types

14 years agos4:samba_dnsupdate Add a 'file based' mode to samba_dnsupdate
Andrew Bartlett [Tue, 9 Mar 2010 12:34:10 +0000 (23:34 +1100)]
s4:samba_dnsupdate Add a 'file based' mode to samba_dnsupdate

For the testsuite to use DNS like names, we need to write these names
to a file.

Also, to have this run in 'make test' the usual rules about 'no 127.*'
IP addresses in DNS must be skipped, so glue.interface_ips takes two
arguments now

14 years agos4:lib/socket Don't go via a string when resolving addresses in connect_multi
Andrew Bartlett [Wed, 10 Mar 2010 05:04:44 +0000 (16:04 +1100)]
s4:lib/socket Don't go via a string when resolving addresses in connect_multi

This also removes the special case for IP addresses, and leaves that
to the code in the resolver library.

Andrew Bartlett