summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/dssync.c
AgeCommit message (Collapse)AuthorFilesLines
2010-08-11s4-test: Move dssync.c to torture/drs/rpcKamen Mazdrashki1-1120/+0
2010-08-11s4-test: strip trailing white-spacesKamen Mazdrashki1-21/+21
2010-07-29s4-test: Expand DSSYNC test to be executed against all partitionsKamen Mazdrashki1-17/+49
It is still possible to supply specific partition to test with on command line using --option="dssync:partition={PARTITION_DN}"
2010-07-29s4-test-dssync: Issue warning in case we have diffrences in link attributesKamen Mazdrashki1-4/+33
In case differences in messages are: 1. Attributes with different values, i.e. 'replace' 2. Those attributes are back-link attributes then we just warn about those differences. It turns out windows doesn't send all values for back-link attributes in replicated_object but in linked_attributes. I consider this as workaround for the problem. A better solution might be to merge linked_attribute values into replacted_objects before comparing those with LDB result (although this will work for Win2k8 and latter)
2010-07-29s4-test: Simplify test_GetInfo() - we have what we need through LDB connectionKamen Mazdrashki1-79/+12
we have already opened. Added 'config_dn' and 'schema_dn' members which are to be used later for extending the test_FetchData() to be executed against every partition in case partition is not specified explicitly. DsSyncText.site_name was removed also as it is not used anymore
2010-07-19s4-test: Use ldb_msg_normalize() in torture/rpc/dssync.c testKamen Mazdrashki1-2/+4
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-test: Use ldb_msg_difference() in torture/rpc/dssync.c testKamen Mazdrashki1-3/+6
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-18/+18
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-16s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher1-1/+0
This is needed to remove samba specifc symbols from the bundled ldb, in order to get the ABI right. metze Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-4/+3
2010-04-15s4:torture/rpc/dssync.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE ↵Stefan Metzmacher1-6/+2
instead of DCERPC_FAULT_OP_RNG_ERROR metze
2010-04-15s4:torture/rpc: don't look at p->last_fault_code for debugging anymoreStefan Metzmacher1-6/+0
metze
2010-04-14s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher1-1/+1
The reason for this is that some systems include <rpc/rpc.h> from within system headers. HP-UX 11.00 does so somewhere deep inside of <shadow.h>. For torture/winbind/struct_based.c <rpc/rpc.h> resolves to torture/rpc/rpc.h and breaks the build. metze
2010-04-11subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij1-1/+1
Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit.
2010-03-16s4:torture/rpc/dssync.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-6/+8
metze
2010-03-16s4:dsdb Change dsdb_get_schema() callers to use new talloc argumentAndrew Bartlett1-1/+1
This choses an appropriate talloc context to attach the schema too, long enough lived to ensure it does not go away before the operation compleates. Andrew Bartlett
2010-03-11RPC-DSSYNC: handle DCERPC_FAULT_OP_RNG_ERROR as not supported for ↵Stefan Metzmacher1-1/+5
DsGetNT4ChangeLog() metze
2010-03-11RPC-DSSYNC: fix the build after idl changesStefan Metzmacher1-6/+11
metze
2010-03-10s4/drs: DsCrackNames - Propagating IDL changes to source codeKamen Mazdrashki1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4/drs: DsGetNCChanges - Propagating IDL changes to source codeKamen Mazdrashki1-3/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-26s4:RPC-DSSYNC: pass the ip address to the cldap code instead of a nameStefan Metzmacher1-2/+16
metze
2010-02-26s4:torture: use a connected CLDAP socket.Stefan Metzmacher1-4/+17
This is needed because we don't (want) to specify an explicit local address. And the socket family (ipv4 vs. ipv6) needs to be autodetected based on the remote address before the socket() syscall. Otherwise we would try to connect to a ipv4 address through an ipv6only socket. metze
2010-01-18idl: switched to using the WSPP names for the 'neighbour' DRS optionsAndrew Tridgell1-12/+12
The documentation shows that all these functions in fact use the same flags variable type. To be consistent between functions, and to allow easy reference to the WSPP docs, it is better for us to also use this generic DrsOptions bitfield rather than one per operations.
2009-11-23s4/drs(tort): DSSYNC test to print what is different in drs_msg alsoKamen Mazdrashki1-1/+7
2009-11-17s4/drs(tort): Convert DSSYNC test to a test case fixtureKamen Mazdrashki1-23/+67
Now it should be much more clear why and where a test in DSSYNC test case has failed. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17s4/drs(tort): replace DEBUG with torture_asert/comment/failKamen Mazdrashki1-45/+49
I left dumping of decrypted attributes values 'as is' (using DEBUG and DEBUGADD) as it uses dump_data() function. dump_data() uses DEBUGADD internally, so I have no way to redirect its output to torture_context at this point. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17s4/drs(tort): use torture_drsuapi_assert_call() macro for error checkingKamen Mazdrashki1-11/+2
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17s4/drs(tort): replace 'printf' with 'torture_...' callsKamen Mazdrashki1-14/+15
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17s4/drs(tort): 'DsSyncBindInfo.pipe' renamed - 'pipe' is a system callKamen Mazdrashki1-11/+11
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17s4:dsdb With these workarounds, we now pass the RPC-DSSYNC testAndrew Bartlett1-2/+15
2009-11-12s4:torture Use (some) torture_assert() calls in RPC-DSSYNC testAndrew Bartlett1-5/+4
2009-11-12s4:torture Remove _drs_util_verify_attids() from RPC-DSSYNCAndrew Bartlett1-86/+0
I'm satisfied that the task this test does is already done by the time we map the incoming schema, and process the objects. If we have the OID mapping wrong or incomplete, we will get any errors this test found errors there. (And this dramaticly reduces the test time, so we can now add RPC-DSSYNC to 'make test'). Andrew Bartlett
2009-11-12s4:torture/dsdb Add verification of the push-to-LDB functions in RPC-DSSYNCAndrew Bartlett1-23/+260
This is done by comparing the values against the remote host's LDAP server. Andrew Bartlett
2009-11-12s4:torture Convert RPC-DSSYNC test to use LDB rather than raw LDAPAndrew Bartlett1-49/+28
(This should make it easier to do more 'compare DRS with LDAP' operations, as LDB is an easier interface to program.) Andrew Bartlett
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-4/+0
This reduces compile time somewhat.
2009-10-16s4/drs(tort): _drs_util_verify_attids() to verify ATTIDs in objects receivedKamen Mazdrashki1-0/+50
2009-10-16s4/drs(tort): _drs_ldap_attr_by_oid() implementationKamen Mazdrashki1-0/+49
Utility function to be used to fetch Attribute name and DN giving attribute OID
2009-04-14Move DRSUAPI per-attribute decryption into a common fileAndrew Bartlett1-116/+9
This file (contining metze's decryption routines) is now also be used by Samba3's DRSUAPI implementation Andrew Bartlett
2009-03-19s4:cldap: rewrite the cldap library based on tsocketStefan Metzmacher1-2/+7
metze
2008-10-23s4-smbtorture: fix build warning.Günther Deschner1-1/+1
Guenther
2008-10-18s4-drsuapi: merge drsuapi_DsGetNCChanges from s3 drsuapi idl.Günther Deschner1-63/+70
Guenther
2008-10-18s4-drsuapi: merge drsuapi_DsCrackNames from s3 drsuapi idl.Günther Deschner1-8/+15
Guenther
2008-10-17s4-smbtorture: fix drsuapi_DsGetNT4ChangeLog test.Günther Deschner1-0/+4
Guenther
2008-10-17s4: merge from s3 drsuapi.idl.Günther Deschner1-11/+14
Guenther
2008-10-02The IRIX compiler does not like embedded unnamed unionsVolker Lendecke1-3/+3
2008-09-24Move source4/lib/crypto to lib/crypto.Jelmer Vernooij1-1/+1
2008-08-20drsuapi: fix samba4 callers after drsuapi.idl changesStefan Metzmacher1-6/+9
metze (This used to be commit 4b054cee51c39c5430bcadd5c06a94dc3e6b0d8f)
2008-08-08We can't use ndr_pull_struct_blob_all in combinatin with relative pointersAndrew Bartlett1-3/+4
(This used to be commit d0a128f35b259d4891edc68fc24aa04a6da7aab7)
2008-08-07drsuapi: fix callers after idl changeStefan Metzmacher1-1/+1
metze (This used to be commit 7dee6fb62d5adbd2eaaaf4d8ba9e87a72ef9f94b)
2008-07-31Print trustAuthOutgoing and trustAuthIncoming in RPC-DSSYNCAndrew Bartlett1-6/+22
(This used to be commit 6673a6e62399c4956a44a06685aa91ce8145b92a)