Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-07-08 | s4-source4/dsdb/samdb/ldb_modules/util.c Use DSDB_FLAG_NEXT_MODULE flag | Kamen Mazdrashki | 1 | -2/+4 | |
2010-07-07 | s4-dsdb: use ldb_operr() in the dsdb code | Andrew Tridgell | 1 | -18/+16 | |
this replaces "return LDB_ERR_OPERATIONS_ERROR" with "return ldb_operr(ldb)" in places in the dsdb code where we don't already explicitly set an error string. This should make is much easier to track down dsdb module bugs that result in an operations error. | |||||
2010-07-03 | s4:dsdb_module_load_partition_usn - check for "res->count" equal/unequal to 1 | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-07-02 | s4/dsdb: Assert DSDB_FLAG_*_MODULE is always passed in function call | Kamen Mazdrashki | 1 | -0/+5 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-02 | s4-source4/dsdb/samdb/ldb_modules/util.c Use DSDB_FLAG_NEXT_MODULE flag | Kamen Mazdrashki | 1 | -2/+3 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-20 | s4:dsdb - add a new dsdb delete function which understands the tree delete ↵ | Matthias Dieter Wallnöfer | 1 | -0/+53 | |
control | |||||
2010-06-06 | s4:get_last_structural_class - only real structural classes can be ↵ | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
candidates for fetching the last one Classes with objectCategory = 1 are always structural, these with objectCategory = 0 also (as we can see in our Windows 2008 R2 schema file where class "Person" has 0 but is structural). Abstract classes and auxiliary ones cannot be considered (objectCategory = 2, 3) http://msdn.microsoft.com/en-us/library/ms677964(VS.85).aspx | |||||
2010-05-30 | s4:dsdb/samdb/ldb_modules/util.c - make sure to always free temporary data | Matthias Dieter Wallnöfer | 1 | -1/+6 | |
2010-05-30 | s4:dsdb_module_search_dn - add code to handle NULL format string | Matthias Dieter Wallnöfer | 1 | -3/+13 | |
2010-05-04 | s4/rodc: Support read-only database | Anatoliy Atanasov | 1 | -9/+34 | |
Check on modify if we are RODC and return referral. On the ldap backend side now we pass context and ldb_modify_default_callback to propagate the referral error to the client. | |||||
2010-04-29 | s4/rodc: RODC FAS initial implementation | Anatoliy Atanasov | 1 | -0/+12 | |
2010-04-22 | s4-drs: added new SECURITY_RO_DOMAIN_CONTROLLER level | Andrew Tridgell | 1 | -1/+1 | |
This is used for allowing operations by RODCs, and denying them operations that should only be allowed for a full DC This required a new domain_sid argument to security_session_user_level() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Rusty Russell <rusty@samba.org> | |||||
2010-04-13 | Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
We should use the "ldb_get_*_basedn" calls since they are available in the LDB library. | |||||
2010-04-08 | s4:dsdb - Handle INVALID_DN_SYNTAX from OpenLDAP in ↵ | Endi S. Dewata | 1 | -1/+1 | |
dsdb_module_load_partition_usn(). Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-03-26 | s4-drs: replmd_delete with the 3 stage deletion recycle bin | Eduardo Lima | 1 | -1/+25 | |
2010-03-23 | s4:ldb_modules/util.c - fix two counter variables to be "unsigned" | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2010-03-22 | s4:dsdb Move dsdb_save_partition_usn() to be a module helper function | Andrew Bartlett | 1 | -0/+175 | |
This function should not traverse the module stack again, but instead run from this point. Also add a matching dsdb_module_load_partition_usn() and change repl_meta_data to match. Andrew Bartlett | |||||
2010-03-12 | s4:util.c - "dsdb_check_optional_feature" - counter should be "unsigned" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-03-12 | s4-drs: check if an optional feature is enabled | Eduardo Lima | 1 | -0/+59 | |
2010-02-16 | s4-dsdb: move dsdb_request_add_controls() into dsdb/common/util.c | Andrew Tridgell | 1 | -75/+5 | |
This will be used to allow the flag based ldb functions to work on both a ldb or a module, thus saving a lot of specialist functions. | |||||
2010-01-08 | s4-dsdb: added dsdb_module_am_system() | Andrew Tridgell | 1 | -0/+9 | |
better than each module inventing their own | |||||
2010-01-08 | s4-dsdb: added DSDB_FLAG_TOP_MODULE | Andrew Tridgell | 1 | -0/+8 | |
This is used when you want the dsdb_module_*() functions to go to the top of the stack. | |||||
2010-01-08 | s4-dsdb: added dsdb_module_set_integer() | Andrew Tridgell | 1 | -0/+24 | |
This will be used by ridalloc.c Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-dsdb: added dsdb_next_callback() | Andrew Tridgell | 1 | -0/+12 | |
This should be used when you create a sub request and just want the parent requests callback to be called when done. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-dsdb: added dsdb_module_constrainted_update_integer() | Andrew Tridgell | 1 | -0/+50 | |
This provides a convenient way to update a integer attribute with a constrained delete/add Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-dsdb: added dsdb_module_reference_dn() | Andrew Tridgell | 1 | -0/+43 | |
This adds a module callable version of samdb_reference_dn(), which finds a DN via a reference link Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-dsdb: added dsdb_module_add() | Andrew Tridgell | 1 | -0/+46 | |
added a ldb add function for modules Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-dsdb: added DSDB_FLAG_OWN_MODULE | Andrew Tridgell | 1 | -3/+49 | |
This allows you to call dsdb_module_*() functions while including the current module in the module stack to be used Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-dsdb: added dsdb_check_single_valued_link() | Andrew Tridgell | 1 | -0/+29 | |
This is used in conjunction with the RELAX control, to check for violations of single value rules for linked attributes | |||||
2009-12-21 | s4-dsdb: don't use a non-constant format string for a printf format | Andrew Tridgell | 1 | -10/+3 | |
2009-12-21 | s4-dsdb: added DSDB_MODIFY_RELAX flag to the dsdb_module_*() calls | Andrew Tridgell | 1 | -0/+7 | |
2009-12-21 | s4-dsdb: use varargs expression in dsdb_module_search() | Andrew Tridgell | 1 | -1/+7 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-18 | s4-dsdb: Move get_last_structural class from descriptor.c to util.c | Brendan Powers | 1 | -0/+28 | |
It can now also be used by objectclass.c get_last_structural_class now ignores AUX classes, because they are not structural Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-16 | s4-dsdb: added a dsdb_module_rename() call | Andrew Tridgell | 1 | -0/+43 | |
This will be used by the replmd_delete() code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-16 | s4-dsdb: added dsdb_module_modify() | Andrew Tridgell | 1 | -0/+40 | |
This is used to do a sync modify in a module Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-16 | s4-dsdb: fixed dsdb_module_dn_by_guid() | Andrew Tridgell | 1 | -3/+7 | |
needs to ask for the DN in storage format, plus fix compilation errors | |||||
2009-12-16 | s4-dsdb: dsdb_flags should be unsigned | Andrew Tridgell | 1 | -1/+1 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-16 | s4-dsdb: rename dsdb_module_search_handle_flags to dsdb_request_add_controls | Andrew Tridgell | 1 | -3/+7 | |
This function will be used for non-search controls, like relax | |||||
2009-12-16 | s4-dsdb: added dsdb_module_dn_by_guid() | Andrew Tridgell | 1 | -0/+41 | |
This finds a DN given a GUID, searching below the current module in the module stack. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-14 | s4-dsdb: added REVEAL_INTERNALS flag to dsdb_module_search_handle_flags() | Andrew Tridgell | 1 | -0/+7 | |
2009-11-17 | s4:dsdb Add 'dsdb_flags' to dsdb_module_search() to enable often-used features | Andrew Bartlett | 1 | -1/+70 | |
These flags, also on dsdb_module_search_dn() allow us to add commonly set controls to this pre-packaged blocking search, without rebuilding the whole function in each caller. Andrew Bartlett | |||||
2009-10-23 | s4:dsdb Add error string in 'no such object' because of 0 replies case | Andrew Bartlett | 1 | -0/+3 | |
2009-10-12 | s4:dsdb Add new functions to help modules do an ldb_search() | Andrew Bartlett | 1 | -0/+128 | |
These take an ldb_module argument, and avoid doing the search from the top of the stack again. (This will help when modules are initialised before being added to the partition set) Andrew Bartlett |