summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2010-04-06build: waf quicktest nearly worksAndrew Tridgell1-1/+7
Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell2-0/+42
2010-04-05s4:python/samba/__init__.py - import "sys" for "ensure_external_module" methodMatthias Dieter Wallnöfer1-1/+1
2010-04-04s4-python: Move dsdb_convert_schema_to_openldap to dsdb.Jelmer Vernooij2-26/+1
2010-04-04s4-python: Move set_opaque_integer -> dsdb.Jelmer Vernooij2-63/+1
2010-04-04s4-python: Avoid importing glue directly.Jelmer Vernooij3-12/+18
2010-04-04s4-python: Remove convenience macro PyErr_SetStringError.Jelmer Vernooij1-2/+2
This macro assumed that all errors were runtime errors.
2010-04-04s4-python: Move samdb_server_site_name to dsdb module.Jelmer Vernooij2-30/+2
2010-04-04s4-python: Move dsdb constants to a separate python module.Jelmer Vernooij5-87/+4
2010-04-03s4-python: Remove remaining constants.Jelmer Vernooij1-6/+0
2010-04-03s4-python: Remove unused imports, duplicate definitions of SECINFO_ constants.Jelmer Vernooij1-6/+0
2010-04-03s4-python: Remove duplicate definition of GUID_DRS_* constants.Jelmer Vernooij4-43/+10
2010-04-02s4-python: added --debuglevel to our python scriptsAndrew Tridgell1-0/+10
very useful for debugging our cPython extensions, such as dcerpc modules
2010-04-02s4-pyglue: setup talloc logging in python modulesAndrew Tridgell1-0/+2
2010-04-01s4-python: Install external packages to a different directory but import intoJelmer Vernooij2-5/+10
the normal namespace when the system doesn't have it available.
2010-04-01subunitrun: Find testtools and subunit when they're not provided by theJelmer Vernooij1-3/+5
system.
2010-03-31s4-python: Install external included packages only if they're not present on ↵Jelmer Vernooij2-6/+5
the system.
2010-03-31samba_external: Simplify script to find missing external packages; include ↵Jelmer Vernooij1-4/+10
subunit and testtools as well.
2010-03-30s4-test: oLschema2ldif doesn't take -H any moreAndrew Tridgell1-1/+1
2010-03-29python: Fix rule for generating docs using pydoctor.Jelmer Vernooij1-4/+5
2010-03-29s4-python: Simplify mechanism for finding included Python modules.Jelmer Vernooij3-33/+17
2010-03-29s4-python: Move dnspython to lib/, like the other Python modulesJelmer Vernooij116-16854/+8
This also avoids it from being installed if it's already present on the system.
2010-03-29s4-python: Format to PEP8, simplify tests.Jelmer Vernooij3-103/+84
2010-03-28upgradeprovision: Fix formatting, syntax error.Jelmer Vernooij2-65/+69
2010-03-28s4 upgradeprovision: add information about upgrade in oEMInformation to keep ↵Matthieu Patou1-2/+15
a better trace of different updates Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-28s4: allow upgrade provision to fix acl and missing dir on GPO dirsMatthieu Patou1-1/+18
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-28provision: make gpo related function more reusable for upgradeprovisionMatthieu Patou1-26/+30
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-28provision: Remove unnecessary whitespace.Jelmer Vernooij1-6/+1
2010-03-25python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell15-15/+15
this should be much more portable
2010-03-24s4-provision: FreeBSD uses 'staff' for usersAndrew Tridgell1-1/+1
2010-03-24s4-provision: solaris uses the group "other"Andrew Tridgell1-1/+1
2010-03-22s4-selftest: fix selftest-vars script.Günther Deschner1-1/+1
Tridge, please check. Guenther
2010-03-22s4:dsdb Remove unused 'dsdb_make_schema_global' call from pyglueAndrew Bartlett1-17/+0
2010-03-20build: useful shell vars for setting up selftestAndrew Tridgell1-0/+9
2010-03-18charset: fixed a problem with the global use of the iconv_convenience structureAndrew Tridgell1-1/+2
We had a crash bug where a cached copy of a iconv convenience pointer was used after being freed when loadparm asked for iconv to reload. This could happen if a python module used a iconv based function before loadparm was completed. The fix is to ensure that any use of this pointer remains valid, by reusing the pointer itself when it has already been initialised, but filling in the child elements with the updated values.
2010-03-18Fixed MMR-URL-Split and changed RID-Range OpenLDAP ITS6394Oliver Liebel1-8/+10
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-16Added a net acl ds command for modification of ACLs on directory objectsNadezhda Ivanova6-2/+242
At present the command supports only addition of control access rigts, done so DRS access checks can be tested. It will be expanded to deal with most ways to modify and view a DS ACL. Shifted commands a bit. What used to be net acl is now "net acl nt" as apposed to this, which is "net acl ds" ./bin/net acl ds set --help Usage: set --objectdn=objectdn --car=control right --action=[deny|allow] --trusteedn=trustee-dn Options: -h, --help show this help message and exit --host=HOST LDB URL for database or target server --car=CAR The access control right to allow or deny --action=ACTION Deny or allow access --objectdn=OBJECTDN DN of the object whose SD to modify --trusteedn=TRUSTEEDN DN of the entity that gets access Samba Common Options: -s FILE, --configfile=FILE Configuration file Credentials Options: --simple-bind-dn=DN DN to use for a simple bind --password=PASSWORD Password -U USERNAME, --username=USERNAME Username -W WORKGROUP, --workgroup=WORKGROUP Workgroup -N, --no-pass Don't ask for a password -k KERBEROS, --kerberos=KERBEROS Use Kerberos
2010-03-16s4:dsdb Change dsdb_get_schema() callers to use new talloc argumentAndrew Bartlett1-2/+2
This choses an appropriate talloc context to attach the schema too, long enough lived to ensure it does not go away before the operation compleates. Andrew Bartlett
2010-03-12s4:provision.py - small output improvementMatthias Dieter Wallnöfer1-1/+1
2010-03-11s4:provision Improve the handling of provision errorsAndrew Bartlett2-11/+17
The backtraces were too confusing for our users, and didn't tell them what to do to fix the problem. By printing the string (rather than a backtrace), and including in the error what to do, and what file to remove, we give them a chance. Andrew Bartlett
2010-03-11s4:samba_dnsupdate Add a 'file based' mode to samba_dnsupdateAndrew Bartlett3-25/+60
For the testsuite to use DNS like names, we need to write these names to a file. Also, to have this run in 'make test' the usual rules about 'no 127.*' IP addresses in DNS must be skipped, so glue.interface_ips takes two arguments now
2010-03-05s4-python: only install external python libs that are missingAndrew Tridgell1-0/+12
2010-03-05s4-python: import a copy of the python dns libraryAndrew Tridgell114-0/+16829
This library is not installed on enough systems for us to rely on it being available. We use the system copy if possible, and fallback to this local copy Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-03-05s4-dns: use samba.external to pull in the dns.resolver libraryAndrew Tridgell1-3/+5
2010-03-05s4-python: allow us to have samba copies of python libraries we depend onAndrew Tridgell1-0/+50
For python libraries like dns.resolver it is useful to be able to install a copy of the library with Samba. This set of functions allows us to do that while using the locally installed version if it is available Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-03-04s4:provision - use the new "interface_ips" python call to detect the right ↵Matthias Dieter Wallnöfer1-8/+8
host IPv4 address Inform the user when there are more possibilities (so he can check for the right address and otherwise he is able to do an immediate reprovision) and no possibility at all (then we fall back to the loopback address "127.0.0.1" - this is thought for testing purposes). I think this should be enough for closing bug #5484.
2010-03-03dns: make dns update script use unbuffered IOAndrew Tridgell1-0/+4
Otherwise we can lose debug output when a timeout happens
2010-03-02s4:provision - Moved default FDS SASL mappings deletion from post_setup() to ↵Endi S. Dewata1-7/+0
init(). Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-02s4:provision - Moved setup_db_config() into OpenLDAPBackend class.Endi S. Dewata1-16/+16
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-02s4:provision - Moved backend-specific variables into backend class.Endi S. Dewata2-75/+60
Signed-off-by: Andrew Bartlett <abartlet@samba.org>