Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-26 | s4:provision: move Samba4 specific DNS stuff to its own file | Stefan Metzmacher | 1 | -1/+8 | |
metze | |||||
2010-06-26 | s4:provision: add --next-rid option | Stefan Metzmacher | 1 | -2/+13 | |
Make it possible to provision a domain with a given next rid counter. This will be useful for upgrades, where we want to import users with already given SIDs. metze | |||||
2010-06-26 | s4:provision: don't use hardcoded values for 'nextRid' and 'rIDAvailablePool' | Stefan Metzmacher | 1 | -3/+11 | |
On Windows dcpromo imports nextRid from the local SAM, which means it's not hardcoded to 1000. The initlal rIDAvailablePool starts at nextRid + 100. I also found that the RID Set of the local dc should be created via provision and not at runtime, when the first rid is needed. (Tested with dcpromo on w2k8r2, while disabling the DNS check box). After provision we should have this (assuming nextRid=1000): rIDAllocationPool: 1100-1599 rIDPrevAllocationPool: 1100-1599 rIDUsedPool: 0 rIDNextRID: 1100 rIDAvailablePool: 1600-1073741823 Because provision sets rIDNextRid=1100, the first created account (typically DNS related accounts) will get 1101 as rid! metze | |||||
2010-06-26 | s4:provision: pass relax control also to modify_ldif | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2010-06-25 | s4 python: Add unit tests related to PyLong/PyInt handling | Matthieu Patou | 1 | -2/+11 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-25 | s4 upgradeprovision: Try to support older Pythons. | Michael Wood | 1 | -1/+1 | |
Use "...".split(sep, 1) instead of "...".partition(sep). Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> | |||||
2010-06-24 | s4-python: python is not always in /usr/bin | Andrew Tridgell | 53 | -53/+53 | |
Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-23 | Fix to undo nasty hack for for grouptype conversion | Lukasz Zalewski | 1 | -1/+1 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-23 | s4:net Remove warnings for 2000 native mode and Samba4. | Andrew Bartlett | 1 | -5/+5 | |
We now support 2000 native mode, and so we just need to warn about mixed mode. Andrew Bartlett | |||||
2010-06-23 | s4:provision Raise default max functional level to 2008R2 | Andrew Bartlett | 1 | -3/+3 | |
We don't support many of the extra features, but that applies across many other parts of AD. Allow the admin to join a 2008R2 domain if he or she wants. This also makes it possible to test 2008R2 domain code in 'make test' Andrew Bartlett | |||||
2010-06-23 | s4:provision Remove am_rodc from Schema | Andrew Bartlett | 2 | -5/+5 | |
The SamDB created in the schema code isn't real enough to care if it's an rodc or not. | |||||
2010-06-23 | libds:common Remove DS_DC_* domain functionality flags | Andrew Bartlett | 2 | -11/+7 | |
These are just a subset of the DS_DOMAIN_ functionality flags, are compared and often confused with each other. Just make them one set. Andrew Bartlett | |||||
2010-06-20 | s4:python LDB __init__.py - remove completely unused "erase_partitions" call | Matthias Dieter Wallnöfer | 2 | -36/+0 | |
Seems to be a relict from the past. | |||||
2010-06-20 | provision: Look for Samba prefix a bit harder. | Jelmer Vernooij | 1 | -4/+6 | |
2010-06-20 | pydsdb: Mark all SamDB and Schema methods that are in pydsdb as | Jelmer Vernooij | 3 | -17/+17 | |
private, to discourage them being called directly. | |||||
2010-06-20 | provision: Properly cancel transactions on the secrets ldb. | Jelmer Vernooij | 1 | -122/+131 | |
2010-06-20 | s4-python: Remove more unused imports, fix use of sets in upgradehelpers. | Jelmer Vernooij | 1 | -2/+2 | |
2010-06-20 | Use standard Python syntax, booleans and set()'s where appropriate. | Jelmer Vernooij | 3 | -23/+28 | |
2010-06-20 | Remove unnecessary use of transactions. | Jelmer Vernooij | 1 | -11/+3 | |
2010-06-20 | ldb: Remove last import of dsdb. | Jelmer Vernooij | 1 | -12/+0 | |
2010-06-20 | Some more formatting fixes, move schema related functions from Ldb to Schema. | Jelmer Vernooij | 5 | -35/+31 | |
2010-06-20 | Move convert_to_openldap onto Schema class. | Jelmer Vernooij | 3 | -5/+7 | |
2010-06-20 | Formatting cleanups; use True/False for booleans, unnecessary backslashes, ↵ | Jelmer Vernooij | 5 | -61/+78 | |
spacing. | |||||
2010-06-20 | Move a few more samdb-specific methods to SamDB, away from Ldb. | Jelmer Vernooij | 1 | -13/+1 | |
2010-06-20 | samdb: Fix formatting, move get_oid_from_attid from Ldb to SamDB. | Jelmer Vernooij | 3 | -22/+20 | |
2010-06-20 | s4-python: Remove trivial function, replace by dictionary. | Jelmer Vernooij | 2 | -36/+3 | |
2010-06-20 | Modifications extending functionality of newuser cmd and new net group set ↵ | Lukasz Zalewski | 2 | -60/+63 | |
of commands for group related operations on ldb Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Modifications extending functionality of newuser cmd and new net group set ↵ | Lukasz Zalewski | 4 | -8/+439 | |
of commands for group related operations on ldb Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: Make grouped commit / rollback more resistant to ↵ | Matthieu Patou | 1 | -13/+42 | |
unexpected problems Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: Check that the policy for DC is present if not warn the ↵ | Matthieu Patou | 1 | -0/+24 | |
user Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: Emit message instead of crashing when not able to set acl | Matthieu Patou | 1 | -4/+10 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 unittests: add unit tests for upgradehelpers | Matthieu Patou | 2 | -4/+19 | |
The functions tested are: * construct_existor_expr * search_constructed_attrs_stored Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: Add function for searching stored constructed attributes | Matthieu Patou | 1 | -0/+51 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: additional restyling | Matthieu Patou | 1 | -31/+42 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: Move functions to helpers and improve code | Matthieu Patou | 3 | -99/+444 | |
Among code improvement the most significant part is that we now compare DN object instead of their string representation. It allow to better react to case an white space difference. Some new move objects have been added (ie. System into well known security principals). This will allow more unittesting Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 python: Update unit tests related to create secrets | Matthieu Patou | 1 | -0/+13 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4: Add comments about setup_secrets | Matthieu Patou | 1 | -0/+2 | |
Comments are to inform people that this function should not handle transaction within the function as it is mainly used in provision and that we want to commit secrets only if all the action on secrets have worked. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 python: Add unit tests for upgradeprovision related stuff | Matthieu Patou | 1 | -0/+161 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: move some functions to upgradehelpers for unit tests | Matthieu Patou | 1 | -1/+141 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 Add functions related to ldb manipulation when doing upgrade | Matthieu Patou | 1 | -17/+83 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 provision: Add information about provisioned usn range in sam.ldb | Matthieu Patou | 1 | -0/+96 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-19 | python: Use samba.tests.TestCase, make sure base class tearDown and | Jelmer Vernooij | 14 | -32/+42 | |
setUp methods are called, fix formatting. | |||||
2010-06-19 | samba.tests.samba3: Clean up imports, use new TestCase class. | Jelmer Vernooij | 1 | -13/+38 | |
2010-06-19 | ntacls: Raise TestSkipped rather than writing to stdout. | Jelmer Vernooij | 1 | -16/+15 | |
2010-06-19 | samba.tests: Provide TestCase and TestSkipped classes (from testtools) for ↵ | Jelmer Vernooij | 1 | -6/+9 | |
convenience. | |||||
2010-06-19 | python: Remove unnecessary Ldb.set_invocation_id - use ↵ | Jelmer Vernooij | 1 | -7/+0 | |
SamDB.set_invocation_id instead. | |||||
2010-06-19 | pyglue: Trim dependencies. | Jelmer Vernooij | 1 | -1/+1 | |
2010-06-19 | pyglue: Remove unused code. | Jelmer Vernooij | 1 | -27/+5 | |
2010-06-19 | pydsdb: Move write_prefixes_from_schema_to_ldb to pydsdb from pyglue. | Jelmer Vernooij | 2 | -27/+1 | |
2010-06-19 | pydsdb: Move dsdb_set_schema_from_ldb to pydsdb. | Jelmer Vernooij | 2 | -49/+1 | |