ce28f854c0
s4 python: add a unit test for function dsdb_get_oid_from_attid
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org >
2010-04-15 18:45:41 +02:00
634caed116
s4 python: make the function dsdb_get_oid_from_attid reachable from a samDB object
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org >
2010-04-15 18:45:41 +02:00
83312a9e50
Fixed a problem with provision missing the default_dir/etc directory.
2010-04-12 16:06:06 +03:00
47c4e883d6
s4-net: Add definition of outf.
2010-04-12 02:55:27 +02:00
bc6659936a
s4:provision Don't make the 'slaptest' call produce errors
...
Adding -n 0 also allows us to check the error code too
Andrew Bartlett
2010-04-10 21:41:00 +10:00
0d92dd1074
s4-net: Cope with options without arguments.
2010-04-09 11:53:00 +02:00
410527f936
s4-net: 'net user create' -> 'net user add', for backwards compatibility.
2010-04-09 11:53:00 +02:00
ececb73262
Support --version in python scripts.
2010-04-09 11:53:00 +02:00
9af8d02b22
s4-net: Convert machinepw command to python.
2010-04-09 11:53:00 +02:00
f83aa13f62
s4-net: Convert vampire command over to Python.
2010-04-09 11:53:00 +02:00
ffa73c412e
s4-net: Convert user subcommand to Python.
2010-04-09 11:53:00 +02:00
8149094edd
s4/dsdb: Set schemaInfo attribute value during provisioning
...
After provisioning new Forest, schemaInfo should be set
to a value with revision=1 and current invocation_id
2010-04-09 12:21:34 +03:00
26d928e948
s4-net: Convert 'net time' to python.
2010-04-08 23:41:08 +02:00
0c6f434b7b
net: Convert time command to python.
2010-04-08 23:22:55 +02:00
6510b2cdd2
s4-net: Use new Net() object in net export keytab.
2010-04-08 23:22:55 +02:00
7a6f1c7842
s4-python: Fix formatting, use standard convention to call instance methods.
2010-04-08 23:20:36 +02:00
ae6d306c68
s4-python: Cancel transaction properly in case of exceptions, fix formatting.
2010-04-08 23:20:36 +02:00
57ac0a6042
s4-python: Move load_partition_usn to dsdb module.
2010-04-08 23:20:36 +02:00
dd4ef4e106
s4-python: More cleanups.
2010-04-08 23:20:36 +02:00
a35d876537
s4-python: rename samba.glue to samba._glue to indicate it's private.
2010-04-08 23:20:36 +02:00
cc6e2b8a81
s4-python: Fix formatting, import of FLG_NOSYNC.
2010-04-08 23:20:36 +02:00
d7a46ee129
s4-python: Simplify code, improve formatting.
2010-04-08 23:20:36 +02:00
be4b688175
s4-python: Remove obsolete and broken torture modules.
...
The functionality of these modules is already present in a more current
form in other modules.
2010-04-08 23:20:35 +02:00
4f2d8d6ace
s4-python: samdb: Default to using global schema.
2010-04-08 23:20:35 +02:00
cf17d48dec
Migrate 'net export keytab' to python.
2010-04-08 22:37:35 +02:00
479fd9c03f
s4-net: Simplify SamDB connect code.
2010-04-08 12:21:35 +02:00
2578072541
s4-python: Move set_global_schema to pydsdb.
2010-04-08 12:21:35 +02:00
c76bd65b60
s4-samdb: Allow skipping global schema.
2010-04-07 17:40:00 +02:00
feeedf49cf
s4-provision: Proper handling of exceptions, use SamDB class but skip global schema.
2010-04-07 17:39:59 +02:00
21ab06f8a2
s4-python: Move samdb_ntds_objectGUID to pydsdb.
2010-04-07 17:39:59 +02:00
fa4d91e1e0
s4:provision - add a comment which explains why "paths.dns_keytab" is stored without path reference
2010-04-07 15:05:18 +02:00
449bdf3543
s4-python: Move set_session_info to PySambaLdb.
2010-04-06 13:12:43 +02:00
55b98e9768
s4-python: Move register_samba_handlers to PySambaLdb.
2010-04-06 13:12:43 +02:00
e9c3f2ef13
s4-python: Move ldb_set_utf8_casefold to pyldb-samba.
2010-04-06 13:12:43 +02:00
b72a5c0336
Move glue.set_credentials hack to samba.Ldb.
2010-04-06 13:12:43 +02:00
099fc00b60
Add C-based Samba-specific subclass of Ldb.
2010-04-06 13:12:43 +02:00
1b6e5a1b8d
s4:python/samba/__init__.py - import "sys" for "ensure_external_module" method
2010-04-05 12:06:49 +02:00
55aeb682ba
s4-python: Move dsdb_convert_schema_to_openldap to dsdb.
2010-04-04 00:42:52 +02:00
2a67eda98f
s4-python: Move set_opaque_integer -> dsdb.
2010-04-04 00:40:01 +02:00
ccd954f2a7
s4-python: Avoid importing glue directly.
2010-04-04 00:30:34 +02:00
8afd52a641
s4-python: Move samdb_server_site_name to dsdb module.
2010-04-04 00:21:09 +02:00
31a517e172
s4-python: Move dsdb constants to a separate python module.
2010-04-04 00:14:23 +02:00
e5b33be2f2
s4-python: Remove remaining constants.
2010-04-03 23:47:26 +02:00
13a6aee591
s4-python: Remove duplicate definition of GUID_DRS_* constants.
2010-04-03 23:47:25 +02:00
23f2db7ab6
s4-python: added --debuglevel to our python scripts
...
very useful for debugging our cPython extensions, such as dcerpc
modules
2010-04-02 18:52:29 +11:00
84891b048d
s4-python: Install external packages to a different directory but import into
...
the normal namespace when the system doesn't have it available.
2010-04-01 15:33:07 +02:00
4f4adddb17
s4-test: oLschema2ldif doesn't take -H any more
2010-03-30 15:36:46 +11:00
c873329500
s4-python: Simplify mechanism for finding included Python modules.
2010-03-29 18:05:29 +02:00
4bbc3ff037
s4-python: Move dnspython to lib/, like the other Python modules
...
This also avoids it from being installed if it's already present on the
system.
2010-03-29 18:05:29 +02:00
89aa3b766b
s4-python: Format to PEP8, simplify tests.
2010-03-29 18:05:29 +02:00