summaryrefslogtreecommitdiff
path: root/source4/scripting/python
AgeCommit message (Collapse)AuthorFilesLines
2012-02-26provision: Properly close opened files.Jelmer Vernooij1-6/+14
2012-02-26provision: Reuse determine_netbios_name.Jelmer Vernooij1-8/+1
2012-02-26provision: Add tests for determine_netbios_name.Jelmer Vernooij1-0/+9
2012-02-26provision: Factor out determination of new netbios name.Jelmer Vernooij1-8/+13
2012-02-26join: Don't print provision results when they're just noise.Jelmer Vernooij1-11/+9
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Feb 26 17:56:57 CET 2012 on sn-devel-104
2012-02-26provision: Split out result reporting for backends.Jelmer Vernooij3-28/+62
2012-02-26provision: Put adminpass details in ProvisionResult.Jelmer Vernooij2-22/+37
2012-02-26provision/tests: Test for phpldapadminconfig path.Jelmer Vernooij2-4/+22
2012-02-26provision: Leave result reporting up to caller.Jelmer Vernooij5-11/+17
2012-02-25provision: Start splitting out provision result reporting from actual ↵Jelmer Vernooij2-17/+63
provisioning. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Feb 25 22:13:10 CET 2012 on sn-devel-104
2012-02-25provision: Properly close ldb transactions.Jelmer Vernooij1-13/+18
2012-02-25'samba-tool gpo': Properly close transaction.Jelmer Vernooij1-4/+4
2012-02-25ntacl: There is no 'secrets database' configuration option.Jelmer Vernooij1-1/+1
2012-02-25Factor out sanitize_server_role.Jelmer Vernooij2-25/+57
2012-02-25Partially revert 1f0298dd1b1a939cb215e7b474178b217f8347f4Jelmer Vernooij7-32/+34
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
2012-02-25provision: Remove unused imports.Jelmer Vernooij1-7/+4
2012-02-23s4-provision: Fix typo in 9b9fdeefb47f2657c9bb4c2f48318550da510209Andrew Bartlett1-3/+3
This was not found to to a bug in the selftest system. Andrew Bartlett
2012-02-21s4-provision: dns: Add txt DNS recordAmitay Isaacs1-0/+9
2012-02-21s4-provision: dns: Do not re-calculate ntdsguid, use from namesAmitay Isaacs1-15/+1
2012-02-21s4-provision: dns: Refactor population of dns data codeAmitay Isaacs1-56/+98
Code is split in 4 functions - create_dns_legacy - fill_dns_data_legacy - create_dns_partitions - fill_dns_data_partitions This is useful to upgrade dns provision from file based DNS backend to AD based DNS backend.
2012-02-21samba-tool: dns: Update the copyrightAmitay Isaacs1-1/+1
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Feb 21 09:55:07 CET 2012 on sn-devel-104
2012-02-21samba-tool: dns: Fix the output display of DNS recordsAmitay Isaacs1-2/+3
2012-02-21samba-tool: dns: Add extra references for string objects as workaroundAmitay Isaacs1-8/+17
This is a workaround for bug in pidl generated python bindings, where C object hold a pointer to python string without increasing reference count in python. So when the python string goes out of scope, the C pointer loses the value.
2012-02-21samba-tool: dns: Add support to add/update/delete MX and SRV recordsAmitay Isaacs1-44/+47
2012-02-21samba-tool: dns: Convert dns data into a dns record for comparisonAmitay Isaacs1-5/+33
and compare two dns records directly. Refactor dns name comparision as dns_name_equal().
2012-02-21samba-tool: dns: Convert dns data in a string to DNS recordAmitay Isaacs1-0/+48
2012-02-21samba-tool: dns: Add MXRecord type to add/update mx recordsAmitay Isaacs1-0/+14
2012-02-18s4-python: Various formatting fixes.Jelmer Vernooij9-59/+42
2012-02-18samba.web_server: Fix use of whitespace.Jelmer Vernooij1-1/+1
2012-02-17s4:samba-tool fsmo * - fix missing "takes_optiongroups"Matthias Dieter Wallnöfer1-0/+12
This has been reported in bug #8755. Reviewed-by: Jelmer
2012-02-16s4:provision: only print the adminpass if it was generated (not user-provided)Michael Adam1-1/+5
2012-02-16s4:provision: generate the adminpass provision() instead of provision_fill()Michael Adam1-2/+3
so that the adminpass can be logged at the end (otherwise we get "None")
2012-02-16s4:provision: don't log the ldap admin password - it is internal onlyMichael Adam1-3/+0
2012-02-16s4-scripting: samba-tool: Fix domain info usage messageBjörn Baumbach1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2012-02-13s4:join python code - "msDS-KeyVersionNumber" does not exist on Win2kMatthias Dieter Wallnöfer1-2/+6
No problem since "secretsdb_self_join()" then chooses 1 as a default value. Fix case sensitivity for "msDS-KeyVersionNumber". Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-02-10tests/source: Add wafsamba/ files to list of Python files to check.Jelmer Vernooij1-2/+16
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Feb 10 01:45:16 CET 2012 on sn-devel-104
2012-02-09s4:join python code - perform a fallback password set operation over libnetMatthias Dieter Wallnöfer1-4/+18
Windows 2000 DCs allow LDAP password set operations only with the help of SSL. Given the fact that this technique is hard to setup it is easier to use SAMR over "libnet". Reviewed-By: Andrew Bartlett <abartlet@samba.org>
2012-02-09s4:join python code - write the SAM account name correctlyMatthias Dieter Wallnöfer1-2/+2
It is easier for the comprehension Reviewed-By: Andrew Bartlett <abartlet@samba.org>
2012-02-08samba-tool sites: Re-add support for option groupsAmitay Isaacs1-0/+13
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Feb 8 02:27:28 CET 2012 on sn-devel-104
2012-02-08samba-tool dns: Re-add support for option groupsAmitay Isaacs1-0/+60
2012-02-07provision: Make sure target directory is created early.Jelmer Vernooij2-8/+16
This is necessary when using the target directory to store temporary files. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Feb 7 02:45:37 CET 2012 on sn-devel-104
2012-02-07samba-tool user password: Re-add support for option groups.Jelmer Vernooij1-4/+13
2012-02-07samba-tool: Add optiongroups, necessary for 'samba-tool domain ...'Jelmer Vernooij1-6/+13
2012-02-07Revert "samba-tool: moved takes_optiongroups definition to Command base class"Jelmer Vernooij17-27/+240
This reverts commit f6fa8684896b8f3f9f8b7bd3742c99906973274c. This keeps the main command class fairly slim, and makes it a bit more obvious where the arguments to run() are coming from. Conflicts: source4/scripting/python/samba/netcmd/__init__.py source4/scripting/python/samba/netcmd/domain.py source4/scripting/python/samba/netcmd/gpo.py source4/scripting/python/samba/netcmd/newuser.py source4/scripting/python/samba/netcmd/testparm.py source4/scripting/python/samba/netcmd/user.py source4/scripting/python/samba/tests/samba_tool/__init__.py
2012-02-07Use named argument 'dir' instead of 'prefix' on NamedTemporaryFile for domain.pyHoracio G. de Oro1-2/+2
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2012-01-31s4-s3-upgrade: Check if there are duplicate sids for users and groupsAmitay Isaacs1-0/+4
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Jan 31 02:23:17 CET 2012 on sn-devel-104
2012-01-31s4-s3-upgrade: Use lowercase hostname as hostname for provisionAmitay Isaacs1-1/+1
2012-01-24python: Change except: statement to except Exception:Amitay Isaacs5-6/+6
This way we only catch true exceptions and keyboard interrupts are not caught here. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Jan 24 03:32:40 CET 2012 on sn-devel-104
2012-01-14KCC importldif/exportldif and intersite topologyDave Craft1-204/+972
Add options for extracting an LDIF file from a database and reimporting the LDIF into a schema-less database for subsequent topology test/debug. Add intersite topology generation with computation of ISTG and bridgehead servers Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Jan 14 07:45:11 CET 2012 on sn-devel-104
2012-01-12s4:pygensec/tests: add test for gensec_set_max_update_size()Stefan Metzmacher1-0/+54
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 12 14:47:05 CET 2012 on sn-devel-104