summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/schema.py
Commit message (Collapse)AuthorAgeFilesLines
* Move python modules from source4/scripting/python/ to python/.Jelmer Vernooij2013-03-021-204/+0
| | | | | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Mar 2 03:57:34 CET 2013 on sn-devel-104
* schema.py: add optional name_map={} to get_schema_descriptor()Stefan Metzmacher2013-01-271-1/+1
| | | | | | | | This is not used, but makes the prototype compatible with the other get_*_descriptor() functions. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s4-python: Various formatting fixes.Jelmer Vernooij2012-09-271-4/+4
| | | | | | * Trailing whitespace * use of "==" where "is" should be used * double spaces
* Partially revert 1f0298dd1b1a939cb215e7b474178b217f8347f4Jelmer Vernooij2012-02-251-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
* s4:dsdb/pydsdb: pass down schema_dn to _dsdb_set_schema_from_ldif()Stefan Metzmacher2011-11-151-1/+1
| | | | metze
* s4:python/samba/schema: pass down the schema_dn to set_from_ldif()Stefan Metzmacher2011-11-151-3/+3
| | | | metze
* s4-provision Remove setup_path, setup_dir and find_setup_dirAndrew Bartlett2011-02-071-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
* s4-samba-tool: fixed exception handling in subcommandsAndrew Tridgell2010-11-291-1/+1
| | | | | | | this switches to the new pattern of: except Exception, e: raise CommandError("some error message", e)
* s4-python: Some reformatting for the purpose of pydoctor.Jelmer Vernooij2010-11-281-1/+2
|
* s4-python: Fix formatting of docstrings for the purpose of pydoctor.Jelmer Vernooij2010-11-281-13/+17
|
* s4:schema.py - reformat and fix the security descriptorMatthias Dieter Wallnöfer2010-10-231-14/+23
| | | | | - Now it matches Windows's order - It contained a superfluous entry (an "Administrator" user grant)
* s4-provision Remove serverdn parameter from Schema()Andrew Bartlett2010-10-191-7/+3
| | | | | | | We don't need to know the server DN here any more, and it makes no sense for many callers. Andrew Bartlett
* s4:provision Remove am_rodc from SchemaAndrew Bartlett2010-06-231-2/+3
| | | | | The SamDB created in the schema code isn't real enough to care if it's an rodc or not.
* pydsdb: Mark all SamDB and Schema methods that are in pydsdb asJelmer Vernooij2010-06-201-2/+2
| | | | private, to discourage them being called directly.
* Some more formatting fixes, move schema related functions from Ldb to Schema.Jelmer Vernooij2010-06-201-1/+4
|
* Move convert_to_openldap onto Schema class.Jelmer Vernooij2010-06-201-0/+5
|
* s4:provision Allow a specific prefix map to be loaded into a new schema ↵Andrew Bartlett2010-06-151-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>
* s4:provision Allow both additional and override prefixmaps in SchemaAndrew Bartlett2010-06-121-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
* s4-python: Fix formatting.Jelmer Vernooij2010-06-111-4/+3
|
* s4-rodc: Set am_rodc flag during provisionAnatoliy Atanasov2010-05-171-2/+2
|
* s4:provision Pass in the invoication ID and NTDS Settings DN to Schema()Andrew Bartlett2010-04-201-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
* s4-python: Cancel transaction properly in case of exceptions, fix formatting.Jelmer Vernooij2010-04-081-29/+33
|
* General cleanups of python code, hinted by pyflakes.Jelmer Vernooij2010-03-011-1/+1
|
* s4-schema: fixed the SDDL for the schema root security descriptorAndrew Tridgell2010-01-091-10/+14
| | | | | This was preventing a DCPROMO client from allowing outgoing replication
* s4-schema: switch to W2K8-R2 schemaAndrew Tridgell2010-01-081-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4: fix SD update and password change in upgrade scriptMatthieu Patou2009-11-281-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>
* s4:provision - Removed dependency on full Samba 3 schema from FDSEndi S. Dewata2009-11-161-5/+14
|
* s4:provision Add C binding to get at the generate schemaAndrew Bartlett2009-11-121-0/+23
| | | | This will allow us to do local tests against that schema
* s4:provision Remove unused 'sambadn' parameterAndrew Bartlett2009-11-121-1/+1
|
* s4:provision Move 'Schema' into it's own fileAndrew Bartlett2009-11-021-0/+140