summaryrefslogtreecommitdiffstats
path: root/source4/torture/rpc/dssync.c
Commit message (Collapse)AuthorAgeFilesLines
* s4-test: Move dssync.c to torture/drs/rpcKamen Mazdrashki2010-08-111-1120/+0
|
* s4-test: strip trailing white-spacesKamen Mazdrashki2010-08-111-21/+21
|
* s4-test: Expand DSSYNC test to be executed against all partitionsKamen Mazdrashki2010-07-291-17/+49
| | | | | | It is still possible to supply specific partition to test with on command line using --option="dssync:partition={PARTITION_DN}"
* s4-test-dssync: Issue warning in case we have diffrences in link attributesKamen Mazdrashki2010-07-291-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)
* s4-test: Simplify test_GetInfo() - we have what we need through LDB connectionKamen Mazdrashki2010-07-291-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
* s4-test: Use ldb_msg_normalize() in torture/rpc/dssync.c testKamen Mazdrashki2010-07-191-2/+4
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-test: Use ldb_msg_difference() in torture/rpc/dssync.c testKamen Mazdrashki2010-07-191-3/+6
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-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>
* s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher2010-06-161-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>
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-4/+3
|
* s4:torture/rpc/dssync.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE ↵Stefan Metzmacher2010-04-151-6/+2
| | | | | | instead of DCERPC_FAULT_OP_RNG_ERROR metze
* s4:torture/rpc: don't look at p->last_fault_code for debugging anymoreStefan Metzmacher2010-04-151-6/+0
| | | | metze
* s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher2010-04-141-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
* subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij2010-04-111-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.
* s4:torture/rpc/dssync.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-6/+8
| | | | metze
* s4:dsdb Change dsdb_get_schema() callers to use new talloc argumentAndrew Bartlett2010-03-161-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
* RPC-DSSYNC: handle DCERPC_FAULT_OP_RNG_ERROR as not supported for ↵Stefan Metzmacher2010-03-111-1/+5
| | | | | | DsGetNT4ChangeLog() metze
* RPC-DSSYNC: fix the build after idl changesStefan Metzmacher2010-03-111-6/+11
| | | | metze
* s4/drs: DsCrackNames - Propagating IDL changes to source codeKamen Mazdrashki2010-03-101-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/drs: DsGetNCChanges - Propagating IDL changes to source codeKamen Mazdrashki2010-03-101-3/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:RPC-DSSYNC: pass the ip address to the cldap code instead of a nameStefan Metzmacher2010-02-261-2/+16
| | | | metze
* s4:torture: use a connected CLDAP socket.Stefan Metzmacher2010-02-261-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
* idl: switched to using the WSPP names for the 'neighbour' DRS optionsAndrew Tridgell2010-01-181-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.
* s4/drs(tort): DSSYNC test to print what is different in drs_msg alsoKamen Mazdrashki2009-11-231-1/+7
|
* s4/drs(tort): Convert DSSYNC test to a test case fixtureKamen Mazdrashki2009-11-171-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>
* s4/drs(tort): replace DEBUG with torture_asert/comment/failKamen Mazdrashki2009-11-171-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>
* s4/drs(tort): use torture_drsuapi_assert_call() macro for error checkingKamen Mazdrashki2009-11-171-11/+2
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4/drs(tort): replace 'printf' with 'torture_...' callsKamen Mazdrashki2009-11-171-14/+15
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4/drs(tort): 'DsSyncBindInfo.pipe' renamed - 'pipe' is a system callKamen Mazdrashki2009-11-171-11/+11
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:dsdb With these workarounds, we now pass the RPC-DSSYNC testAndrew Bartlett2009-11-171-2/+15
|
* s4:torture Use (some) torture_assert() calls in RPC-DSSYNC testAndrew Bartlett2009-11-121-5/+4
|
* s4:torture Remove _drs_util_verify_attids() from RPC-DSSYNCAndrew Bartlett2009-11-121-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
* s4:torture/dsdb Add verification of the push-to-LDB functions in RPC-DSSYNCAndrew Bartlett2009-11-121-23/+260
| | | | | | | This is done by comparing the values against the remote host's LDAP server. Andrew Bartlett
* s4:torture Convert RPC-DSSYNC test to use LDB rather than raw LDAPAndrew Bartlett2009-11-121-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
* s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2009-10-201-4/+0
| | | | This reduces compile time somewhat.
* s4/drs(tort): _drs_util_verify_attids() to verify ATTIDs in objects receivedKamen Mazdrashki2009-10-161-0/+50
|
* s4/drs(tort): _drs_ldap_attr_by_oid() implementationKamen Mazdrashki2009-10-161-0/+49
| | | | | Utility function to be used to fetch Attribute name and DN giving attribute OID
* Move DRSUAPI per-attribute decryption into a common fileAndrew Bartlett2009-04-141-116/+9
| | | | | | | This file (contining metze's decryption routines) is now also be used by Samba3's DRSUAPI implementation Andrew Bartlett
* s4:cldap: rewrite the cldap library based on tsocketStefan Metzmacher2009-03-191-2/+7
| | | | metze
* s4-smbtorture: fix build warning.Günther Deschner2008-10-231-1/+1
| | | | Guenther
* s4-drsuapi: merge drsuapi_DsGetNCChanges from s3 drsuapi idl.Günther Deschner2008-10-181-63/+70
| | | | Guenther
* s4-drsuapi: merge drsuapi_DsCrackNames from s3 drsuapi idl.Günther Deschner2008-10-181-8/+15
| | | | Guenther
* s4-smbtorture: fix drsuapi_DsGetNT4ChangeLog test.Günther Deschner2008-10-171-0/+4
| | | | Guenther
* s4: merge from s3 drsuapi.idl.Günther Deschner2008-10-171-11/+14
| | | | Guenther
* The IRIX compiler does not like embedded unnamed unionsVolker Lendecke2008-10-021-3/+3
|
* Move source4/lib/crypto to lib/crypto.Jelmer Vernooij2008-09-241-1/+1
|
* drsuapi: fix samba4 callers after drsuapi.idl changesStefan Metzmacher2008-08-201-6/+9
| | | | | metze (This used to be commit 4b054cee51c39c5430bcadd5c06a94dc3e6b0d8f)
* We can't use ndr_pull_struct_blob_all in combinatin with relative pointersAndrew Bartlett2008-08-081-3/+4
| | | | (This used to be commit d0a128f35b259d4891edc68fc24aa04a6da7aab7)
* drsuapi: fix callers after idl changeStefan Metzmacher2008-08-071-1/+1
| | | | | metze (This used to be commit 7dee6fb62d5adbd2eaaaf4d8ba9e87a72ef9f94b)
* Print trustAuthOutgoing and trustAuthIncoming in RPC-DSSYNCAndrew Bartlett2008-07-311-6/+22
| | | | (This used to be commit 6673a6e62399c4956a44a06685aa91ce8145b92a)