Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-11-04 | Move the checking of single valued attributes back into the tdb backend. | Andrew Tridgell | 1 | -12/+0 | |
The backend is the only place that can do this properly. It makes no sense to do it anywhere else. As a result of it moving out of the backend we ended up with some bugs causing multiple values in single valued attributes (eg. isDeleted), which can really damage the inregrity of the database. For the override of single valued values needed for deleted linked attributes we should use attribute flags. This reverts commit 1949864417f3d10fb8996df7db259649eb777271. | |||||
2010-11-03 | urgent_replication: Fix formatting | Jelmer Vernooij | 1 | -33/+33 | |
2010-11-03 | possibleinferiors: Report subunit. | Jelmer Vernooij | 1 | -4/+8 | |
2010-11-03 | possibleinferiors: Fix formatting. | Jelmer Vernooij | 1 | -15/+14 | |
2010-11-03 | s4:dsdb/samldb: avoid nested unindexed searches in samldb_member_check() | Stefan Metzmacher | 1 | -14/+31 | |
With 20000 objects in the database it's no fun to add members... metze | |||||
2010-11-03 | s4:dsdb/tests/python/sam.py: test with member: <SID=...> | Stefan Metzmacher | 1 | -0/+16 | |
metze | |||||
2010-11-03 | s4:descriptor LDB module - a bit cleanup | Matthias Dieter Wallnöfer | 1 | -13/+34 | |
- add more OOM checks where needed - remove message of an error which cannot happen anymore (since now the structural objectclass is always checked by the objectclass LDB module) Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 3 18:30:52 UTC 2010 on sn-devel-104 | |||||
2010-11-03 | s4:sam.py - assign valid values when performing the special-attributes ↵ | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
constraint checks The problem is that s4 per construction does the checks in a different order. It first checks for validity (pre-operation trigger in samldb LDB module) and then for the schema (post-operation trigger in objectclass_attrs LDB module). constraints (post-operation trigger | |||||
2010-11-03 | s4:samldb LDB module - improve the "get_single_valued_attr" call and move it ↵ | Matthias Dieter Wallnöfer | 2 | -84/+36 | |
into "ldb_modules/util.c" It will be used by other LDB modules as well. | |||||
2010-11-03 | s4:objectclass_attrs LDB module - introduce the hardcoded delete-protected ↵ | Matthias Dieter Wallnöfer | 1 | -1/+19 | |
attributes list This is a hardcoded list in AD of attributes, which can never be deleted. | |||||
2010-11-03 | pydsdb: Import testtools before subunit for those that don't have | Jelmer Vernooij | 9 | -32/+19 | |
testtools installed. Also, cleanup some imports. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Nov 3 17:47:55 UTC 2010 on sn-devel-104 | |||||
2010-11-03 | s4:objectclass LDB module - the structural objectclass has always to be ↵ | Matthias Dieter Wallnöfer | 2 | -0/+25 | |
specified Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 3 16:20:55 UTC 2010 on sn-devel-104 | |||||
2010-11-03 | s4:objectclass_attrs LDB module - refactor the "dSHeuristics" checker | Matthias Dieter Wallnöfer | 1 | -12/+9 | |
The checks are done when there are more than 0 values. The other checks should be performed by the other parts of the module. | |||||
2010-11-03 | s4:objectclass_attrs LDB module - simplify the invoke of the "dSHeuristics" ↵ | Matthias Dieter Wallnöfer | 1 | -3/+4 | |
checker It's always invoked on add and modify operations. | |||||
2010-11-03 | s4-tests: Tests for the dSHeuristics attribute value restrictions | Nadezhda Ivanova | 1 | -0/+41 | |
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Nov 3 13:58:42 UTC 2010 on sn-devel-104 | |||||
2010-11-03 | s4-dsdb: Implemented value restrictions for the dSHeuristics attribute | Nadezhda Ivanova | 1 | -1/+27 | |
2010-11-03 | s4:objectguid LDB module - remove "objectguid_find_attribute" | Matthias Dieter Wallnöfer | 1 | -17/+1 | |
It's exactly the same as "ldb_msg_find_element". In addition remove a comment which points out a "fixme" for a semi-async call since we started to permit them again. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 3 09:29:46 UTC 2010 on sn-devel-104 | |||||
2010-11-03 | s4-dsdb: removed the use of ldb_private.h from s4 | Andrew Tridgell | 9 | -121/+55 | |
this will allow s4 to use a system version of ldb | |||||
2010-11-01 | s4:samldb LDB module - the "sAMAccountName" cannot be substituted by nothing | Matthias Dieter Wallnöfer | 2 | -2/+29 | |
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Nov 1 14:36:24 UTC 2010 on sn-devel-104 | |||||
2010-11-01 | s4:sam.py - additional testing for "servicePrincipalName" updates | Matthias Dieter Wallnöfer | 1 | -12/+207 | |
2010-11-01 | s4:samldb LDB module - support now the full "servicePrincipalName" update ↵ | Matthias Dieter Wallnöfer | 1 | -30/+96 | |
trigger With "dNSHostName" and/or "sAMAccountName" updates | |||||
2010-11-01 | s4:samldb LDB module - "sAMAccountName" checker | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
We need a "talloc_steal" for the retrieved "sAMAccountName" since the memory is afterwards freed using the "talloc_free" call. | |||||
2010-11-01 | s4-ldb: enable version checking in dsdb ldb modules | Andrew Tridgell | 39 | -2/+42 | |
2010-11-01 | s4:ldap.py/sam.py - simplify the objectclass specifications | Matthias Dieter Wallnöfer | 2 | -39/+39 | |
- For user accounts we only need to specify "user" ("person" is an inherited objectclass) - Don't use the brackets when we have only one objectclass specified | |||||
2010-11-01 | s4:sam.py - test "objectSid" modification lockdown | Matthias Dieter Wallnöfer | 1 | -0/+28 | |
2010-11-01 | s4:samldb LDB module - unify objectSid assignment error messages | Matthias Dieter Wallnöfer | 1 | -3/+2 | |
2010-11-01 | s4:samldb LDB module - deny "objectSid" modifications | Matthias Dieter Wallnöfer | 1 | -0/+7 | |
The same as with Windows | |||||
2010-11-01 | s4-dsdb: convert the rest of the ldb modules to the new module type | Andrew Tridgell | 40 | -77/+298 | |
2010-11-01 | s4-dsdb: convert the simple_ldap_map module to the new module style | Andrew Tridgell | 2 | -9/+26 | |
2010-11-01 | s4-dsdb: convert the extended_dn_out module to the new ldb module style | Andrew Tridgell | 2 | -10/+31 | |
2010-11-01 | s4-dsdb_schema: Use DRSUAPI_ATTID_INVALID instead of 0xFFFFFFFF magic value | Kamen Mazdrashki | 2 | -28/+28 | |
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Nov 1 00:36:20 UTC 2010 on sn-devel-104 | |||||
2010-10-31 | idl: Use DRSUAPI_ATTID_ prefix instead of DRSUAPI_ATTRIBUTE_ for ATTID values | Kamen Mazdrashki | 5 | -63/+63 | |
Those values are actually ATTID values and such, they are used for ATTIDs for Attributes, Classes and Syntaxes. | |||||
2010-10-31 | s4:sam.py - test the "sAMAccountName" attribute | Matthias Dieter Wallnöfer | 1 | -0/+59 | |
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 31 21:02:48 UTC 2010 on sn-devel-104 | |||||
2010-10-31 | s4:samldb LDB module - validate "sAMAccountName" modifications | Matthias Dieter Wallnöfer | 1 | -0/+74 | |
Also the "sAMAccountName" attribute is protected against corruption (e.g. two accounts with the same name). | |||||
2010-10-31 | s4:dsdb/dns/dns_update.c - increase the timeout for the SPN and DNS update ↵ | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
scripts Sometimes it can take longer than 10 sec. | |||||
2010-10-31 | s4:sam.py - add a test for the "dNSHostName" - "servicePrincipalName" update ↵ | Matthias Dieter Wallnöfer | 1 | -1/+151 | |
mechanism | |||||
2010-10-31 | s4:samldb LDB module - implement the "dNSHostName" - "servicePrincipalName" ↵ | Matthias Dieter Wallnöfer | 1 | -0/+155 | |
change trigger When the "dNSHostName" changes then also the "servicePrincipalName"s are changed as well. | |||||
2010-10-31 | s4:samldb LDB module - check for the number of results after a search operation | Matthias Dieter Wallnöfer | 1 | -0/+3 | |
Should always be done. | |||||
2010-10-31 | s4: Remove the old perl/m4/make/mk-based build system. | Jelmer Vernooij | 2 | -582/+0 | |
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104 | |||||
2010-10-30 | s4:samldb LDB module - make the "userAccountControl" and "groupType" modify ↵ | Matthias Dieter Wallnöfer | 1 | -122/+173 | |
handlers separate functions It's easier to maintain afterwards Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 30 19:07:20 UTC 2010 on sn-devel-104 | |||||
2010-10-30 | s4:samldb LDB module - add a new function which handles special cases for ↵ | Matthias Dieter Wallnöfer | 1 | -28/+51 | |
single-valued attribute on SAM modifications This saves quiet some work. | |||||
2010-10-30 | s4:samldb LDB module - primary group change - free temporary messages to ↵ | Matthias Dieter Wallnöfer | 1 | -2/+4 | |
save memory | |||||
2010-10-30 | s4:sam.py - add a short double swap "primaryGroupID" test | Matthias Dieter Wallnöfer | 1 | -0/+9 | |
It's not really meaningful but can happen. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 30 18:15:31 UTC 2010 on sn-devel-104 | |||||
2010-10-30 | s4:samldb LDB module - adapt the "samldb_prim_group_change" trigger to ↵ | Matthias Dieter Wallnöfer | 1 | -10/+55 | |
support multiple "primaryGroupID" modification entries | |||||
2010-10-30 | s4:sam.py - enhance "member" tests | Matthias Dieter Wallnöfer | 1 | -0/+35 | |
2010-10-30 | s4:samldb LDB module - "member" trigger | Matthias Dieter Wallnöfer | 1 | -38/+69 | |
- adapt the "samldb_member_check" trigger to support multiple "member" modification entries. There can exist special modification messages which delete and add members in one operation - support the right error codes when modifications do fail (ERR_ENTRY_ALREADY_EXISTS, ERR_UNWILLING_TO_PERFORM) | |||||
2010-10-30 | s4:local_password LDB module - fix typos | Matthias Dieter Wallnöfer | 1 | -6/+6 | |
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 30 15:41:46 UTC 2010 on sn-devel-104 | |||||
2010-10-30 | s4:resolve_oids LDB module - fix counter types | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2010-10-30 | s4:partition_init LDB module - fix counter type | Matthias Dieter Wallnöfer | 1 | -2/+4 | |
2010-10-30 | s4:extended_dn_store LDB module - fix counter types | Matthias Dieter Wallnöfer | 1 | -2/+2 | |