summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/schema.py
AgeCommit message (Collapse)AuthorFilesLines
2012-09-27s4-python: Various formatting fixes.Jelmer Vernooij1-4/+4
* Trailing whitespace * use of "==" where "is" should be used * double spaces
2012-02-25Partially revert 1f0298dd1b1a939cb215e7b474178b217f8347f4Jelmer Vernooij1-1/+1
It's fine to catch keyboard interrupts and other kinds of errors when it's done just for resource management, where the error is reraised later. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Feb 25 17:29:34 CET 2012 on sn-devel-104
2011-11-15s4:dsdb/pydsdb: pass down schema_dn to _dsdb_set_schema_from_ldif()Stefan Metzmacher1-1/+1
metze
2011-11-15s4:python/samba/schema: pass down the schema_dn to set_from_ldif()Stefan Metzmacher1-3/+3
metze
2011-02-07s4-provision Remove setup_path, setup_dir and find_setup_dirAndrew Bartlett1-11/+7
We now have a reliable way to know the current location of the templates: dyn_SETUPDIR, which is updated for both the in-build and installed binaries. This replaces the function arguments and the distributed resolution of the setup directory with one 'global' function (imported as required). This also removes the ability to specify an alternate setup directory on the command line, as this was rarely if ever used and never tested. Andrew Bartlett
2010-11-29s4-samba-tool: fixed exception handling in subcommandsAndrew Tridgell1-1/+1
this switches to the new pattern of: except Exception, e: raise CommandError("some error message", e)
2010-11-28s4-python: Some reformatting for the purpose of pydoctor.Jelmer Vernooij1-1/+2
2010-11-28s4-python: Fix formatting of docstrings for the purpose of pydoctor.Jelmer Vernooij1-13/+17
2010-10-23s4:schema.py - reformat and fix the security descriptorMatthias Dieter Wallnöfer1-14/+23
- Now it matches Windows's order - It contained a superfluous entry (an "Administrator" user grant)
2010-10-19s4-provision Remove serverdn parameter from Schema()Andrew Bartlett1-7/+3
We don't need to know the server DN here any more, and it makes no sense for many callers. Andrew Bartlett
2010-06-23s4:provision Remove am_rodc from SchemaAndrew Bartlett1-2/+3
The SamDB created in the schema code isn't real enough to care if it's an rodc or not.
2010-06-20pydsdb: Mark all SamDB and Schema methods that are in pydsdb asJelmer Vernooij1-2/+2
private, to discourage them being called directly.
2010-06-20Some more formatting fixes, move schema related functions from Ldb to Schema.Jelmer Vernooij1-1/+4
2010-06-20Move convert_to_openldap onto Schema class.Jelmer Vernooij1-0/+5
2010-06-15s4:provision Allow a specific prefix map to be loaded into a new schema ↵Andrew Bartlett1-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-12s4:provision Allow both additional and override prefixmaps in SchemaAndrew Bartlett1-4/+7
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-11s4-python: Fix formatting.Jelmer Vernooij1-4/+3
2010-05-17s4-rodc: Set am_rodc flag during provisionAnatoliy Atanasov1-2/+2
2010-04-20s4:provision Pass in the invoication ID and NTDS Settings DN to Schema()Andrew Bartlett1-3/+9
By putting these values into the cache on the LDB, this reduces some of the noise in provision, particularly with the LDAP backend. Andrew Bartlett
2010-04-08s4-python: Cancel transaction properly in case of exceptions, fix formatting.Jelmer Vernooij1-29/+33
2010-03-01General cleanups of python code, hinted by pyflakes.Jelmer Vernooij1-1/+1
2010-01-09s4-schema: fixed the SDDL for the schema root security descriptorAndrew Tridgell1-10/+14
This was preventing a DCPROMO client from allowing outgoing replication
2010-01-08s4-schema: switch to W2K8-R2 schemaAndrew Tridgell1-2/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2009-11-28s4: fix SD update and password change in upgrade scriptMatthieu Patou1-2/+2
- reserve a new Samba OID for recalculate SD control - fix the update SD function - fix handling of kvno in the update_machine_account_password function - fix handling of handles in RPC winreg server Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-11-16s4:provision - Removed dependency on full Samba 3 schema from FDSEndi S. Dewata1-5/+14
2009-11-12s4:provision Add C binding to get at the generate schemaAndrew Bartlett1-0/+23
This will allow us to do local tests against that schema
2009-11-12s4:provision Remove unused 'sambadn' parameterAndrew Bartlett1-1/+1
2009-11-02s4:provision Move 'Schema' into it's own fileAndrew Bartlett1-0/+140