Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-12-01 | s4-provision: fixed check for missing msDS-SupportedEncryptionTypes | Andrew Tridgell | 1 | -3/+2 | |
thanks to Jelmer for spotting this | |||||
2010-12-01 | s4-dns: catch all DNS exceptions in samba_dnsupdate | Andrew Tridgell | 1 | -4/+8 | |
2010-11-29 | s4-samdb: give a better exception if multiple users match in password change | Andrew Tridgell | 1 | -1/+2 | |
2010-11-29 | s4-samba-tool: fixed exception handling in subcommands | Andrew Tridgell | 13 | -74/+68 | |
this switches to the new pattern of: except Exception, e: raise CommandError("some error message", e) | |||||
2010-11-29 | s4-samba-tool: fixed ldb exception handling in domainlevel command | Andrew Tridgell | 1 | -4/+4 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-11-29 | s4-samba-tool: improved exception handling in samba-tool | Andrew Tridgell | 1 | -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-29 | s4-join: fixed exception handling in join command | Andrew Tridgell | 1 | -9/+10 | |
2010-11-29 | s4-ldapcmp: make ldapcmp a samba-tool command | Andrew Tridgell | 2 | -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-29 | s4-ldapcmp: fixed exception handling | Andrew Tridgell | 1 | -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-29 | s4-pyglue: added get_debug_level() method | Andrew Tridgell | 2 | -0/+8 | |
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-11-29 | s4-gpo: started on samba-tool gpo list command | Andrew Tridgell | 1 | -0/+99 | |
2010-11-29 | s4-samba-tool: started on gpo subcommands in python | Andrew Tridgell | 2 | -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-28 | samba.tests.hostconfig: Fix import. | Jelmer Vernooij | 1 | -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-28 | s4-python: Some reformatting for the purpose of pydoctor. | Jelmer Vernooij | 11 | -64/+105 | |
2010-11-28 | samba.upgradehelpers: Simplify code a bit. | Jelmer Vernooij | 1 | -21/+17 | |
2010-11-28 | samba.hostconfig: Move samba.shares into samba.hostconfig. | Jelmer Vernooij | 3 | -68/+57 | |
2010-11-28 | samba.getopt: Fix missing import of sys. | Jelmer Vernooij | 1 | -8/+14 | |
2010-11-28 | chgtdcpass: Fix program name in usage message. | Jelmer Vernooij | 1 | -5/+4 | |
2010-11-28 | Revert "s4:netcmd/drs.py - use "objectClass" for discovering the server and ↵ | Matthias Dieter Wallnöfer | 1 | -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-28 | samba.provision: Fix setup_path. | Jelmer Vernooij | 3 | -72/+73 | |
2010-11-28 | samba.provision: Add package with provision and backend modules. | Jelmer Vernooij | 3 | -323/+337 | |
2010-11-28 | s4-python: Fix formatting of docstrings for the purpose of pydoctor. | Jelmer Vernooij | 6 | -104/+114 | |
2010-11-28 | samba.tests: Fix formatting. | Jelmer Vernooij | 1 | -22/+25 | |
2010-11-28 | s4-samba-tool: support help, and show description of commands | Andrew Tridgell | 1 | -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-28 | s4-drs: fixed credit for C version | Andrew Tridgell | 1 | -0/+2 | |
2010-11-27 | s4:netcmd/drs.py - use "objectClass" for discovering the server and it's ↵ | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
NTDS settings object Small optimisation: we don't need to look for "nTDSDSARO" since it's a subclass of "ntDSDSA". Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 27 23:35:13 CET 2010 on sn-devel-104 | |||||
2010-11-27 | show_test_time: Move to root scripting directory as it's useful for s3 | Jelmer Vernooij | 1 | -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-28 | s4-samba-tool: switched over to python version of samba-tool drs | Andrew Tridgell | 1 | -0/+2 | |
2010-11-28 | s4-samba-tool: added python implementation of samba-tool drs commands | Andrew Tridgell | 1 | -0/+402 | |
much simpler than the C code, and this brings us one step closer to a python samba-tool | |||||
2010-11-28 | s4-pyglue: expose the remaining NTTIME functions from glue | Andrew Tridgell | 1 | -0/+3 | |
2010-11-28 | s4-samba-tool: fixed "-k no" for disabling kerberos auth | Andrew Tridgell | 1 | -2/+4 | |
The option "-k no" was not correctly disabling kerberos in python programs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-11-26 | s4-provision: fixed eadb automatic and manual setting in provision | Andrew Tridgell | 2 | -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-26 | s4-provision: don't try to look for an IPv6 address when not specified | Andrew Tridgell | 1 | -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-25 | s4-tests: Modified create_ou to only accept security.descriptor type for sd ↵ | Nadezhda Ivanova | 1 | -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-25 | s4-dsdb: Switched to using a dictionary in create_ou for consistency. | Nadezhda Ivanova | 1 | -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-25 | s4-dsdb: Fixed wrong assignment of name attribute to description atribute in ↵ | Nadezhda Ivanova | 1 | -1/+1 | |
create_ou. | |||||
2010-11-25 | s4-tests: Modified speedtest.py to use samba.tests.delete_force | Nadezhda Ivanova | 1 | -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-25 | s4-tests: Added a common definition of delete_force. | Nadezhda Ivanova | 1 | -0/+6 | |
2010-11-24 | s4-dsdb: Extended samdb.newgroup to set the group's security descriptor. | Nadezhda Ivanova | 1 | -1/+5 | |
2010-11-24 | s4-devel: we don't need to override these scripts now | Andrew Tridgell | 1 | -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-23 | s4-dsdb: Changed filter to find the account of a user by samAccountName | Nadezhda Ivanova | 1 | -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-23 | s4-pfm_verify: Explicitly pass LoadParm() instance to system_session() function | Kamen Mazdrashki | 1 | -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-23 | s4-dsdb: Extended samdb.newuser to accept security descriptor for the object ↵ | Nadezhda Ivanova | 1 | -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-23 | s4-dsdb: Added a python method to SamDB for creating organizationalUnits | Nadezhda Ivanova | 1 | -1/+29 | |
2010-11-23 | s4-dsdb: Added python helpers for getting and seting dSHeuristics to SamDB | Nadezhda Ivanova | 1 | -0/+24 | |
2010-11-22 | s4-dsdb: Added a helper to python SamDB for retrieving and setting minPwdAge. | Nadezhda Ivanova | 1 | -0/+15 | |
2010-11-22 | s4-tests: Wrap connect_samdb() into a connect_samdb_ex() helper | Kamen Mazdrashki | 1 | -0/+18 | |
Thus caller will be able to connect to SamDB and fetch RootDSE info in a single step | |||||
2010-11-22 | s4-samba.tests: Explicitly pass LoadParm() instance to system_session() function | Kamen Mazdrashki | 1 | -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-22 | s4-pfm_verify: fix usage string | Kamen Mazdrashki | 1 | -1/+1 | |
Thanks Tridge! | |||||
2010-11-19 | wintest: moved to top level | Andrew Tridgell | 3 | -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 |