summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* lib/util/charset: Improve toture assertions in iconv testAndrew Bartlett2011-09-101-1/+14
|
* lib/util/charset Run charset sets with and without the system iconvAndrew Bartlett2011-09-105-14/+37
| | | | | | | | We need to know that we can load the samba-provided modules, and that they are correct. However, we must mark a number of tests as knownfail due to errors in our internal iconv modules. Andrew Bartlett
* lib/util/charset: add back loading of charset modulesAndrew Bartlett2011-09-103-39/+76
| | | | | | | | | | | | | | For autoconf builds these remain as modules, for waf builds they are built into the charset library. This is required to provide the CP850 charset when iconv is not available. The charset modules static for the waf builds because with proper shared libs, there isn't the same need for these to be in seperate .so files. The modules are also not produced if a system iconv is found, except for developers, to allow testing of both code paths. Andrew Bartlett
* libcli/smb: s/FLAGS2_UNKNOWN_BIT4/FLAGS2_SMB_SECURITY_SIGNATURES_REQUIREDStefan Metzmacher2011-09-102-2/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Sep 10 00:34:50 CEST 2011 on sn-devel-104
* s4-s3-upgrade Do not use python 2.6 style exceptionsAndrew Bartlett2011-09-091-2/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Sep 9 08:54:16 CEST 2011 on sn-devel-104
* build: a more robust zlib testAndrew Bartlett2011-09-091-1/+4
| | | | | | | Just in-case, and done this way due to the #define maze that applies to this function. No actual host has been found that needs this yet. Andrew Bartlett
* samba-tool: epilog option to OptionParser available in python >= 2.6Amitay Isaacs2011-09-095-8/+5
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Provide feedback if synopsis is not defined for a commandAmitay Isaacs2011-09-091-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: max() with key option is available in python >= 2.6Amitay Isaacs2011-09-091-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Correctly handle sys.exit() called from subcommandAmitay Isaacs2011-09-091-1/+3
| | | | | | | Catch SystemExit exception if any subcommand calls sys.exit() and return with failure (-1). Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "ldapcmp" command synopsisGiampaolo Lauria2011-09-091-1/+1
| | | | | | | Fixed "ldapcmp" command syntax Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "dbcheck" subcommand syntaxGiampaolo Lauria2011-09-091-1/+1
| | | | | | | Fixed syntax for "dbcheck" subcommand Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Moved _get_user_realm_domain fcn to commonGiampaolo Lauria2011-09-093-47/+29
| | | | | | | _get_user_realm_domain is used by both delegation and spn commands Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "testparm" syntaxGiampaolo Lauria2011-09-091-1/+1
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "user" command syntaxGiampaolo Lauria2011-09-091-1/+2
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "rodc" syntaxGiampaolo Lauria2011-09-091-1/+3
| | | | | | | Remove options from syntax to be consistent w/ the rest of commands Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "ntacl" subcommands syntaxGiampaolo Lauria2011-09-091-2/+2
| | | | | | | Removed options from syntax Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "group" subcommands syntaxGiampaolo Lauria2011-09-091-4/+4
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "dsacl" command syntaxGiampaolo Lauria2011-09-091-1/+1
| | | | | | | Removed option from syntax to be consistent w/ the rest of commands Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "drs" subcommands syntaxGiampaolo Lauria2011-09-091-8/+17
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "domain" subcommands syntaxGiampaolo Lauria2011-09-091-7/+8
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "spn" command syntaxGiampaolo Lauria2011-09-091-5/+17
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "delegation" command syntaxGiampaolo Lauria2011-09-091-7/+24
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "time" command synopsisGiampaolo Lauria2011-09-091-1/+1
| | | | | | | | "server_name" is an optional parameter added "options" parameter Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Removed "acl" commandGiampaolo Lauria2011-09-092-36/+0
| | | | | | | | Removed "acl" command as it has been changed to: "dsacl" and "ntacl" Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Added "ntacl" commandGiampaolo Lauria2011-09-093-7/+13
| | | | | | | Added "ntacl" command to substitute "acl nt" command Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Added "dsacl" commandGiampaolo Lauria2011-09-093-5/+9
| | | | | | | Added "dsacl" command to substitute "acl ds" Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Changed fsmo implementationGiampaolo Lauria2011-09-091-68/+130
| | | | | | | Changed fsmo code to fit the object <action> model Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Expanded acronym descriptionsGiampaolo Lauria2011-09-099-8/+9
| | | | | | | | Expanded command acronym descriptions Added footnote for "server connection needed" Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Formatted subcommand list outputGiampaolo Lauria2011-09-091-1/+2
| | | | | | | | Formatted output of subcommand list to be a function of the max number of chars in the longest string Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Moved command definition to sambatool commandGiampaolo Lauria2011-09-092-42/+36
| | | | | | | Moved subcommand definition from __init__.py to cmd_sambatool class Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Add long_description and epilog to Command classGiampaolo Lauria2011-09-091-1/+6
| | | | | | | | | | | long_description and epilog should now be defined for each command. Their string value will be printed whenever the user invokes the command w/ the -h or --help long_desciption will be printed after the usage statement. epilog will be printed after the options are defined Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Redefined samba-tool as a SuperCommandGiampaolo Lauria2011-09-092-33/+12
| | | | | | | | | Removed MainCommand class as samba-tool is a SuperCommand Redefined samba-tool as a SuperCommand Fixed error handling in SuperCommand _run Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Removed SuperCommand usage methodGiampaolo Lauria2011-09-091-7/+0
| | | | | | | Removed usage method as it is not being used anywhere Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Removed attribute name from Command classGiampaolo Lauria2011-09-091-21/+12
| | | | | | | | Removed name as it is not used anywhere Moved all the attributes on top of the class declaration Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-test: name attribute remove from Command class, so test not requiredAmitay Isaacs2011-09-091-6/+0
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-spoolss: Fix bug #8351 forms migration.Andreas Schneider2011-09-091-0/+4
| | | | | | | | | Don't fail if the form already exists (or is builtin now). Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Sep 9 03:21:42 CEST 2011 on sn-devel-104
* s4-s3-upgrade do not convert min password length as a timeAndrew Bartlett2011-09-091-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Sep 9 01:53:55 CEST 2011 on sn-devel-104
* Second part of fix for bug #8443 - Default user entry is set to minimal ↵Jeremy Allison2011-09-091-8/+11
| | | | | | | | | permissions on incoming ACL change with no user specified. Be smarter about setting default permissions when a ACL_USER_OBJ isn't given. Use the principle of least surprises for the user. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Sep 9 00:26:08 CEST 2011 on sn-devel-104
* First part of fix for bug #8443 - Default user entry is set to minimal ↵Jeremy Allison2011-09-081-58/+2
| | | | | | | permissions on incoming ACL change with no user specified. create_default_mode() is not needed - it's taken care of by code inside ensure_canon_entry_valid().
* Fix bug #8203 - winbindd needs to reset the DC connection if an RPC times out.Jeremy Allison2011-09-081-15/+66
| | | | | | | | Based on Volker's original code. (cherry picked from commit 5b5ef7f20d34f4c6c1d3d02530ac7b13e051c960) Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 8 21:29:53 CEST 2011 on sn-devel-104
* s3:torture: make use of CLI_FULL_CONNECTION_DONT_SPNEGOStefan Metzmacher2011-09-081-4/+11
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 8 19:23:32 CEST 2011 on sn-devel-104
* s3:torture: make use of CLI_FULL_CONNECTION_FORCE_DOS_ERRORSStefan Metzmacher2011-09-081-1/+8
| | | | metze
* s3:libsmb: add CLI_FULL_CONNECTION_FORCE_ASCIIStefan Metzmacher2011-09-083-1/+12
| | | | metze
* s3:libsmb: add CLI_FULL_CONNECTION_FORCE_DOS_ERRORSStefan Metzmacher2011-09-082-1/+5
| | | | metze
* s3:libsmb: don't handle CLI_FULL_CONNECTION_* flags in cli_full_connection()Stefan Metzmacher2011-09-081-4/+0
| | | | | | This is already done by cli_state_create(). metze
* s3:libsmb: don't handle CLI_FULL_CONNECTION_* flags in cli_start_connection()Stefan Metzmacher2011-09-081-13/+0
| | | | | | This is already done by cli_state_create(). metze
* s4-param void function cannot return valueAndrew Bartlett2011-09-081-1/+2
| | | | | | | | | This is even if the returned function is void, on Solaris. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Sep 8 16:38:30 CEST 2011 on sn-devel-104
* s3-loadparm: fixed re-application of cmdline parametric optionsAndrew Tridgell2011-09-081-1/+4
| | | | | | | this ensures that cmdline parametric options are re-applied when we reload smb.conf Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-loadparm: fixed a memory leak in parametric optionsAndrew Tridgell2011-09-081-1/+2
| | | | | | | before we memset the Globals structure we need to free any global parametrics Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>