summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2012-02-27provision: Write configuration without help of templates.Jelmer Vernooij1-38/+34
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 27 00:52:46 CET 2012 on sn-devel-104
2012-02-26provision: Simplify make_smbconf a bit.Jelmer Vernooij2-18/+19
2012-02-26provision: Fix order for error formatting.Jelmer Vernooij1-2/+2
2012-02-26provision: Raise proper error when shares are missing rather than ↵Jelmer Vernooij1-11/+14
AssertionError.
2012-02-26provision: Share more code for determine_netbios_name() with ↵Jelmer Vernooij2-14/+10
samba.valid_netbios_name(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Feb 26 22:24:42 CET 2012 on sn-devel-104
2012-02-26provision/backend: Properly close all opened files.Jelmer Vernooij1-11/+36
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 Vernooij6-12/+19
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-24upgradedns: Rename to less generic name samba_upgradedns.Jelmer Vernooij3-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Feb 24 15:07:27 CET 2012 on sn-devel-104
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-21upgradedns: Upgrade DNS provision from BIND9_FLATFILE to AD based DNSAmitay Isaacs3-2/+411
This script can be used to convert provision from BIND9_FLATFILE to BIND9_DLZ or SAMBA_INTERNAL dns backends. In addition, the script migrates the DNS data in zone file (if available). Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Feb 21 14:50:10 CET 2012 on sn-devel-104
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