Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-01-28 | s4-drs: Reads uSNUrgent and sets Urgent Replication Bit for DS_ReplicaSync ↵ | Fernando J V da Silva | 2 | -7/+24 | |
when necessary If an urgent replication is necessary, so the uSNUrgent stored is equal to the uSNHighest stored, then when sending the DS_ReplicaSync message it sets the DRSUAPI_DRS_SYNC_URGENT bit on DRS_OPTIONS. Signed-off-by: Fernando J V da Silva <fernandojvsilva@yahoo.com.br> Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-01-18 | idl: switched to using the WSPP names for the 'neighbour' DRS options | Andrew Tridgell | 1 | -3/+3 | |
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. | |||||
2010-01-17 | s4-dsdb: isGlobalCatalogReady should be shown by default | Andrew Tridgell | 1 | -1/+1 | |
This caused repadmin.exe to crash. Thanks to Hongwei for tracking this down for us. | |||||
2010-01-16 | s4-kcc: added DsReplicaGetInfo pending ops call | Andrew Tridgell | 1 | -1/+30 | |
Just return 0 pending ops for now | |||||
2010-01-16 | s4-kcc: added DsReplicaGetInfo CURSORS2 level | Andrew Tridgell | 1 | -0/+29 | |
2010-01-16 | s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_context | Andrew Tridgell | 1 | -2/+2 | |
2010-01-16 | s4-kcc: added support for CURSORS info level in DsReplicaGetInfo | Andrew Tridgell | 1 | -3/+34 | |
2010-01-16 | s4-dsdb: take advantage of local cursor and sort | Andrew Tridgell | 1 | -37/+0 | |
in getncchanges and repl task we don't need the extra load and sort any more. | |||||
2010-01-16 | s4-dsdb: add our local cursor and sort in dsdb_load_udv_*() | Andrew Tridgell | 1 | -19/+65 | |
This makes things much simpler for the callers | |||||
2010-01-16 | s4-dsdb: use dsdb_load_udv_v2() in repl task | Andrew Tridgell | 1 | -27/+2 | |
2010-01-16 | s4-dsdb: added dsdb_load_udv_v2() and dsdb_load_udv_v1() | Andrew Tridgell | 1 | -0/+82 | |
2010-01-16 | s4-kcc: simplify the ReplicaGetInfo implementation a bit | Andrew Tridgell | 1 | -53/+17 | |
2010-01-16 | s4-kcc: squash a warning | Andrew Tridgell | 1 | -0/+2 | |
2010-01-16 | s4-drs: framework for DsGetReplInfo(), includes the DS_REPL_INFO_NEIGHBORS ↵ | Andrew Tridgell | 3 | -3/+507 | |
infoType. This patch includes the framework for the implementation of all infoTypes of the DsGetReplInfo() call, and includes the implementation for the first one, the DS_REPL_INFO_NEIGHBORS. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-01-16 | s4-dsdb: added isGlobalCatalogReady | Andrew Tridgell | 1 | -0/+12 | |
needed for dcdiag.exe | |||||
2010-01-14 | s4-drepl: switch drepl over to using the generic DRS options flags | Andrew Tridgell | 2 | -7/+5 | |
WSPP uses a single set of flags for all these DRS operations. | |||||
2010-01-14 | s4-drs: Uses dsdb_load_partition_usn() with urgent_uSN in s4 code | Fernando J V da Silva | 1 | -1/+1 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-01-14 | s4-drs: Store uSNUrgent for Urgent Replication | Fernando J V da Silva | 4 | -18/+121 | |
When a object or attribute is created/updated/deleted, according to [MS-ADTS] 3.1.1.5.1.6, it stores the uSNUrgent on @REPLCHANGED for the partitions that it belongs. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-01-13 | s4:dsdb: use validate_update module | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_OID_validate_ldb() | Stefan Metzmacher | 1 | -13/+50 | |
This is a very heavy weight way of checking this syntax, but it's very complex and using the existing function should be ok for now. We can optimize it later. metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_DN_STRING_validate_ldb() | Stefan Metzmacher | 1 | -1/+48 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_DN_BINARY_validate_ldb() | Stefan Metzmacher | 1 | -2/+49 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_DN_validate_ldb() | Stefan Metzmacher | 1 | -1/+139 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_PRESENTATION_ADDRESS_validate_ldb() | Stefan Metzmacher | 1 | -1/+12 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_UNICODE_validate_ldb() | Stefan Metzmacher | 1 | -1/+69 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_DATA_BLOB_validate_ldb() | Stefan Metzmacher | 1 | -8/+61 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_NTTIME_validate_ldb() | Stefan Metzmacher | 1 | -1/+37 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_NTTIME_UTC_validate_ldb() | Stefan Metzmacher | 1 | -1/+49 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_INT64_validate_ldb() | Stefan Metzmacher | 1 | -1/+47 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_INT32_validate_ldb() | Stefan Metzmacher | 1 | -1/+48 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_BOOL_validate_ldb() | Stefan Metzmacher | 1 | -1/+30 | |
metze | |||||
2010-01-13 | s4:dsdb: add validate_update module | Stefan Metzmacher | 2 | -1/+130 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add inftrastructure for dsdb_validate_ldb() | Stefan Metzmacher | 2 | -0/+61 | |
metze | |||||
2010-01-13 | s4:dsdb/schema: add dsdb_syntax_DN_STRING_* wrappers | Stefan Metzmacher | 1 | -2/+30 | |
metze | |||||
2010-01-13 | s4:dsdb/resolve_oids: also resolve oid in search attribute list | Stefan Metzmacher | 1 | -4/+55 | |
metze | |||||
2010-01-13 | s4:dsdb/schema_load: add a TODO about schema reloading | Stefan Metzmacher | 1 | -1/+11 | |
metze | |||||
2010-01-13 | s4:dsdb/repl: reorder dreplsrv_op_notify* functions | Stefan Metzmacher | 1 | -53/+50 | |
This make the whole async dreplsrv_op_notify_send/recv() readable. metze | |||||
2010-01-13 | s4:dsdb/repl: change dreplsrv_op_notify_send/recv() to tevent_req | Stefan Metzmacher | 2 | -70/+74 | |
metze | |||||
2010-01-13 | s4:dsdb/common: fix major bug in lsa_BinaryString to ldb_val conversation. | Stefan Metzmacher | 1 | -2/+2 | |
In lsa_BinaryString length and size are byte counts! TODO: we may need to do byte order conversion in this functions too... metze | |||||
2010-01-13 | s4:dsdb/common: let samdb_msg_add_uint() call samdb_msg_add_int() | Stefan Metzmacher | 1 | -2/+1 | |
This is important as LDAP servers always play with int32 values and we have to encode 0x80000000 as "-2147483648" instead of "2147483648". metze | |||||
2010-01-13 | s4:dsdb/common: let samdb_msg_add_uint64() call samdb_msg_add_int64() | Stefan Metzmacher | 1 | -2/+1 | |
This is important as LDAP servers always play with int64 values and we have to encode 0x8000000000000000LL as "-9223372036854775808" instead of "9223372036854775808". metze | |||||
2010-01-10 | s4:repl_meta_data - Transform a "1" into a "true" on a boolean variable | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-01-10 | s4-dsdb: added samdb_domain_sid_cache_only() | Andrew Tridgell | 1 | -1/+8 | |
2010-01-09 | s4-drs: instanceType is always sent, regardless of UDV values | Andrew Tridgell | 1 | -4/+6 | |
2010-01-09 | s4-samldb: fixed primaryGroupID when promoting a machine to a DC | Andrew Tridgell | 1 | -17/+30 | |
The machine gets a primaryGroupID of DOMAIN_RID_DCS. This is done without changing the member attributes of its groups. | |||||
2010-01-09 | s4-drs: add a local UDV entry even when no replUpToDateVector present on NC | Andrew Tridgell | 1 | -3/+3 | |
This allows us to filter correctly for a NC that we have created but not pulled from anyone. | |||||
2010-01-09 | s4-drs: give DN of failed replication partition | Andrew Tridgell | 1 | -4/+5 | |
2010-01-09 | s4-dsdb: added samdb_ldb_val_case_cmp() | Andrew Tridgell | 1 | -0/+16 | |
2010-01-09 | s4-drs: calculate and send a uptodateness_vector with replication requests | Andrew Tridgell | 2 | -7/+82 | |
This stops us getting objects changes twice if they came via an indirect path. | |||||
2010-01-09 | s4-drs: added filtering by udv in getncchanges | Andrew Tridgell | 1 | -0/+6 | |
When a client supplied an uptodateness_vector, we can use it to filter what objects we return. This greatly reduces the amount of replication traffic between DCs. |