Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-29 | s4-dsdb: Return ldb_result context in dsdb_module_extended | Amitay Isaacs | 1 | -3/+20 | |
The result of the extended operation is now available in the calling routine. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-10-07 | s4-dsdb: fixed the check_optional_feature() call | Andrew Tridgell | 1 | -19/+24 | |
the dsdb_check_optional_feature() call should look on our own NTDS DN for the enabled feature. This should work for all features, not just for forest wide fetaures. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-09-23 | build: avoid util.h as a public header name due to conflict with MacOS | Andrew Bartlett | 1 | -1/+1 | |
2011-08-25 | s4-dsdb: assert that base DNs are used correctly | Andrew Tridgell | 1 | -0/+5 | |
this will catch future programmer errors with incorrect base DNs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-09 | s4-dsdb: ensure rIDSetReferences is stored as an extended DN | Andrew Tridgell | 1 | -1/+1 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-07-21 | update/add my copyright | Matthieu Patou | 1 | -0/+1 | |
2011-07-21 | s4-dsdb: add dsdb_module_extended function similar to other dsdb_module_* ↵ | Matthieu Patou | 1 | -0/+61 | |
functions | |||||
2011-05-21 | s4-dsdb: introduce dsdb_module_search_tree | Matthieu Patou | 1 | -24/+63 | |
With this function your own search tree can be specified This function is similar to ldb_build_search_req_ex as it allows to pass a parse tree structure. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-02-22 | s4-auth Move libcli/security/session.c to the top level | Andrew Bartlett | 1 | -1/+0 | |
This code is now useful in common, as the elements of the auth_session_info structure have now been defined in common IDL. Andrew Bartlett | |||||
2011-02-14 | s4-ldb_modules/util: Implement dsdb_module_find_ntdsguid_for_computer() | Kamen Mazdrashki | 1 | -0/+30 | |
as a counterpart for samdb_find_ntdsguid_for_computer() to be used in LDB modules | |||||
2011-01-17 | s4-dsdb: pass parent request to dsdb_module_*() functions | Andrew Tridgell | 1 | -39/+83 | |
this preserves the request hierarchy for dsdb_module_*() calls inside dsdb ldb modules Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-12-13 | s4:dsdb:util: dsdb_get_single_valued_attr() only needs a const ldb_messages | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-11-26 | s4-dsdb Remove mem_ctx argument from dsdb_module_find_dsheuristics(). | Andrew Bartlett | 1 | -3/+2 | |
A function that does not return memory should not take a memory context. Andrew Bartlett | |||||
2010-11-11 | s4:password_hash and acl LDB modules - handle the "userPassword" attribute ↵ | Matthias Dieter Wallnöfer | 1 | -0/+20 | |
according to the "dSHeuristics" | |||||
2010-11-11 | s4:ldb_modules/util.c - "dsHeuristics" -> "dSHeuristics" | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2010-11-07 | s4:ldb_modules/util.c - "dsdb_get_single_valued_attr" - support the ↵ | Matthias Dieter Wallnöfer | 1 | -4/+8 | |
attribute fetch also on LDB add operations We've to completely ignore the flags in that case. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 7 11:10:23 UTC 2010 on sn-devel-104 | |||||
2010-11-03 | s4:samldb LDB module - improve the "get_single_valued_attr" call and move it ↵ | Matthias Dieter Wallnöfer | 1 | -0/+30 | |
into "ldb_modules/util.c" It will be used by other LDB modules as well. | |||||
2010-11-03 | s4-dsdb: removed the use of ldb_private.h from s4 | Andrew Tridgell | 1 | -7/+3 | |
this will allow s4 to use a system version of ldb | |||||
2010-10-24 | s4:dsdb - use the more safe "samdb_msg_add_(u)int*" calls always where possible | Matthias Dieter Wallnöfer | 1 | -2/+3 | |
This should prevent all possible integer storage problems in future. | |||||
2010-10-19 | s4-dsdb Reset the error string after 'expected' errors. | Andrew Bartlett | 1 | -0/+1 | |
This helps ensure that we don't get confusing error strings in the logs on other error cases. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 19 12:16:07 UTC 2010 on sn-devel-104 | |||||
2010-10-16 | s4:dsdb/samdb/ldb_modules/util.c - remove now unused functions which set ↵ | Matthias Dieter Wallnöfer | 1 | -74/+0 | |
integers Please do always use the functions which specifiy the appropriate integer length to not run into platform-specific issues. Therefore I'm removing these generic calls. | |||||
2010-10-12 | s4-libcli/security Use seperate subsystem for session related functions | Andrew Bartlett | 1 | -0/+1 | |
The merged I plan in this area require spliting security.h into two header files, a common header and a session.h for the remaining source4-specific code. Andrew Bartlett | |||||
2010-10-10 | dsdb/modules: Split up helpers a bit to prevent recursive dependencies. | Jelmer Vernooij | 1 | -27/+0 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 10 23:47:54 UTC 2010 on sn-devel-104 | |||||
2010-10-10 | dsdb: Move attr_in_list to SAMDB_COMMON to avoid circular dependency between ↵ | Jelmer Vernooij | 1 | -12/+0 | |
SAMDB_COMMON and DSDB_MODULE_HELPERS. | |||||
2010-10-03 | s4:dsdb - substitute the "show_deleted" with the "show_recycled" control | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
We intend to see always all objects with the "show_deleted" control specified. To see also recycled objects (beginning with 2008_R2 function level) we need to use the new "show_recycled" control. As far as I see this is only internal code and therefore we don't run into problems if we do substitute it. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-29 | s4-dsdb Add ldb_reset_err_string() when we set error codes. | Andrew Bartlett | 1 | -0/+1 | |
If we don't we could show an old, incrorrect error | |||||
2010-09-27 | s4-ldb: removed an unused variable | Andrew Tridgell | 1 | -1/+0 | |
2010-09-25 | ldb: mark the location of a lot more ldb requests | Andrew Tridgell | 1 | -0/+9 | |
2010-09-25 | s4-dsdb: added tagging of requests in dsdb modules | Andrew Tridgell | 1 | -0/+15 | |
this allows you to call dsdb_req_chain_debug() in gdb or when writing debug code to see the request chain | |||||
2010-09-25 | s4-dsdb: Fixed a call to the wrong ops function in dsdb_module_search_dn. | Nadezhda Ivanova | 1 | -1/+1 | |
2010-08-27 | s4-dsdb: Fixed a compiler warning. | Nadezhda Ivanova | 1 | -1/+0 | |
2010-08-26 | s4:dsdb_module_find_dsheuristics - free the "DN" also on other exit cases | Matthias Dieter Wallnöfer | 1 | -0/+2 | |
2010-08-26 | s4-dsdb: Removed an unnecessary space in dsdb_module_find_dsheuristics() | Nadezhda Ivanova | 1 | -1/+1 | |
2010-08-26 | s4-dsdb: Added utility functions for retrieving dSHeuristics from the module ↵ | Nadezhda Ivanova | 1 | -0/+47 | |
stack Also a function to check dsHeuristics value to determine of anonymous access should be blocked | |||||
2010-08-17 | s4-dsdb: check the type of session_info from the opaque | Andrew Tridgell | 1 | -2/+2 | |
we saw a crash with a bad pointer here, and this may help track it down Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-04 | s4-dsdb: Removed kludge_acl as it is no longer necessary | Nadezhda Ivanova | 1 | -0/+8 | |
Moved the access check on extended operations to acl module and removed kludge_acl | |||||
2010-08-01 | s4:dsdb/samdb/ldb_modules/util.c - remove unused variables | Matthias Dieter Wallnöfer | 1 | -2/+0 | |
2010-07-09 | s4:dsdb: add dsdb_module_constrainted_update_uint32/64() wrapper functions | Stefan Metzmacher | 1 | -0/+22 | |
metze | |||||
2010-07-09 | s4:dsdb: add dsdb_msg_constrainted_update_uint32/64() wrapper functions | Stefan Metzmacher | 1 | -0/+22 | |
metze | |||||
2010-07-09 | s4:dsdb: add dsdb_module_constrainted_update_int32/64() functions | Stefan Metzmacher | 1 | -0/+58 | |
metze | |||||
2010-07-09 | s4:dsdb: add dsdb_msg_constrainted_update_int32/64() functions | Stefan Metzmacher | 1 | -0/+96 | |
metze | |||||
2010-07-08 | s4-dsdb/util: Reorder DSDB_FLAG_* checks | Kamen Mazdrashki | 1 | -30/+30 | |
On good thing about having more clear function interfaces (and forcing callers to specify clearly what they want) is that now I can execute following search: git grep DSDB_FLAG_NEXT_MODULE | wc -l This showed that DSDB_FLAG_NEXT_MODULE flag is about 6 times more frequently used than DSDB_FLAG_OWN_MODULE. So this should reduce branch prediction by six times in this part of the code, right :) | |||||
2010-07-08 | s4-dsdb: Implement module switching in dsdb_module_search_dn() | Kamen Mazdrashki | 1 | -1/+10 | |
This allows caller to choose from where to start DN search | |||||
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 |