Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-02-15 | s4-kcc: initial code for the topology algorithm | Crístian Deives | 2 | -0/+615 | |
this patch contains the data structures declarations and the functions to setup the graph. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-02-15 | s4-dsdb: don't change replPropertyMetaData if the value hasn't changed | Andrew Tridgell | 1 | -4/+20 | |
When updating replPropertyMetaData, check if the value being stored is the same as the current value, and skip the update if it is. This is based on a patch by Fernando J V da Silva <fernandojvsilva@yahoo.com.br> | |||||
2010-02-15 | s4-drs: Fixes bugs regarding Urgent Replication on wrong situations | Fernando J V da Silva | 1 | -7/+16 | |
It fixes the bug which causes an urgent replication to be enabled incorrectly when an object is modified, but it should happen only when it was created. This patch also fixes the bug that enable an urgent replication when an object is deleted, but it should happen only when it was modified and fixes the bug that does not enable an urgent replication when an object is deleted and it should happen only when it is deleted (not when it is modified). Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-02-15 | s4-dsdb: added dsdb_modify_permissive() | Andrew Tridgell | 1 | -0/+36 | |
This will be used in the drsuapi server | |||||
2010-02-13 | s4:util.c - Corrected the location of the "Directory Service" object | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
I wonder why nobody noticed this since for sure this "tombstone" functionality was broken till now. | |||||
2010-02-13 | s4: use LDB_TYPESAFE_QSORT() instead of ldb_qsort() | Andrew Tridgell | 1 | -5/+2 | |
2010-02-13 | s4-dsdb: use TYPESAFE_QSORT() in dsdb code | Andrew Tridgell | 7 | -52/+28 | |
2010-02-11 | s4-dns: don't leave behind a tmp file | Andrew Tridgell | 1 | -0/+2 | |
If the dns update file doesn't need updating we need to delete the tmp file | |||||
2010-02-11 | s4-dns: added a dns update task | Andrew Tridgell | 2 | -0/+235 | |
This task watches for changes in the list of DCs, and creates a bind9 formatted file that grants update permission to all DCs, plus to the administration, and machines update for their own names. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-10 | util: rewrite dlinklist.h so that DLIST_ADD_END() is O(1) | Andrew Tridgell | 1 | -2/+1 | |
This changes the meaning of the ->prev pointer in our doubly linked lists to point at the end of the list from the front of the list. That allows us to implement DLIST_ADD_END() and related functions in O(1) time, which can be a huge saving in many places in Samba. This also means that the 'type' argument to various DLIST_*() macros is no longer needed, but I have left it in for now to keep the patchset small, which will make it easier to revert if any problems are found. In the future we should remove the 'type' arguments. (jra. Move the one use of DLIST_TAIL over to the new macros). | |||||
2010-02-10 | s4-dsdb: update repl_meta_data.c to use new DLIST_ macros | Jeremy Allison | 1 | -3/+2 | |
2010-02-08 | s4:subtree_delete - "NULL" as format string isn't allowed on FreeBSD | Matthias Dieter Wallnöfer | 1 | -2/+3 | |
I changed the format string into "(objectClass=*)" which should be an equivalent expression for choosing all available objects. Consider bug 7115 for the issue. | |||||
2010-02-05 | s4/drs: propagate DRS_ extension flags in code base | Kamen Mazdrashki | 1 | -1/+1 | |
2010-02-04 | s4:mark the SYSTEM control always as non-critical | Matthias Dieter Wallnöfer | 1 | -0/+29 | |
It is needed to not break the various LDAP backends. For reference look at bug #7040. | |||||
2010-02-02 | Change uint_t to unsigned int in source4 | Matt Kraai | 2 | -10/+10 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
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 |