summaryrefslogtreecommitdiffstats
path: root/source4/scripting
Commit message (Collapse)AuthorAgeFilesLines
...
* testparm: Fix exit value, install.Jelmer Vernooij2010-06-202-14/+21
|
* s4-python: Implement LoadParm.dump().Jelmer Vernooij2010-06-201-1/+1
|
* testparm: Split up functions that do multiple things.Jelmer Vernooij2010-06-201-40/+33
|
* testparm: Convert to Python.Jelmer Vernooij2010-06-201-0/+204
|
* s4-python: Remove more unused imports, fix use of sets in upgradehelpers.Jelmer Vernooij2010-06-203-9/+5
|
* Use standard Python syntax, booleans and set()'s where appropriate.Jelmer Vernooij2010-06-203-23/+28
|
* Remove unnecessary use of transactions.Jelmer Vernooij2010-06-201-11/+3
|
* ldb: Remove last import of dsdb.Jelmer Vernooij2010-06-201-12/+0
|
* Some more formatting fixes, move schema related functions from Ldb to Schema.Jelmer Vernooij2010-06-206-39/+36
|
* Move convert_to_openldap onto Schema class.Jelmer Vernooij2010-06-203-5/+7
|
* Formatting cleanups; use True/False for booleans, unnecessary backslashes, ↵Jelmer Vernooij2010-06-206-122/+141
| | | | spacing.
* Move a few more samdb-specific methods to SamDB, away from Ldb.Jelmer Vernooij2010-06-201-13/+1
|
* samdb: Fix formatting, move get_oid_from_attid from Ldb to SamDB.Jelmer Vernooij2010-06-203-22/+20
|
* s4-python: Remove trivial function, replace by dictionary.Jelmer Vernooij2010-06-203-40/+14
|
* Modifications extending functionality of newuser cmd and new net group set ↵Lukasz Zalewski2010-06-202-60/+63
| | | | | | of commands for group related operations on ldb Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Modifications extending functionality of newuser cmd and new net group set ↵Lukasz Zalewski2010-06-204-8/+439
| | | | | | of commands for group related operations on ldb Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgradeprovision: Make grouped commit / rollback more resistant to ↵Matthieu Patou2010-06-201-13/+42
| | | | | | unexpected problems Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgradeprovision: Check that the policy for DC is present if not warn the ↵Matthieu Patou2010-06-202-4/+38
| | | | | | user Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgradeprovision: Emit message instead of crashing when not able to set aclMatthieu Patou2010-06-201-4/+10
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgradeprovision: add an option to force the rebuilding of FS ACLs on ↵Matthieu Patou2010-06-201-1/+6
| | | | | | sysvols share Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 unittests: add unit tests for upgradehelpersMatthieu Patou2010-06-202-4/+19
| | | | | | | | The functions tested are: * construct_existor_expr * search_constructed_attrs_stored Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgradeprovision: Add function for searching stored constructed attributesMatthieu Patou2010-06-201-0/+51
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgradeprovision: additional restylingMatthieu Patou2010-06-201-31/+42
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgradeprovision: Restyle importsMatthieu Patou2010-06-201-15/+15
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgradeprovision: Move functions to helpers and improve codeMatthieu Patou2010-06-204-296/+492
| | | | | | | | | | | | 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>
* s4 python: Update unit tests related to create secretsMatthieu Patou2010-06-201-0/+13
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4: Add comments about setup_secretsMatthieu Patou2010-06-201-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>
* s4 upgradeprovision: Add documentation on the update processMatthieu Patou2010-06-201-9/+162
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 python: Add unit tests for upgradeprovision related stuffMatthieu Patou2010-06-201-0/+161
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgradeprovision: move some functions to upgradehelpers for unit testsMatthieu Patou2010-06-202-130/+154
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgradeprovision: Fix styleMatthieu Patou2010-06-201-85/+137
| | | | | | | | | | | | reformat *_update_samdb functions fix_partition_sd rebuild_sd update_samdb update_privilege update_machine_account_password update_gpo Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgradeprovision: Use replPropertyMetaData for better guessMatthieu Patou2010-06-201-179/+565
| | | | | | | | | | | | Rework upgradeprovision in order to get more precise updates when doing upgrade provision. This is done through the use of replPropertyMetaData information and raw information revealed by the "reveal" control. The code has been changed also to avoid double free error when changing the schema (for old provision). Checking of SD is done a bit more cleverly as we compare the different parts for an ACL separately. Fix logic when upgrading provision without replPropertyMetaData infos Also for old provision (pre alpha9) do not copy the usn range because data here will be wrong Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgradeprovision: Reformat attributes lists and reformat parserMatthieu Patou2010-06-201-17/+33
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgradeprovision: Inform about new dns dynamic update if the provision ↵Matthieu Patou2010-06-201-3/+41
| | | | | | didn't have it Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgradeprovision: fix styleMatthieu Patou2010-06-201-76/+123
| | | | | | | | | add_deletedobj_containers add missing objects clean add-mising handle special add + dump denied Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgrade provision: Refactor code to do all the modification within 1 ↵Matthieu Patou2010-06-201-308/+413
| | | | | | transaction Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgrade provision: Fix style in gen_dn_indexMatthieu Patou2010-06-201-2/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 Add functions related to ldb manipulation when doing upgradeMatthieu Patou2010-06-201-17/+83
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 provision: Add information about provisioned usn range in sam.ldbMatthieu Patou2010-06-201-0/+96
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij2010-06-1914-32/+42
| | | | setUp methods are called, fix formatting.
* samba.tests.samba3: Clean up imports, use new TestCase class.Jelmer Vernooij2010-06-191-13/+38
|
* ntacls: Raise TestSkipped rather than writing to stdout.Jelmer Vernooij2010-06-191-16/+15
|
* samba.tests: Provide TestCase and TestSkipped classes (from testtools) for ↵Jelmer Vernooij2010-06-191-6/+9
| | | | convenience.
* python: Remove unnecessary Ldb.set_invocation_id - use ↵Jelmer Vernooij2010-06-191-7/+0
| | | | SamDB.set_invocation_id instead.
* pyglue: Trim dependencies.Jelmer Vernooij2010-06-191-1/+1
|
* pyglue: Remove unused code.Jelmer Vernooij2010-06-191-27/+5
|
* pydsdb: Move write_prefixes_from_schema_to_ldb to pydsdb from pyglue.Jelmer Vernooij2010-06-192-27/+1
|
* pydsdb: Move dsdb_set_schema_from_ldb to pydsdb.Jelmer Vernooij2010-06-192-49/+1
|
* pydsdb: Move set_schema_from_ldif function to pydsdb from pyglue.Jelmer Vernooij2010-06-192-19/+1
|
* s4:provision: don't use hardcoded 'Default-First-Site-Name'Stefan Metzmacher2010-06-191-2/+2
| | | | | | metze Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>