summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2010-11-27show_test_time: Move to root scripting directory as it's useful for s3Jelmer Vernooij1-19/+0
and s4. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Nov 27 17:17:29 CET 2010 on sn-devel-104
2010-11-28s4-samba-tool: switched over to python version of samba-tool drsAndrew Tridgell1-0/+2
2010-11-28s4-samba-tool: added python implementation of samba-tool drs commandsAndrew Tridgell1-0/+402
much simpler than the C code, and this brings us one step closer to a python samba-tool
2010-11-28s4-pyglue: expose the remaining NTTIME functions from glueAndrew Tridgell1-0/+3
2010-11-28s4-samba-tool: fixed "-k no" for disabling kerberos authAndrew Tridgell1-2/+4
The option "-k no" was not correctly disabling kerberos in python programs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-26s4-provision: fixed eadb automatic and manual setting in provisionAndrew Tridgell2-17/+16
we should not set posix:eadb in lp in the acl native test code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-26s4-provision: don't try to look for an IPv6 address when not specifiedAndrew Tridgell1-11/+0
the getaddrinfo() method of finding an IPv6 address is incorrect. We could do it via the Samba interfaces code, but until we have that it is better to not try to auto-detect IPv6 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-25s4-tests: Modified create_ou to only accept security.descriptor type for sd ↵Nadezhda Ivanova1-9/+3
to avoid confusion It used to work with sddl as well, but this is confusing and could lead to errors. It also caused a message about tallocing a security descriptor to appear. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Nov 25 19:46:42 CET 2010 on sn-devel-104
2010-11-25s4-dsdb: Switched to using a dictionary in create_ou for consistency.Nadezhda Ivanova1-4/+2
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Nov 25 14:12:52 CET 2010 on sn-devel-104
2010-11-25s4-dsdb: Fixed wrong assignment of name attribute to description atribute in ↵Nadezhda Ivanova1-1/+1
create_ou.
2010-11-25s4-tests: Modified speedtest.py to use samba.tests.delete_forceNadezhda Ivanova1-8/+3
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Nov 25 01:28:19 CET 2010 on sn-devel-104
2010-11-25s4-tests: Added a common definition of delete_force.Nadezhda Ivanova1-0/+6
2010-11-24s4-dsdb: Extended samdb.newgroup to set the group's security descriptor.Nadezhda Ivanova1-1/+5
2010-11-24s4-devel: we don't need to override these scripts nowAndrew Tridgell1-2/+0
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 24 01:02:43 CET 2010 on sn-devel-104
2010-11-23s4-dsdb: Changed filter to find the account of a user by samAccountNameNadezhda Ivanova1-2/+1
In newuser, a filter by dn was given to setpassword to find the account whose password is to be reset. It appears however that if given filter of type (dn=CN=smth) Windows fails to return the entry, and the tests that use newuser fail against it. Changed to use samAccountName instead.
2010-11-23s4-pfm_verify: Explicitly pass LoadParm() instance to system_session() functionKamen Mazdrashki1-1/+1
Otherwise system_session() creates a LoadParm() instance wich resets certain params to their defaults from smb.conf ("log level" for instance)
2010-11-23s4-dsdb: Extended samdb.newuser to accept security descriptor for the object ↵Nadezhda Ivanova1-3/+9
and optionally skip password reset Sometimes for testing purposes we create users without any permissions on their objects and password reset cannot be performed at that point, and is not necessary. For this purpose we can now optionally skip this step. The default is still to reset the user password. Also, a security.descriptor object can be specified during the user creation to override using the default one. defaultSecurityDescriptor is still used by default.
2010-11-23s4-dsdb: Added a python method to SamDB for creating organizationalUnitsNadezhda Ivanova1-1/+29
2010-11-23s4-dsdb: Added python helpers for getting and seting dSHeuristics to SamDBNadezhda Ivanova1-0/+24
2010-11-22s4-dsdb: Added a helper to python SamDB for retrieving and setting minPwdAge.Nadezhda Ivanova1-0/+15
2010-11-22s4-tests: Wrap connect_samdb() into a connect_samdb_ex() helperKamen Mazdrashki1-0/+18
Thus caller will be able to connect to SamDB and fetch RootDSE info in a single step
2010-11-22s4-samba.tests: Explicitly pass LoadParm() instance to system_session() functionKamen Mazdrashki1-1/+1
Otherwise system_session() creates a LoadParm() instance wich resets certain params to their defaults from smb.conf ("log level" for instance)
2010-11-22s4-pfm_verify: fix usage stringKamen Mazdrashki1-1/+1
Thanks Tridge!
2010-11-19wintest: moved to top levelAndrew Tridgell3-970/+0
the plan is to expand wintest to test a lot more of Samba against windows, including testing the Samba3 file server, winbind, nmbd etc
2010-11-18s4-wintest: reliability and usability improvementsAndrew Tridgell3-116/+166
- allow for missing VMs - improved VM names - added join of w2k3 to Samba domain - cope with w2k3 dcpromo output - wait for port 139 not 23, to avoid windows telnet server bug Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 18 23:56:11 CET 2010 on sn-devel-104
2010-11-18s4-rodc: enable the DRS_GET_ALL_GROUP_MEMBERSHIP flag for RODC replicationAndrew Tridgell1-1/+2
see the description of this flag in [MS-DRSR]
2010-11-18s4-join: initially disable the machine accountAndrew Tridgell1-1/+8
enable after a password is set
2010-11-18s4-drs: fixed a typoAndrew Tridgell1-1/+1
2010-11-18s4-wintest: remove files in var/ when reprovisioningAndrew Tridgell1-0/+1
2010-11-18s4-test: added --rebase and --clean optionsAndrew Tridgell1-1/+13
2010-11-18s4-test: use --fail-immediately for samba_dnsupdate testingAndrew Tridgell1-2/+2
2010-11-18s4-spnupdate: only enable NDR print at log level above 5Andrew Tridgell1-1/+4
2010-11-18s4-dns: added support for --fail-immediately for RODC netlogon dns updatesAndrew Tridgell1-0/+7
2010-11-18s4-samdb.py: Use ldb.get_default_basedn() to avoid RootDSE searchKamen Mazdrashki1-6/+1
2010-11-18s4-test: added greater control over tests to runAndrew Tridgell3-220/+320
now supports --list to list tests, and --skip to skip the named tests Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 18 04:29:24 UTC 2010 on sn-devel-104
2010-11-18s4-test: rename scripting/devel/howto to scripting/devel/wintestAndrew Tridgell3-0/+0
this won't just be for the howto anymore Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 18 00:45:18 UTC 2010 on sn-devel-104
2010-11-18s4-wintest: added wintest.py libraryAndrew Tridgell2-420/+462
converted test-howto.py to use the wintest library. The idea is for us to create other tests that test lots of different interactions with windows
2010-11-17s4-provision: don't test for xattrs if posix:eadb is setAndrew Tridgell1-0/+1
when it is set in smb.conf or on the command line, obey the setting and don't try to test for system xattr support
2010-11-17s4-provision: setup posix:eadb using lp.set()Andrew Tridgell1-5/+2
this allows it to override a setting made during the automatic testing of xattr support
2010-11-17s4-test: updates to test-howto.pyAndrew Tridgell2-59/+122
- handle clock skew using "net time" on windows after we open the telnet connection - allow checking for result lists in order - replicate all partitions after vampiring so we don't need to wait for periodic replication - use a krb5 ccache in the prefix for kinit based tests The complete test suite now passes on my system, taking just over 13 minutes to complete
2010-11-17s4-provision: add log messages about IP lookupAndrew Tridgell1-0/+2
the IPv6 lookup can be very slow if a DNS server in the search list is unavailable. It's good to let the user know what its doing.
2010-11-17s4-dns: catch more expections in samba_dnsupdateAndrew Tridgell1-1/+5
2010-11-17s4-test: added testing of w2k3 DC join to test-howto.pyAndrew Tridgell2-19/+105
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 17 01:16:19 UTC 2010 on sn-devel-104
2010-11-17s4-join: fixed join to w2k3Andrew Tridgell1-1/+1
w2k3 does need msDS-Behavior-Version
2010-11-17s4-join: show a reasonable error on DsAddEntry() failingAndrew Tridgell1-1/+6
DsAddEntry() gives errors in a reply container
2010-11-17s4-join: enable NDR printing at debug levels >= 5Andrew Tridgell1-2/+9
this is handy for debugging joins
2010-11-16s4-test: fixes for test-howto.pyAndrew Tridgell2-25/+36
this fixes some timing issues, plus ensures we test both with and without kerberos Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 16 07:58:55 UTC 2010 on sn-devel-104
2010-11-16samba-tool pwsettings Allow setting 'store cleartext'Andrew Bartlett1-2/+17
This allows the 'store cleartext' password policy flag to be (un)set. Andrew Bartlett
2010-11-15s4-join: not all versions of w2003 have msDS-SupportedEncryptionTypesAndrew Tridgell1-2/+4
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 15 22:28:16 UTC 2010 on sn-devel-104
2010-11-15s4-devel: a script to test the Samba4 HOWTOAndrew Tridgell2-0/+605
This provides a script that allows testing of most of the steps of the Samba4 HOWTO. The big difference between this and 'make test' is that it test against windows, using pexpect to control windows boxes via telnet. The info about VMs and other parameters are in separate conf files. I've included a sample config file that I use on my laptop.