summaryrefslogtreecommitdiffstats
path: root/source4/scripting
Commit message (Collapse)AuthorAgeFilesLines
...
* pyglue: Make all_interfaces argumen to interface_ips() optional.Jelmer Vernooij2012-10-211-2/+2
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sun Oct 21 21:26:01 CEST 2012 on sn-devel-104
* pyglue: Mention parameters in interface_ips() docstring.Jelmer Vernooij2012-10-211-0/+2
|
* samba-tool user test: Fix expected output.Jelmer Vernooij2012-10-191-1/+1
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Fri Oct 19 11:37:44 CEST 2012 on sn-devel-104
* samba.tests.docs: Ignore removed parameters.Jelmer Vernooij2012-10-191-0/+2
|
* samba.tests.docs: Assume docs are generated by waf.Jelmer Vernooij2012-10-191-2/+6
|
* samba.tests.docs: Write error output from xsltproc to standard out.Jelmer Vernooij2012-10-191-1/+1
|
* samba.tests.docs: Skip tests if xsltproc is not present.Jelmer Vernooij2012-10-191-5/+24
|
* smb.conf(5): Consistent spelling of parameter names.Jelmer Vernooij2012-10-191-3/+3
| | | | This includes spacing and casing.
* samba.tests.docs: Support spaces before synonyms.Jelmer Vernooij2012-10-191-1/+1
|
* samba.tests.docs: Support synonyms.Jelmer Vernooij2012-10-191-0/+4
|
* samba.tests.docs: Distinguish between unknown and undocumened parameters.Jelmer Vernooij2012-10-191-1/+9
|
* tests: Convert find_missing_doc into a unit test.Jelmer Vernooij2012-10-191-0/+90
|
* samba-tool user: Fix typos, improve messages.Jelmer Vernooij2012-10-181-6/+10
|
* Warn when setting UID/GID without idmap_ldb:use rfc2307 = YesAlexander Wuerstlein2012-10-181-0/+4
| | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Oct 18 09:51:35 CEST 2012 on sn-devel-104
* Tests for 'samba-tool user create' with RFC2307 attributesAlexander Wuerstlein2012-10-182-8/+139
| | | | | | | | | | | | | | | | Check if attributes are correctly set and read from SamDB Test automatic creation of attributes from getpwent (NSS) Check if overriding NSS attributes works getpwent will be skipped if the current UID of the user running the tests has no passwd entry (getpwuid(geteuid())). If a user with the name of the current UID already exists in the directory, the getpwent test will fail. If that should happen, the test would need to be updated to use a nonexistent UID that is visible to the Python 'pwd' module. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* Set RFC2307 attributes in samba-tool createAlexander Wuerstlein2012-10-182-3/+58
| | | | | | | | | | Optionally set RFC2307 (NIS Schema) attributes in samba-tool create. Mainly needed for UID mapping to be usable. Not all attributes are set-able, only harmless and non-overlapping ones (uid, uidNumber, gidNumber, loginShell, gecos). Description and homeDirectory should already be set, userPassword seems problematic. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* provision: No longer use the wheel group in new AD DomainsAndrew Bartlett2012-10-186-31/+29
| | | | | | | | | | | The issue here is that if we set S-1-5-32-544 (administrators) to a GID only, then users cannot force a mandetory profile to be owned by administrators (which is a requirement). There is no particularly useful reason for us to enforce this matching a system group. Andrew Bartlett
* Removed phpldapadmin inclusion for Samba 4.Ricky Nance2012-10-172-30/+0
| | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Oct 17 12:55:44 CEST 2012 on sn-devel-104
* Revert "provision: Always create DNS user."Stefan Metzmacher2012-10-161-13/+18
| | | | | | | | | | | This reverts commit c2d14747d608d406de6410556807d467cd0b85ef. samba_upgradedns handles creates/removed the dns acount. See https://lists.samba.org/archive/samba-technical/2012-October/thread.html#87578 metze
* samba.join: Fix multiple spaces.Jelmer Vernooij2012-10-111-1/+1
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Thu Oct 11 20:30:43 CEST 2012 on sn-devel-104
* samba.provision.sambadns: Use == to compare strings, not 'is'.Jelmer Vernooij2012-10-111-1/+1
|
* provision: Always create DNS user.Jelmer Vernooij2012-10-111-18/+13
| | | | | | | | | | | | The DNS user is currently only used by the bind9 plugin. This makes it easier to later on switch between the builtin DNS server and bind backend. In addition, ideally the internal DNS server would use that (separate) user too. Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Thu Oct 11 17:05:40 CEST 2012 on sn-devel-104
* samba-tool: Some more unifications...Karolin Seeger2012-10-0915-15/+15
| | | | | | in the usage message. Karolin
* samba-tool: skip chown in sysvolreset when it would fail on a GIDAndrew Bartlett2012-10-092-13/+48
| | | | | | | | | | | | | This skips the chown of the files if (for example) the domain Admins group were to own the file and not be able to because the group maps only to a GID. This essentially papers over the problem, but may be enough to get us past the Samba 4.0 release. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Oct 9 15:24:44 CEST 2012 on sn-devel-104
* s4:scripting/python: add '-V' as alias for '--version'Stefan Metzmacher2012-10-081-1/+1
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Oct 8 17:52:52 CEST 2012 on sn-devel-104
* s4:samba-tool: allow 'samba-tool --version'Stefan Metzmacher2012-10-081-0/+6
| | | | metze
* s4:samba-tool: use normal option parsing in SuperCommandStefan Metzmacher2012-10-081-10/+13
| | | | | | We use the epilog to print the subcommands. metze
* s4:samba-tool: add optional epilog to _create_parser()Stefan Metzmacher2012-10-081-2/+7
| | | | metze
* samba-tool: Unify usage messages.Karolin Seeger2012-10-0813-60/+60
| | | | | | | Karolin Autobuild-User(master): Karolin Seeger <kseeger@samba.org> Autobuild-Date(master): Mon Oct 8 14:26:52 CEST 2012 on sn-devel-104
* samba-tool: Clarify usage of --help.Karolin Seeger2012-10-081-1/+1
| | | | Karolin
* samba-tool: Fix typo in usage.Karolin Seeger2012-10-081-1/+1
| | | | Karolin
* s4-join: factorize code, add infoMatthieu Patou2012-10-071-5/+9
|
* s4-join: add some documentationMatthieu Patou2012-10-071-1/+11
|
* devel-crackname: Print if count > 0Matthieu Patou2012-10-071-2/+5
|
* s4: samba_backup: Fix typos.Björn Baumbach2012-10-031-2/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* provision: Use logger rather than print.Jelmer Vernooij2012-10-031-1/+1
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Wed Oct 3 14:24:09 CEST 2012 on sn-devel-104
* s4-provision: do not skip setting the acls on sysvolMatthieu Patou2012-10-032-2/+4
| | | | | Autobuild-User(master): Matthieu Patou <mat@samba.org> Autobuild-Date(master): Wed Oct 3 10:26:06 CEST 2012 on sn-devel-104
* s4 dns: Fix return code for deleted recordsKai Blin2012-09-301-3/+43
| | | | | | | | | | This fixes bug #9225. We already had a test for this scenario, but the test wasn't correct. This patch fixes the test, and also fixes the bug. Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Sun Sep 30 13:09:14 CEST 2012 on sn-devel-104
* sanba.upgradehelpers: Use standard functionality for getting temp dir.Jelmer Vernooij2012-09-271-3/+0
|
* s4-python: Various formatting fixes.Jelmer Vernooij2012-09-2737-282/+283
| | | | | | * Trailing whitespace * use of "==" where "is" should be used * double spaces
* samba.tests.source: Check for trailing whitespace in Python files.Jelmer Vernooij2012-09-271-1/+16
|
* samba-tool domain provision: DNS forwarder defaultRicky Nance2012-09-271-0/+2
| | | | | | | | | Provision would break with an exception if there was no value given for the DNS forwarder, this simply sets a default to "none". Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Thu Sep 27 04:35:33 CEST 2012 on sn-devel-104
* samba-tool: Hide 'samba-tool domain samba3upgrade'.Jelmer Vernooij2012-09-262-12/+25
| | | | | | | | This subcommand is provided for backwards compatibility only; new use of it should be discouraged. Its new name is 'samba-tool domain classicupgrade'. Bug: https://bugzilla.samba.org/show_bug.cgi?id=9047
* samba_dnsupdate: Safely update/create names for Samba3 targets as wellAndrew Bartlett2012-09-261-4/+14
| | | | | | | | | | This avoids unlocked writes to the dns_hosts_file, and may fix some of our issues on the build farm where large numbers of tests fail due to failed name resolution. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Sep 26 05:48:25 CEST 2012 on sn-devel-104
* samba_dnsupdate: Move to using tmpfile/rename to keep the dns_hosts_file ↵Andrew Bartlett2012-09-261-3/+10
| | | | | | | | consistent This may be the cause of some of the large failure modes on the build farm. Andrew Bartlett
* s4-python: Override SIGINT handler in scripts only.Jelmer Vernooij2012-09-255-8/+26
| | | | | | | | | | | | Override the SIGINT handler in a few select cases only, rather than doing so in one of the samba Python modules. I've done this where it matters most; we can add this code to other scripts too if necessary. This means that importing the 'samba' module from a third party application does not have side-effects on the state of the signal handlers. Bug: https://bugzilla.samba.org/show_bug.cgi?id=9068
* samba-tool domain provision: DNS forwarder is not a boolean.Jelmer Vernooij2012-09-251-3/+3
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Tue Sep 25 00:48:43 CEST 2012 on sn-devel-104
* replace: Support setproctitle().Jelmer Vernooij2012-09-241-2/+2
| | | | | This uses the setproctitle() from libc, libsetproctitle or libbsd. If none is available it provides a dummy implementation.
* samba-tool domain-provision: Avoid python2.5-isms.Jelmer Vernooij2012-09-241-1/+4
|
* samba-tool domain-provision: Fix docstring.Jelmer Vernooij2012-09-241-2/+2
|