Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-01-08 | s4-dsdb: added samdb_rid_set_dn() | Andrew Tridgell | 1 | -0/+18 | |
This returns the DN of our RID Set object Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-dsdb: added samdb_reference_dn() | Andrew Tridgell | 1 | -0/+62 | |
This returns a 'reference' DN, which is a link to a DN, from the specified object. It is then used by samdb_server_reference_dn() which returns the serverReference DN, and samdb_rid_manager_dn() which returns the rIDManagerReference DN. | |||||
2010-01-02 | s4-dsdb: switched to using RMD_FLAGS instead of DELETED in extended DNs | Andrew Tridgell | 2 | -7/+46 | |
This allows for more flags in the future | |||||
2010-01-02 | s4-dsdb: fixed several memory leaks | Andrew Tridgell | 1 | -5/+18 | |
need to be careful with those temporary contexts | |||||
2010-01-02 | s4-dsdb: fixed samdb_create_foreign_security_principal() to use the ↵ | Andrew Tridgell | 1 | -18/+20 | |
wellknown GUID This also fixes a memory leak | |||||
2010-01-02 | s4-dsdb: added dsdb_tombstone_lifetime() | Andrew Tridgell | 1 | -0/+26 | |
2010-01-02 | s4-dsdb: added dsdb_set_extended_dn_guid() | Andrew Tridgell | 1 | -0/+19 | |
2010-01-02 | s4-dsdb: added parse functions for DRS linked attribute blobs | Andrew Tridgell | 1 | -0/+69 | |
2010-01-02 | s4-dsdb: added dsdb_dn_is_upgraded_link_val() | Andrew Tridgell | 1 | -0/+9 | |
This is used to detect if a link has been stored in the w2k3 extended format | |||||
2010-01-02 | s4-dsdb: allow the component name to be specified in dsdb_get_extended_dn_guid() | Andrew Tridgell | 1 | -2/+2 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-21 | s4-dsdb-util: Execute ldb_request using LDB_CONTROL_AS_SYSTEM | Kamen Mazdrashki | 1 | -0/+49 | |
This function is intended to be used when data needs to be modified skipping access checks. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-12-21 | s4-dsdb-util: Utility function to process ldb_request in transaction | Kamen Mazdrashki | 1 | -0/+26 | |
This function is to be used later for manually crafted ldb_requests from within dsdb layer Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-12-21 | s4-dsdb: added dsdb_get_extended_dn_uint64() | Andrew Tridgell | 1 | -3/+11 | |
2009-12-21 | s4-dsdb: added two new dsdb_get_extended_dn_*() helper functions | Andrew Tridgell | 1 | -0/+43 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-18 | s4-dsdb: fixed the sort in dsdb_find_nc_root() | Andrew Tridgell | 1 | -1/+6 | |
2009-12-17 | s4:"samdb_set_password" - remove delete instructions | Matthias Dieter Wallnöfer | 1 | -7/+2 | |
They won't work when the LDB change is done using "samdb_replace" (consider "samr_password.c" functions). I think this has been a relict which has been useful before the "password_hash" module existed. Basically it itself does now the updates. | |||||
2009-12-17 | s4:dsdb/common/util - make NTTIME attribute wrappers use a "const" message | Matthias Dieter Wallnöfer | 1 | -4/+6 | |
There is no reason to have the message non-const here. | |||||
2009-12-16 | s4-dsdb: added dsdb_get_deleted_objects_dn() | Andrew Tridgell | 1 | -0/+22 | |
This is based on the code from Eduardo Lima <eduardoll@gmail.com>, but uses the new helper functions added in the last couple of commits Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-16 | s4-dsdb: added dsdb_find_nc_root() | Andrew Tridgell | 1 | -0/+64 | |
This is based on the function of the same name from Eduardo Lima <eduardoll@gmail.com>, but using ldb_dn_compare, to give us comparisons consistent with what the rest of the code uses. We will use this function in combination with dsdb_wellknown_dn() to find the Deleted Objects container for any object. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-16 | s4-dsdb: added dsdb_wellknown_dn() | Andrew Tridgell | 1 | -0/+32 | |
This finds a wellknown object given its GUID Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-16 | s4-dsdb: added dsdb_dn_is_deleted_val() | Andrew Tridgell | 1 | -0/+14 | |
This is used to determine if a extedned DN has the 'DELETED=1' component Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-14 | s4-dsdb: return a zero guid on error in samdb_result_guid() | Andrew Tridgell | 1 | -1/+1 | |
2009-12-13 | s4:"samdb_set_password_sid" - clean up created objects correctly | Matthias Dieter Wallnöfer | 1 | -2/+14 | |
- We should clean up such "helper" objects created in this function to don't have them around until "mem_ctx" is destroyed - Remove a from my view pointless comment "This is a password set, not change" since an external argument "user_change" decides this ("modify" or "(re)set") | |||||
2009-12-10 | s4-dsdb: use GUID_to_ndr_blob() | Andrew Tridgell | 1 | -7/+3 | |
2009-12-10 | s4-dsdb: simplify samdb_result_guid() | Andrew Tridgell | 1 | -11/+4 | |
2009-12-10 | s4-dsdb: use GUID_from_ndr_blob() to create dsdb_get_extended_dn_guid() | Andrew Tridgell | 1 | -0/+14 | |
2009-12-09 | s4-dsdb: added dsdb_functional_level() helper function | Andrew Tridgell | 1 | -0/+16 | |
2009-12-07 | s4:dsdb Make parentGUID handler use dsdb_module_search_dn() | Andrew Bartlett | 1 | -58/+0 | |
This avoids doing a new search from the top of the module stack. This also removes the helper function dsdb_find_parentguid_by_dn() which is now unused. Andrew Bartlett | |||||
2009-12-04 | s4-drsutil: fixed a memory leak in samdb_search_count | Andrew Tridgell | 1 | -4/+5 | |
In general functions that don't return any memory should not take a memory context. Otherwise it is too easy to have a bug like this where memory is leaked | |||||
2009-11-24 | s4:dsdb Add function to return the CN=Aggregate schema DN | Andrew Bartlett | 1 | -0/+18 | |
2009-11-23 | s4/schema: Object(OR-Name) syntax handling for DRS calls | Kamen Mazdrashki | 2 | -2/+5 | |
OR-Name syntax through DRS calls looks like DN-Binary syntax | |||||
2009-11-20 | s4-drs: Utility functions to deal with GUID | Fernando J V da Silva | 1 | -0/+99 | |
dsdb_find_parentguid_by_dn() returns the parentGUID for a given DN dsdb_msg_add_guid() adds a GUID value to a given message (either objectGUID or parentGUID). Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-11-15 | s4:samdb util - add a call for generating a correct "lDAPDisplayName" | Matthias Dieter Wallnöfer | 1 | -0/+28 | |
This is needed for the SAMLDB module enhancement regarding schema objects. The algorithm in pseudo code is located in MS-ADTS 3.1.1.2.3.4. | |||||
2009-11-13 | s4-ldb: changed the DN checks for \n to warnings | Andrew Tridgell | 1 | -3/+6 | |
a \n is sometimes allowed in AD (eg in deleted DNs). Until we know when is really is allowed, treat it as a warning only. | |||||
2009-11-12 | s4:dsdb Add expected value tests for most DRS syntax conversions | Andrew Bartlett | 1 | -6/+6 | |
I've left out those for which I could not find an expected value in my default Windows 2003 server's database, and the values that rely on the current prefix map at the time. Andrew Bartlett | |||||
2009-11-12 | s4:dsdb Cosmetic fixes found by metze in review of dsdb_dn changes | Andrew Bartlett | 1 | -1/+2 | |
These changes include reworking the code to call ldb_module_get_ctx() less often (avoid the function calls, particularly during the step into a complex function). Andrew Bartlett | |||||
2009-11-12 | s4:dsdb Ensure we allow 'odd' lengths for DN+String | Andrew Bartlett | 1 | -5/+5 | |
(Found in a code review by metze) Andrew Bartlett | |||||
2009-11-12 | s4:dsdb Add extensive tests for the behaviour of dsdb_dn | Andrew Bartlett | 1 | -0/+357 | |
2009-11-12 | s4:dsdb Add new dsdb_dn to handle DN+Binary and DN+String | Andrew Bartlett | 2 | -0/+340 | |
This aims to replace (and is based on) the code in ldb_dn.c. It is however much stricter in the DNs it will accept. Andrew Bartlett | |||||
2009-11-07 | s4:dsdb/common/util - samdb_result_hashes - use "unsigned int" for counters | Matthias Dieter Wallnöfer | 1 | -2/+1 | |
2009-11-06 | s4:samdb_check_password - allow the password string to be NULL | Matthias Dieter Wallnöfer | 1 | -0/+1 | |
This deactivates the password complexity check, but not the minimum password length one, since the length is specified. This change is needed by my password module work. | |||||
2009-11-06 | s4:samdb_validate_password - Adapt the function to use the UNIX charset for ↵ | Matthias Dieter Wallnöfer | 1 | -20/+7 | |
the password data blob | |||||
2009-11-05 | s4:dsdb/common/util - Add a new utility function "samdb_check_password" | Matthias Dieter Wallnöfer | 1 | -9/+45 | |
This function performs basic password checks and will be used by the "samrValidatePassword" call and the "password_hash" module. | |||||
2009-11-05 | s4:samdb_set_password/samdb_set_password_sid - Better comments and cosmetics | Matthias Dieter Wallnöfer | 1 | -28/+34 | |
2009-10-18 | s4:sites - get the server site (name) from DSDB | Matthias Dieter Wallnöfer | 1 | -0/+10 | |
2009-10-15 | s4-dsdb: added samdb_rodc() and samdb_ntds_options() | Andrew Tridgell | 1 | -0/+50 | |
Later we will need to make samdb_rodc() look in the database, but for now we should at least have the function in a central place | |||||
2009-10-12 | s4:provision Remove all references to samba4LocalDomain | Andrew Bartlett | 1 | -1/+1 | |
This was a bad idea all along, as Simo said at the time. With the full MS schema and enforcement of it, it is an even worse idea. This fixes the provision of the member server in 'make test' Andrew Bartlett | |||||
2009-10-08 | s3/s4 - Adapt the IDL changes on various locations | Matthias Dieter Wallnöfer | 1 | -11/+14 | |
2009-10-02 | s4:samdb_set_password - Return the maximum password age when requested (not ↵ | Matthias Dieter Wallnöfer | 1 | -2/+3 | |
the minimum one) | |||||
2009-10-02 | s4:samdb_set_password - cosmetic fixes | Matthias Dieter Wallnöfer | 1 | -44/+58 | |