summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-03-12use unsigned instead of uint32_t for LDB counters.Crístian Deives1-4/+6
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.
2010-03-12nTDSConnection creationCrístian Deives2-0/+817
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.
2010-03-12spanning tree computationCrístian Deives1-0/+1692
calculate the spanning tree for the intersite connection. this patch is in accord with the section [MS-ADTS] 7.2.2.3.4.4.
2010-03-12new function kcctpl_color_verticesCrístian Deives1-213/+576
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.
2010-03-12s4-drs: check if an optional feature is enabledEduardo Lima1-0/+59
2010-03-12Split the dsdb_access_check_on_dn.Nadezhda Ivanova2-41/+93
Split the dsdb_access_check_on_dn so it can be reused for checks from both within the module stack and outside it.
2010-03-12Fixed ACL module to use dsdb_module_* API.Nadezhda Ivanova1-9/+9
2010-03-11s4-smbtorture: add netr_SamLogon test with NULL domain to RPC-NETLOGON-S3.Günther Deschner1-4/+30
This is to demonstrate how a "Windows 2002 Service Pack 3 2600" box constantly crashes smbd (in preparation of fixing bug #7237). Guenther
2010-03-12Moved access_check_on_dn from acl module as an utility.Nadezhda Ivanova3-157/+202
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)
2010-03-11s4-smbtorture: skip extended SetValue test against Samba (both dont survive).Günther Deschner1-7/+7
Guenther
2010-03-11s4-smbtorture: test NULL and "" valuenames as well in query for wellknown ↵Günther Deschner1-0/+5
winreg key. Guenther
2010-03-11winreg: add winreg_KeyType enum.Günther Deschner5-6/+6
Guenther
2010-03-11s4-winreg: continue processing in WERR_MORE_DATA case in ↵Günther Deschner1-1/+1
dcesrv_winreg_QueryValue(). Matthias, please check. Guenther
2010-03-11s4-smbtorture: add extended SetValue test to RPC-WINREG.Günther Deschner1-3/+74
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
2010-03-11s4-smbtorture: more work on test_key_value() RPC-WINREG test.Günther Deschner2-23/+87
Guenther
2010-03-11RPC-DSSYNC: handle DCERPC_FAULT_OP_RNG_ERROR as not supported for ↵Stefan Metzmacher1-1/+5
DsGetNT4ChangeLog() metze
2010-03-11s4:torture/libnet/libnet_user.c: fix double free in error pathStefan Metzmacher1-1/+0
metze
2010-03-11s4-registry: add all winreg types to reg_value_types table.Günther Deschner1-3/+11
Guenther
2010-03-11s4:selftest: move samba4.net.api.become.dc from skip to knownfailStefan Metzmacher2-1/+1
Someone should fix the remaining bug, as this test is expected to work. metze
2010-03-11NET-API-BECOME-DC: convert to torture apiStefan Metzmacher1-54/+28
metze
2010-03-11s4:rpc_server/drsuapi: don't reset [out,ref] pointer to NULL in ↵Stefan Metzmacher1-1/+0
dcesrv_drsuapi_DsRemoveDSServer() metze
2010-03-11RPC-DSSYNC: fix the build after idl changesStefan Metzmacher1-6/+11
metze
2010-03-11s4: create ../lib/iniparser_build/config.m4Matthieu Patou1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-11s4: Modify auth/config.m4 to move pam tests to nsswitch.m4 so that we tests ↵Matthieu Patou2-7/+5
things in one place Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-11s4:provision - Updated FDS schema mapping.Endi S. Dewata1-6/+4
2010-03-11s4:provision Improve the handling of provision errorsAndrew Bartlett3-29/+42
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
2010-03-11s4:libcli Use integrated name resolution when connecting SMBAndrew Bartlett2-38/+13
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
2010-03-11s4:libcli/resovle File based lookup module for DNS name typesAndrew Bartlett3-1/+153
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
2010-03-11s4:samba_dnsupdate Add a 'file based' mode to samba_dnsupdateAndrew Bartlett3-25/+60
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
2010-03-11s4:lib/socket Don't go via a string when resolving addresses in connect_multiAndrew Bartlett1-28/+20
This also removes the special case for IP addresses, and leaves that to the code in the resolver library. Andrew Bartlett
2010-03-11s4:libcli/resolve Use a more robust way to return the string addressAndrew Bartlett2-3/+12
By going via these tevent functions, we avoid needing to dereference the struct socket_address, which may contain a 'struct sockaddr' or strings. The new dns_host_file resolver returns in the form of a struct sockaddr. Andrew Bartlett
2010-03-11s4:lib/socket Add function to set a port on the socket addressAndrew Bartlett2-0/+14
2010-03-11s4/rpc_server Don't segfault over replPropertyMetaData contentsAndrew Bartlett1-0/+7
The replPropertyMetaData may contain attrid values that we don't yet have in the local schema. We need to deal with this - it is a serious error, but we should not segfault. Andrew Bartlett
2010-03-11s4-smbtorture: only look at DATA_BLOB pointer when einfo[0].data_length > 0.Günther Deschner1-1/+3
Guenther
2010-03-10s4-smbtorture: while testing PrinterDataEx also compare Get and Enum results.Günther Deschner1-10/+29
Guenther
2010-03-10Revert "s4-smbtorture: disable winreg QueryValue test for today."Günther Deschner1-2/+2
This reverts commit 420e3b8553c9e721fba27dd64eb78b2c7105ce64.
2010-03-10ѕ4: EDQUOT needs to be mapped to NT_STATUS_DISK_FULLBjörn Jacke1-1/+1
2010-03-10s4:libnet - change variables to "unsigned" where neededMatthias Dieter Wallnöfer8-12/+13
2010-03-10s4:libnet_become_dc - change counter variables to "unsigned" where they ↵Matthias Dieter Wallnöfer2-3/+3
count LDB objects
2010-03-10s4:winreg RPC - fix up the "QueryValue" call to work against the enhanced ↵Matthias Dieter Wallnöfer1-7/+11
torture test Found out by gd's updated torture test.
2010-03-10s4:registry/ldb.c - if "name" isn't set we should return WERR_INVALID_PARAMMatthias Dieter Wallnöfer1-1/+5
2010-03-10s4:build/m4/public.m4: add realname argument to SMB_BUILD_LIBRARY()Stefan Metzmacher1-1/+2
metze
2010-03-10s4:rpc_server/wkssvc: don't reset [out,ref] pointer to 0Stefan Metzmacher1-6/+0
r->out.total_entries = 0; should be *r->out.total_entries = 0; Otherwise we fail to marshall the reponse or crash if we run with log level = 10 and trigger the ndr_print functions. All out elements are already setup and initialized by the pidl generated code. metze
2010-03-10s4:rpc_server/wkssvc: remove unneeded talloc_reference()Stefan Metzmacher1-4/+2
metze
2010-03-10s4:rpc_server/wkssvc: avoid ZERO_STRUCT(r->out) and use already allocated ↵Stefan Metzmacher1-4/+0
[out,ref] memory metze
2010-03-10s4:rpc_server/srvsvc: remove unused ZERO_STRUCT(r->out);Stefan Metzmacher1-2/+0
Here it doesn't matter, but it's a bad example for other code as it might reset the [out,ref] pointers which are already generated by the pidl generated code. metze
2010-03-10s4/drs: DsRemoveDSServer - Propagating IDL changes to source codeKamen Mazdrashki1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4/drs: DsWriteAccountSpn - Propagating IDL changes to source codeKamen Mazdrashki1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4/drs: DsCrackNames - Propagating IDL changes to source codeKamen Mazdrashki3-4/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4/drs: DsGetNCChanges - Propagating IDL changes to source codeKamen Mazdrashki4-7/+7
Signed-off-by: Stefan Metzmacher <metze@samba.org>