Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-20 | s4 upgradeprovision: Move functions to helpers and improve code | Matthieu Patou | 4 | -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> | |||||
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 upgradeprovision: Add documentation on the update process | Matthieu Patou | 1 | -9/+162 | |
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 | 2 | -130/+154 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: Fix style | Matthieu Patou | 1 | -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> | |||||
2010-06-20 | s4 upgradeprovision: Use replPropertyMetaData for better guess | Matthieu Patou | 1 | -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> | |||||
2010-06-20 | s4 upgradeprovision: Reformat attributes lists and reformat parser | Matthieu Patou | 1 | -17/+33 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: Inform about new dns dynamic update if the provision ↵ | Matthieu Patou | 1 | -3/+41 | |
didn't have it Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: fix style | Matthieu Patou | 1 | -76/+123 | |
add_deletedobj_containers add missing objects clean add-mising handle special add + dump denied Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgrade provision: Refactor code to do all the modification within 1 ↵ | Matthieu Patou | 1 | -308/+413 | |
transaction Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgrade provision: Fix style in gen_dn_index | Matthieu Patou | 1 | -2/+1 | |
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 | |
2010-06-19 | pydsdb: Move set_schema_from_ldif function to pydsdb from pyglue. | Jelmer Vernooij | 2 | -19/+1 | |
2010-06-19 | s4:provision: don't use hardcoded 'Default-First-Site-Name' | Stefan Metzmacher | 1 | -2/+2 | |
metze Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> | |||||
2010-06-19 | s4:python/samba/__init__.py - now specify the "relax" control for the delete ↵ | Matthias Dieter Wallnöfer | 1 | -5/+5 | |
operation before the provision | |||||
2010-06-19 | s4-python: Use sys.prefix rather than guessing prefix from current | Jelmer Vernooij | 1 | -7/+6 | |
file path. | |||||
2010-06-19 | waf: Add missing dependency (so header paths are inherited) on talloc to ↵ | Jelmer Vernooij | 1 | -0/+1 | |
internal python lib. | |||||
2010-06-18 | s4: Don't build a $prefix/lib/libpython.so, as such a library often already ↵ | Jelmer Vernooij | 1 | -1/+2 | |
exists :-) | |||||
2010-06-18 | s4-waf: Don't include pytalloc when embedding python. | Jelmer Vernooij | 1 | -1/+0 | |
2010-06-18 | s4: Build more python convenience files as subsystems rather than as python ↵ | Jelmer Vernooij | 1 | -2/+3 | |
modules. | |||||
2010-06-16 | s4:provision.py - we do now support the "Windows 2000 Native" domain ↵ | Matthias Dieter Wallnöfer | 1 | -3/+0 | |
function level | |||||
2010-06-15 | Attempt to fix SamDB test infrastructure (not used in Samba anywhere, only ↵ | Jelmer Vernooij | 2 | -21/+25 | |
in OpenChange). | |||||
2010-06-15 | s4:provision Allow a specific prefix map to be loaded into a new schema ↵ | Andrew Bartlett | 1 | -2/+3 | |
provision This allows the prefixMap from a DRS server to be used when loading the schema from the local files. This helps us then import other schema with this map in place. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org> | |||||
2010-06-14 | s4:provision: Make gc._msdcs DNS entries A/AAAA records | Andrew Kroeger | 1 | -0/+6 | |
When adding an additional DC as a GC server, the new DC attempts to register its own gc._msdcs records. If the existing gc._msdcs record is a CNAME, BIND fails the update with the message "attempt to add non-CNAME alongside CNAME ignored", and the new DC is not registered as a GC server. The A & AAAA record types for gc._msdcs have been verified against the DNS server of a W2K8 DC. | |||||
2010-06-13 | s4-provision: Use logger in provision backends. | Jelmer Vernooij | 2 | -42/+38 | |
2010-06-13 | s4-test: Use smb.conf path set in environment rather than using | Jelmer Vernooij | 5 | -17/+20 | |
command-line options. This is the first step towards supporting custom test runners. | |||||
2010-06-13 | Remove unused version options for subunitrun. | Jelmer Vernooij | 1 | -1/+0 | |
2010-06-13 | upgradeprovision: Use logging infrastructure. | Jelmer Vernooij | 2 | -18/+21 | |
2010-06-13 | upgrade: Properly cancel/commit transactions in a couple more places. | Jelmer Vernooij | 2 | -123/+136 | |
2010-06-13 | s4-python: Start using standard python logging infrastructure rather | Jelmer Vernooij | 6 | -97/+97 | |
than simple messaging callbacks. | |||||
2010-06-12 | s4:provision Allow both additional and override prefixmaps in Schema | Andrew Bartlett | 2 | -5/+8 | |
The idea here is to allow some callers to specify a new prefixMap that will override the values loaded from the prefixMap.txt. Andrew Bartlett | |||||
2010-06-11 | Add missing stub functions. | Jelmer Vernooij | 1 | -0/+9 | |
2010-06-11 | s4-python: Fix formatting. | Jelmer Vernooij | 7 | -133/+176 | |
2010-06-06 | s4:provision - fix typo in substitution variable | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-05-31 | ldb: Fix dependencies when building with system ldb. | Jelmer Vernooij | 1 | -1/+1 | |
2010-05-31 | s4-python: Remove cruft to deal with static python modules, which are no | Jelmer Vernooij | 2 | -41/+0 | |
longer supported. | |||||
2010-05-28 | s4:scripting/python/modules.c - fix "asprintf" calls | Matthias Dieter Wallnöfer | 1 | -2/+6 | |
2010-05-19 | pynet: Raise proper exceptions rather than invoking sys.exit. | Jelmer Vernooij | 2 | -8/+6 | |