summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2010-12-15join: Properly cancel transaction on exceptions.Jelmer Vernooij1-35/+44
2010-12-15Move get_loadparm() and get_credentials() to samba.tests.TestCase.Jelmer Vernooij1-8/+15
2010-12-12s4:scripting/python/pyglue.c - add a OOM handlingMatthias Dieter Wallnöfer1-0/+4
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 12 20:50:55 CET 2010 on sn-devel-104
2010-12-12s4:scripting/python/pyglue.c - optimise includesMatthias Dieter Wallnöfer1-4/+0
2010-12-10s4-tests: Moved some commonly redefined security descriptor methods to a ↵Nadezhda Ivanova1-0/+79
utils class These methods are used in more than one testsuite now so they are now in a utility class instead of being defined everywhere.
2010-12-10subunitrun: Use unittest.TestProgram if subunit.TestProgram is notJelmer Vernooij2-27/+12
available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 10 03:49:03 CET 2010 on sn-devel-104
2010-12-10s4-python: Add convenience function for forcibly importing bundledJelmer Vernooij2-4/+17
package.
2010-12-10subunitrun: Extend hack to cope with older system subunit run installs.Jelmer Vernooij1-0/+2
2010-12-10subunitrun: Remove global subunit module when reimporting from aJelmer Vernooij1-1/+6
different location.
2010-12-10s4-python: Fix use of bundled modules.Jelmer Vernooij1-1/+1
2010-12-10s4-python: Split up ensure_external_module.Jelmer Vernooij2-10/+23
2010-12-10subunitrun: Support --list.Jelmer Vernooij1-3/+8
2010-12-09build: do not duplicate the checks for python in samba4Matthieu Patou1-12/+0
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Dec 9 00:47:23 CET 2010 on sn-devel-104
2010-12-08s4-param Allow +foo syntax in smb.conf list parsingAndrew Bartlett1-2/+3
The idea here is to allow an smb.conf file to work from the defaults, rather than override them. For example, 'server services = +openchange'. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Dec 8 09:39:06 CET 2010 on sn-devel-104
2010-12-08samba-tools: more reasonable defaults for samba-tool commandsAndrew Tridgell13-53/+79
- fallback to machine account where possible - default to local hostname where this is reasonable
2010-12-08samba-tools: export doesn't need any credentialsAndrew Tridgell1-2/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-12-08s4-provision Always run slaptest to convert the config fileAndrew Bartlett1-13/+13
If the directory exists, it does not mean that it is configured - we may be on a re-run of the provision. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Dec 8 05:19:12 CET 2010 on sn-devel-104
2010-12-08s4-provision Add an invalid names check for 'domain == netbiosname'Andrew Bartlett1-1/+4
(This is also invalid) Andrew Bartlett
2010-12-05s4-python: Add more module docstrings.Jelmer Vernooij10-3/+23
2010-12-05s4-python: Add some more module docstrings.Jelmer Vernooij16-0/+33
2010-12-02s4:password_hash LDB module - allow empty ("") passwordsMatthias Dieter Wallnöfer1-0/+30
This seems to have been broken some time ago - till someone on the mailing list noticed it. I've also added a testsuite (and some additional SamDB python helpers) which should prove this.
2010-12-02s4/scripting/ktpass: make shell code portable and eliminate another bash ↵Björn Jacke1-4/+4
requirement Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Thu Dec 2 11:20:42 CET 2010 on sn-devel-104
2010-12-01s4-drs: cope with invalid NTDS DNs from DsReplicaInfo()Andrew Tridgell1-2/+5
w2k3 sometimes returns a deleted DN Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 1 07:48:19 CET 2010 on sn-devel-104
2010-12-01s4-samba-tool Show when we have created the user successfullyAndrew Bartlett1-0/+1
2010-12-01s4-drs: the options attribute is optional on NTDSDSA objectsAndrew Tridgell1-1/+1
2010-12-01s4-provision: fixed check for missing msDS-SupportedEncryptionTypesAndrew Tridgell1-3/+2
thanks to Jelmer for spotting this
2010-12-01s4-dns: catch all DNS exceptions in samba_dnsupdateAndrew Tridgell1-4/+8
2010-11-29s4-samdb: give a better exception if multiple users match in password changeAndrew Tridgell1-1/+2
2010-11-29s4-samba-tool: fixed exception handling in subcommandsAndrew Tridgell13-74/+68
this switches to the new pattern of: except Exception, e: raise CommandError("some error message", e)
2010-11-29s4-samba-tool: fixed ldb exception handling in domainlevel commandAndrew Tridgell1-4/+4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-29s4-samba-tool: improved exception handling in samba-toolAndrew Tridgell1-5/+44
we now do reasonable printing on a wide range of common exception classes, and always force a backtrace on an exception if the debug level is >= 3 Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-11-29s4-join: fixed exception handling in join commandAndrew Tridgell1-9/+10
2010-11-29s4-ldapcmp: make ldapcmp a samba-tool commandAndrew Tridgell2-91/+105
The ldapcmp tool is very useful, and should be available to Samba admins, not just developers. This makes it a samba-tool command, which also gives it the nicer command line handling that samba-tool has
2010-11-29s4-ldapcmp: fixed exception handlingAndrew Tridgell1-19/+17
This pattern, which is common in our code, is wrong: except LdbError, (ERR_NO_SUCH_OBJECT, _): what it actually does it to change the value of ldb.ERR_NO_SUCH_OBJECT to be equal to whatever ldb error occurred! This led to some really bizarre behavior
2010-11-29s4-pyglue: added get_debug_level() methodAndrew Tridgell2-0/+8
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-11-29s4-gpo: started on samba-tool gpo list commandAndrew Tridgell1-0/+99
2010-11-29s4-samba-tool: started on gpo subcommands in pythonAndrew Tridgell2-0/+122
this adds the listall GPO command. Currently the python variants are available as "samba-tool gpo2 SUBCOMMAND". These will replace the "samba-tool gpo" commands when complete
2010-11-28samba.tests.hostconfig: Fix import.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 28 18:08:33 CET 2010 on sn-devel-104
2010-11-28s4-python: Some reformatting for the purpose of pydoctor.Jelmer Vernooij11-64/+105
2010-11-28samba.upgradehelpers: Simplify code a bit.Jelmer Vernooij1-21/+17
2010-11-28samba.hostconfig: Move samba.shares into samba.hostconfig.Jelmer Vernooij3-68/+57
2010-11-28samba.getopt: Fix missing import of sys.Jelmer Vernooij1-8/+14
2010-11-28chgtdcpass: Fix program name in usage message.Jelmer Vernooij1-5/+4
2010-11-28Revert "s4:netcmd/drs.py - use "objectClass" for discovering the server and ↵Matthias Dieter Wallnöfer1-2/+2
it's NTDS settings object" This reverts commit b87c3703cf890bd55340a201536073bd2be1e1d8. Andrew Bartlett told me that exactly the opposite is true - the "objectCategory" lookup is performing better. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 28 14:18:41 CET 2010 on sn-devel-104
2010-11-28samba.provision: Fix setup_path.Jelmer Vernooij3-72/+73
2010-11-28samba.provision: Add package with provision and backend modules.Jelmer Vernooij3-323/+337
2010-11-28s4-python: Fix formatting of docstrings for the purpose of pydoctor.Jelmer Vernooij6-104/+114
2010-11-28samba.tests: Fix formatting.Jelmer Vernooij1-22/+25
2010-11-28s4-samba-tool: support help, and show description of commandsAndrew Tridgell1-7/+7
when you don't specify a subcommand, show the description of the subcommands in the list of available subcommands. Also show the list of subcommands when you use 'help', '--help' or '-h' as a subcommand Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Nov 28 01:56:46 CET 2010 on sn-devel-104
2010-11-28s4-drs: fixed credit for C versionAndrew Tridgell1-0/+2