Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-12 | s4:provision.py - small output improvement | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-03-11 | s4:provision Improve the handling of provision errors | Andrew Bartlett | 2 | -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-11 | s4:samba_dnsupdate Add a 'file based' mode to samba_dnsupdate | Andrew Bartlett | 3 | -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-05 | s4-python: only install external python libs that are missing | Andrew Tridgell | 1 | -0/+12 | |
2010-03-05 | s4-python: import a copy of the python dns library | Andrew Tridgell | 114 | -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-05 | s4-dns: use samba.external to pull in the dns.resolver library | Andrew Tridgell | 1 | -3/+5 | |
2010-03-05 | s4-python: allow us to have samba copies of python libraries we depend on | Andrew Tridgell | 1 | -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-04 | s4:provision - use the new "interface_ips" python call to detect the right ↵ | Matthias Dieter Wallnöfer | 1 | -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-03 | dns: make dns update script use unbuffered IO | Andrew Tridgell | 1 | -0/+4 | |
Otherwise we can lose debug output when a timeout happens | |||||
2010-03-02 | s4:provision - Moved default FDS SASL mappings deletion from post_setup() to ↵ | Endi S. Dewata | 1 | -7/+0 | |
init(). Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-03-02 | s4:provision - Moved setup_db_config() into OpenLDAPBackend class. | Endi S. Dewata | 1 | -16/+16 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-03-02 | s4:provision - Moved backend-specific variables into backend class. | Endi S. Dewata | 2 | -75/+60 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-03-02 | s4:provision - Use netbios name for FDS instance name. | Endi S. Dewata | 1 | -3/+5 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-03-01 | Fix the build, add filtered subunit runner. | Jelmer Vernooij | 1 | -1/+1 | |
2010-03-01 | More formatting fixes, pointed out by pylint. | Jelmer Vernooij | 8 | -44/+51 | |
2010-03-01 | python: Add 'make pylint' convenience rule. | Jelmer Vernooij | 1 | -0/+5 | |
2010-03-01 | General cleanups of python code, hinted by pyflakes. | Jelmer Vernooij | 14 | -152/+124 | |
2010-03-01 | Add 'pyflakes' rule. | Jelmer Vernooij | 1 | -0/+5 | |
2010-03-01 | ntacl: Use existing infrastructure. | Jelmer Vernooij | 2 | -27/+27 | |
2010-03-01 | Remove __contains__ from mock object for consistency with actual | Jelmer Vernooij | 1 | -3/+0 | |
implementation. | |||||
2010-03-01 | Fix SharesContainer.__len__. | Ricardo Jorge | 1 | -1/+1 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-03-01 | More formatting fixes. | Jelmer Vernooij | 2 | -85/+84 | |
2010-03-01 | Fix formatting. | Jelmer Vernooij | 2 | -906/+908 | |
2010-03-01 | upgradeprovision: Remove unused imports, use shutil.rmtree rather than | Jelmer Vernooij | 2 | -41/+18 | |
rmall. | |||||
2010-03-01 | upgradeprovision: Move to pythondoc format | Matthieu Patou | 2 | -32/+205 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-03-01 | upgradeprovision: Allow script to be called with pydoc | Matthieu Patou | 1 | -40/+42 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-03-01 | upgrade provision: change the meaning of handle_security_desc to be similar ↵ | Matthieu Patou | 1 | -3/+3 | |
to handle_special_case Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-03-01 | upgradeprovision: code cleanup | Matthieu Patou | 2 | -55/+64 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-03-01 | upgradeprovision: split the big script to put reusable functions appart | Matthieu Patou | 2 | -231/+268 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-02-26 | s4:provision: use generate_random_password() | Stefan Metzmacher | 2 | -6/+6 | |
metze | |||||
2010-02-26 | s4:pyglue: add generate_random_password() | Stefan Metzmacher | 1 | -2/+22 | |
metze | |||||
2010-02-26 | devel: get the ownership of the directories right in tmpfs.sh | Andrew Tridgell | 1 | -2/+2 | |
2010-02-26 | s4-provision: fixed use of rndc command from python | Andrew Tridgell | 1 | -1/+1 | |
rndc command is now a list | |||||
2010-02-26 | s4-provision: also create the dns_update_list when running net vampire | Andrew Tridgell | 1 | -0/+10 | |
We need the list when joining a windows domain, so we can automatically maintain the right DNS entries on the Windows DNS server | |||||
2010-02-26 | s4-dns: fixed CNAME automatic DNS updates | Andrew Tridgell | 1 | -1/+1 | |
2010-02-26 | s4-provision: setup the dns_update_list at provision time | Andrew Tridgell | 1 | -0/+5 | |
This file is substituted at runtime by samba_dnsupdate | |||||
2010-02-26 | s4-provision: if we aren't doing variable substitution then don't check for vars | Andrew Tridgell | 1 | -1/+1 | |
2010-02-26 | dns: auto-delete incorrect SRV entries for our hostname | Andrew Tridgell | 1 | -8/+15 | |
2010-02-26 | s4-dns: add automatic dynamic DNS updating script | Andrew Tridgell | 1 | -1/+223 | |
This script checks a list of DNS names that we should have, and does dynamic DNS updates using our machine account credentials to add any missing DNS entries. This allows us to correctly add all the DNS entries we need when we join an existing domain as a DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-26 | samdb: added get_ntds_GUID() method | Andrew Tridgell | 2 | -0/+39 | |
2010-02-26 | py-samdb: added server_site_name method | Andrew Tridgell | 1 | -0/+3 | |
2010-02-26 | pyglue: added py_samdb_server_site_name() | Andrew Tridgell | 1 | -0/+29 | |
2010-02-26 | py-samdb: added get_invocation_id() method | Andrew Tridgell | 1 | -0/+5 | |
2010-02-26 | pyglue: added py_samdb_ntds_invocation_id() | Andrew Tridgell | 1 | -0/+36 | |
2010-02-26 | pyglue: don't return 127.0.0.0/8 IPs in interface_ips() | Andrew Tridgell | 1 | -5/+18 | |
We don't generally want loopback addresses in the python code | |||||
2010-02-26 | dns: dummy samba_dnsupdate script | Andrew Tridgell | 1 | -0/+38 | |
The merge from metze of my dns tree means we now depend on this. This is a placeholder until Andrew and I have finished the full script. | |||||
2010-02-25 | s4:scripting/devel Allow tmpfs script to be re-run | Andrew Bartlett | 1 | -1/+4 | |
By doing the unmount, we can avoid double-mounting st and bin | |||||
2010-02-24 | python: ntacls, fix a leftover that is not in the try/except branch | Matthieu Patou | 1 | -1/+0 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-23 | s4-pyglue: added interface_ips() call | Andrew Tridgell | 1 | -0/+43 | |
This allows a python script to query the internal network interface lists from Samba | |||||
2010-02-21 | s4:provision.py - try to use other addresses than "127.0.0.x" and "::1" | Matthias Dieter Wallnöfer | 1 | -2/+10 | |
On production systems a user for sure strongly disagrees to use local IP addresses (how should the server be accessible?). Therefore if the user didn't specify an IP as provision option and in the "/etc/hosts" file we have at least one not-local IP which resolves to our hostname use this or one of them. Notice: if a host has more public IP addresses with the same name assigned the behaviour is non-deterministic (well, okay - by the entries order it is). But then the user is invited to specify the host IP manually. This should address bug #5484. |