summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2010-05-02s4 python: fix glues functions manipulating NTTIMEMatthieu Patou1-1/+35
The fix include reverse function (from NTTIME to timestamp) + fix on the transformation of a NTTIME to a PyLong object
2010-04-29Revert "s4/dsdb: Set schemaInfo attribute value during provisioning"Kamen Mazdrashki3-31/+0
This reverts commit 8149094eddebd9a0e8b7c123c2ed54d00164bb26. Windows implementation does not set schemaInfo attribute value until first Schema update request. This way, newly provisioned forest returns no schemaInfo value. I think it won't be bad for us to have this value preset, but I want to mimic Win AD behavior as close as possible.
2010-04-28s4:provisionbackend Don't loop forever waiting for OpenLDAPAndrew Bartlett1-0/+6
We need to give a good error when we can't get OpenLDAP to accept our connections. Andrew Bartlett
2010-04-27s4-provision: setup spn_update_list in provisionAndrew Tridgell1-1/+5
2010-04-27s4-dns: install samba_spnupdateAndrew Tridgell1-1/+1
2010-04-27s4-dsdb: added samba_spnupdateAndrew Tridgell1-0/+137
this script adds all our required servicePrincipalName entries at runtime. The admin can add more entries to spn_update_list as needed
2010-04-27s4-dns: cope better with comments in dns_update_listAndrew Tridgell1-7/+4
2010-04-27s4-drsdevel: support sites in drs developer scriptsAndrew Tridgell3-3/+7
2010-04-21s4-upgradeprovision: fixed --realm option duplicate in upgrade_from_s3Andrew Tridgell1-1/+1
2010-04-21s4-python: added --realm option to python scriptsAndrew Tridgell1-1/+7
this is needed for net vampire Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-21s4-python: accept --option arguments in python cmdline parsingAndrew Tridgell1-10/+17
also fixed the -d option to use lp.set() which calls lp_set_cmdline() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-21s4-devel: allow extra net command line options and gdbAndrew Tridgell1-1/+1
This allows you to run: GDB="gdb --args" vampire_ad.sh and also to add higher debug levels like this: vampire_ad.sh -d100 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-20s4-net: don't show a full python exception when you can't open sam.ldbAndrew Tridgell1-2/+2
2010-04-20s4-python: added PYTHONDIR to python search pathAndrew Tridgell1-0/+5
we put it after the scripting/python dir, so we look in the build directory (if applicable) first.
2010-04-20s4:provisionbackend Print the command we failed to start slapd withAndrew Bartlett1-1/+2
This makes it easier to put failed startups into a debugger. Andrew Bartlett
2010-04-20s4:provision Pass in the invoication ID and NTDS Settings DN to Schema()Andrew Bartlett3-11/+31
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-19s4-dns: use neater python for reading linesAndrew Tridgell1-7/+2
files are line iterators
2010-04-19s4-dev: expanded selftest-vars.sh to match current testenvAndrew Tridgell1-4/+41
2010-04-16s4-net: allow a username to be displayed in setpassword errorsAndrew Tridgell1-1/+6
the filter is a bit too cryptic Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-16s4-net: nicer error message (and no exception)Andrew Tridgell2-5/+17
in net newuser and net setpasswd we shouldn't be throwing python exceptions on normal user errors like unknown user Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-16s4-test: added KRB5_CONFIG to selftest-vars.shAndrew Tridgell1-0/+1
2010-04-15pydsdb: Fix memory leak on invalid parameters, formatting, trivialJelmer Vernooij1-9/+7
typos.
2010-04-15s4 python: add a unit test for function dsdb_get_oid_from_attidMatthieu Patou1-0/+44
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-04-15s4 python: make the function dsdb_get_oid_from_attid reachable from a samDB ↵Matthieu Patou1-0/+3
object Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-04-12Fixed a problem with provision missing the default_dir/etc directory.Nadezhda Ivanova1-2/+2
2010-04-12s4-net: Add definition of outf.Jelmer Vernooij1-0/+2
2010-04-10s4:provision Don't make the 'slaptest' call produce errorsAndrew Bartlett1-6/+3
Adding -n 0 also allows us to check the error code too Andrew Bartlett
2010-04-09s4-waf: only enable the python uuid module if python <= 2.4Andrew Tridgell1-1/+2
2010-04-09s4-net: Cope with options without arguments.Jelmer Vernooij1-1/+2
2010-04-09s4-net: 'net user create' -> 'net user add', for backwards compatibility.Jelmer Vernooij1-3/+3
2010-04-09Support --version in python scripts.Jelmer Vernooij1-0/+8
2010-04-09s4-net: Convert machinepw command to python.Jelmer Vernooij4-63/+114
2010-04-09s4-net: Convert vampire command over to Python.Jelmer Vernooij2-0/+117
2010-04-09s4-net: Convert user subcommand to Python.Jelmer Vernooij2-0/+76
2010-04-09s4/dsdb: Set schemaInfo attribute value during provisioningKamen Mazdrashki3-0/+31
After provisioning new Forest, schemaInfo should be set to a value with revision=1 and current invocation_id
2010-04-08s4-net: Convert 'net time' to python.Jelmer Vernooij2-0/+47
2010-04-08net: Convert time command to python.Jelmer Vernooij1-1/+1
2010-04-08s4-net: Use new Net() object in net export keytab.Jelmer Vernooij1-2/+2
2010-04-08pynet: Create a net class.Jelmer Vernooij1-3/+4
2010-04-08s4-python: Fix formatting, use standard convention to call instance methods.Jelmer Vernooij6-49/+51
2010-04-08s4-python: Cancel transaction properly in case of exceptions, fix formatting.Jelmer Vernooij1-29/+33
2010-04-08s4-python: Move load_partition_usn to dsdb module.Jelmer Vernooij2-48/+3
2010-04-08s4-python: More cleanups.Jelmer Vernooij6-22/+30
2010-04-08s4-python: rename samba.glue to samba._glue to indicate it's private.Jelmer Vernooij5-18/+18
2010-04-08s4-python: Fix formatting, import of FLG_NOSYNC.Jelmer Vernooij2-2/+2
2010-04-08s4-python: Simplify code, improve formatting.Jelmer Vernooij7-227/+203
2010-04-08s4-python: Remove obsolete and broken torture modules.Jelmer Vernooij5-963/+0
The functionality of these modules is already present in a more current form in other modules.
2010-04-08s4-python: samdb: Default to using global schema.Jelmer Vernooij1-2/+1
2010-04-08Migrate 'net export keytab' to python.Jelmer Vernooij2-0/+59
2010-04-08s4-net: Simplify SamDB connect code.Jelmer Vernooij8-49/+10