summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2011-06-06s4-ipv6: don't add link local addresses to DNSAndrew Tridgell1-1/+3
these make no sense as DNS addresses
2011-06-06s4-ipv6: added IPv6 support to samba_dnsupdateAndrew Tridgell1-7/+31
2011-06-06s4-ipv6: update callers to load_interface_list()Andrew Tridgell1-1/+1
2011-06-06s4-gpo: fixed display of GPO version numbersAndrew Tridgell1-1/+1
2011-06-02samba3sam.py: don't assume order of ldb results.Rusty Russell1-142/+164
Switching to tdb2 breaks this test horribly, because it relied on the order of TDB1 traversal. Fix it to sort te results (by db), then check them. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-01samba-tool: improved error handling in user setexpiryAndrew Tridgell2-1/+9
2011-06-01samba-tool: improved user enable error handlingAndrew Tridgell2-1/+8
2011-06-01s4:samba-tool: Move samba-tool setexpiry to samba-tool user setexpiry <user>Theresa Halloran3-70/+37
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-01s4/samba-tool: Move samba-tool enableaccount to samba-tool user enable command.Theresa Halloran3-62/+43
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-25s4-provision Use correct tkey-gssapi-credentialAndrew Bartlett1-1/+3
We changed to ${DNSNAME} (the fully qualified domain name) a while back, and while it's usually functionally idential to the previous setting, this breaks down if there is more than one DNS server. Andrew Bartlett
2011-05-21add a demo script for dirsyncMatthieu Patou1-0/+156
Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat May 21 15:40:26 CEST 2011 on sn-devel-104
2011-05-21Add a script for renaming a DCMatthieu Patou1-0/+200
2011-05-21s4-python: Remove not used importsMatthieu Patou2-7/+4
2011-05-21s4-python: move function find_provision_key_parameters to provision ↵Matthieu Patou5-113/+112
namespace as it can be used not only for upgradeprovision
2011-05-18selftest: Re-enable strings.py from source3/stf as a python subunit testAndrew Bartlett4-0/+169
2011-05-18s4-libnet: Remove libnet_Join and create libnet_Join_memberAndrew Bartlett1-8/+7
libnet_Join conflicts with a function in the source3 netapi of the same name, and the ability to join as a DC via this particular method is unused. Andrew Bartlett
2011-05-17s4-python: add an option for just fixing gpo foldersMatthieu Patou1-189/+196
2011-05-17s4-python: keep wheel_gid as an integerMatthieu Patou1-1/+1
2011-05-17s4-python: raise an error if unable to bind remote ldap while joiningMatthieu Patou1-0/+11
2011-05-08selftest: Polish selftest-vars.sh a little so it can be used againKamen Mazdrashki1-10/+14
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sun May 8 22:50:01 CEST 2011 on sn-devel-104
2011-05-08s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett1-6/+6
The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
2011-05-05s4-samba-tool: allow specification of targetdir when joining as (RO)DCMatthieu Patou1-4/+5
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu May 5 02:04:13 CEST 2011 on sn-devel-104
2011-04-30provision: reorganize attributes so that we don't attribute with DN syntax ↵Matthieu Patou1-0/+5
that depends on non present object Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Apr 30 14:51:16 CEST 2011 on sn-devel-104
2011-04-19selftest: Don't specify SELFTEST_TARGET as an env variableAndrew Bartlett1-1/+0
It is much more reliable to specify it as a direct parameter, and this is needed for the combined 'make test'. Andrew Bartlett
2011-04-17samba-tool: fix machinepw command so that we use the full path to the secret ↵Matthieu Patou1-3/+6
database and raise an error if secret can't be found Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Apr 17 13:12:27 CEST 2011 on sn-devel-104
2011-04-16selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett1-1/+1
Just have BINDIR, and have it default to ./bin Andrew Bartlett
2011-04-07s4-samba_dnsupate Fix syntax errorAndrew Bartlett1-2/+1
This particular sub-part of the script isn't tested in 'make test' due to it making real changes to DNS. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 7 08:51:11 CEST 2011 on sn-devel-104
2011-04-07samba_dnsupdate: Don't use subprocess.check_call, it isn't in python 2.4Andrew Bartlett1-1/+8
RHEL5 and clones use python 2.5
2011-04-06s4-test: fixed a problem with very verbose NDR debugAndrew Tridgell3-4/+4
lp.get("log level") returns a string, not an integer. It needs to be cast to an integer for comparison with a number Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 6 08:58:05 CEST 2011 on sn-devel-104
2011-04-05s4 samba-tool: Implement "testparm" commandKai Blin2-0/+208
This is a port of the existing "testparm" python script to a samba-tool command. Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Tue Apr 5 07:49:13 CEST 2011 on sn-devel-104
2011-04-04s4-samba-tool: give a bit better error on user delete failureAndrew Tridgell1-1/+5
2011-04-03Avoid uppercasing server role in error message.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Apr 3 20:01:48 CEST 2011 on sn-devel-104
2011-03-29s4-fsmo: say which role is being transferredAndrew Tridgell1-4/+4
this is particularly useful for "samba-tool fsmo transfer --role=all"
2011-03-29s4-fsmo: samba-tool fsmo transfer now gets full error codeAndrew Tridgell1-2/+2
We now wait for the transfer to succeed or fail Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29s4-fsmo: nicer error messages on failed FSMO transfersAndrew Tridgell1-5/+12
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29s4-drs: default hostname in samba-tool drs commandAndrew Tridgell1-2/+2
default to our hostname Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29s4-fsmo: samba-tool fsmo takes a URL, not a hostnameAndrew Tridgell1-3/+3
better to call the option --url Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-20upgradeprovision: Fix typoMatthieu Patou1-1/+1
2011-02-22python: use os.environ[] instead of os.putenv()Andrew Tridgell2-6/+6
using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-21s4:scripting/python/modules.[ch] - explicitly say that "py_update_path" ↵Matthias Dieter Wallnöfer2-2/+2
takes no argument This quiets some build warnings. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Feb 21 14:42:00 CET 2011 on sn-devel-104
2011-02-21s4-unittests: replace assertEquals(res, []) by assertEquals(len(res), 0)Matthieu Patou1-1/+1
2011-02-20s4/samba.tests: Raise BlackboxProcessError exception in case check_output ↵Kamen Mazdrashki1-2/+2
method fails This way the caller gets the chance to receive STDOUT and STDERR for a failed process. We may use this info to check if a process has failed properly, e.g. with expected output
2011-02-20s4/samba.tests: Extend CalledProcessError class to store STDOUT and STDERR ↵Kamen Mazdrashki1-0/+13
for a failed rocess call
2011-02-17s4:scripting/python/modules.c - remove a really unnecessary variableMatthias Dieter Wallnöfer1-1/+0
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Feb 17 16:01:44 CET 2011 on sn-devel-104
2011-02-14s4:ldapcmp: cope with range retrivals of multivalued attributesStefan Metzmacher1-1/+72
A Windows Server returns a 'member;range=0-1499' attribute with the first 1500 values of the 'member' attribute. The client can do a BASE search on the given object and ask for the 'member;range=1500-*' attribute. It needs to loop until the high part of the returned range is '*'. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Feb 14 16:26:46 CET 2011 on sn-devel-104
2011-02-13s4/upgradeprovision: Fix help for --debugguess.Michael Wood1-1/+1
Signed-off-by: Matthieu Patou <mat@matws.net> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Feb 13 16:38:13 CET 2011 on sn-devel-104
2011-02-13s4/upgradeprovision: Typo and better word.Michael Wood1-2/+2
Signed-off-by: Matthieu Patou <mat@matws.net>
2011-02-13s4: samba_backup: Fix typos.Michael Wood1-3/+3
Signed-off-by: Matthieu Patou <mat@matws.net>
2011-02-10s4-tools: Added --sddl option, which allows the user to add an ACE to an ↵Nadezhda Ivanova1-4/+8
object's security descriptor in SDDL format Useful for testing purposes. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Feb 10 15:28:04 CET 2011 on sn-devel-104
2011-02-09s4/tests: Implement a blackbox test for 'samba-tool drs' commandKamen Mazdrashki1-0/+100
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Feb 9 11:45:30 CET 2011 on sn-devel-104