Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-07-28 | s3:torture: use lp_load_global in the strcmp test | Michael Adam | 1 | -1/+1 | |
2011-07-28 | s3:torture: use lp_load_global() in the push_ucs2 test | Michael Adam | 1 | -1/+1 | |
2011-07-28 | s3:torture: use lp_load_global() in the msgtest | Michael Adam | 1 | -1/+1 | |
2011-07-28 | s3:torture: use lp_load_global() in the masktest | Michael Adam | 1 | -1/+1 | |
2011-07-28 | s3:torture: use lp_load_global() in locktest2 | Michael Adam | 1 | -1/+1 | |
2011-07-28 | s3:torture: use lp_load_global() in the locktest | Michael Adam | 1 | -1/+1 | |
2011-07-28 | s3:rpcclient: use the lp_load_global() wrapper of lp_load() | Michael Adam | 1 | -1/+1 | |
2011-07-28 | s3:nmbd: use the lp_load_global() wrapper of lp_load() | Michael Adam | 1 | -1/+1 | |
2011-07-28 | s3:libnet_join: use lp_load_global() wrapper of lp_load() | Michael Adam | 1 | -2/+2 | |
2011-07-28 | s3:libsmbconf: use lp_load_global() in the testsuite | Michael Adam | 1 | -6/+1 | |
2011-07-28 | s3:libnetapi: use lp_load_global() | Michael Adam | 1 | -1/+1 | |
2011-07-28 | s3:loadparm: make lp_set_in_client() static - only used in wrappers in ↵ | Michael Adam | 2 | -2/+1 | |
loadparm now. | |||||
2011-07-28 | s3:pam_smbpass: use lp_load_client() in pam_smbpass | Michael Adam | 4 | -4/+1 | |
2011-07-28 | s3:libsmb: use lp_load_client() and lp_load_client_no_reinit() in libsmb_context | Michael Adam | 1 | -5/+3 | |
2011-07-28 | s3:loadparm: add wrapper lp_load_client_no_reinit() | Michael Adam | 2 | -0/+11 | |
2011-07-28 | s3:loadparm: add wrapper lp_load_globals_no_reinit() | Michael Adam | 2 | -0/+17 | |
2011-07-28 | s3:libsmb: fix a call to lp_load to reinit the globals in any case | Michael Adam | 1 | -1/+1 | |
The potential previous lp_load of $HOME/.smb/smb.conf might have failed halfway through and might have left globals initialized in an unwanted state. So we should make sure to clean up before loading the dyn_CONFIGFILE() | |||||
2011-07-28 | s3:smbspool: use lp_load_client() | Michael Adam | 2 | -4/+2 | |
2011-07-28 | s3:smbclient: use lp_load_client() | Michael Adam | 1 | -3/+1 | |
2011-07-28 | s3:loadparm: make lp_is_in_client() static - only used inside loadparm | Michael Adam | 2 | -2/+1 | |
2011-07-28 | s3:loadparm: add lp_load_client() that also sets the client state internally | Michael Adam | 2 | -0/+11 | |
2011-07-28 | s3:loadparm: add a convenience wrapper lp_load_global() | Michael Adam | 2 | -0/+15 | |
This is the use case for most callers, especially the client tools. | |||||
2011-07-28 | s3:loadparm: rename parameter "allow_registry_shares" to "load_all_shares" | Michael Adam | 1 | -6/+6 | |
2011-07-28 | samba-tool: ensure prompting of passwords is in the right order | Andrew Tridgell | 1 | -1/+3 | |
ask the creds object for the password before prompting for the new password in the user password change code, to ensure the user is asked for the old password first Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Jul 28 08:35:45 CEST 2011 on sn-devel-104 | |||||
2011-07-28 | samba-tool: Added gpo fetch command implementation using python smb module. | Amitay Isaacs | 1 | -0/+94 | |
To copy the GPO files, use libcli python interface list() to get directory listing and loadfile() to read the contents of the file. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | samba-tool: Change samba-tool gpo semantics (use gpo name instead of dn) | Amitay Isaacs | 1 | -78/+124 | |
Instead of using gpo dn as the key to refer to a gpo, use the gpo name as the key. If no URL is specified (-H option), find a writable DC and use that. Extract a commonly used method as get_gpo_info() to find details of a GPO. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | s4-libcli: Initialize stack structure variables to zero. | Amitay Isaacs | 1 | -14/+45 | |
Update do_smb_connect function to return NTSTATUS rather than raise python exception on error. Error checking done in py_smb_new(). Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | tests-blackbox: Revert the test to use user-level change password command | Amitay Isaacs | 1 | -1/+1 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | test-blackbox: use python version of change password command | Amitay Isaacs | 1 | -7/+7 | |
Replace the "samba-tool user setpassword" command with user level "samba-tool user password" command. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | test-blackbox: Rearrange arguments for samba-tool user setpassword command | Amitay Isaacs | 1 | -1/+1 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | test-blackbox: Remove 'domain\' from username for samba-tool user setpassword | Amitay Isaacs | 1 | -2/+2 | |
Python version of samba-tool does not require 'domain\' prefix for username. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | test-blackbox: Rearrange the arguments in required order for samba-tool time | Amitay Isaacs | 1 | -1/+1 | |
Python version of samba-tool requires the command and the subcommand to be specified before the options. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | samba-tool: Add user password command to change user's own password | Amitay Isaacs | 1 | -0/+33 | |
This command is a user-level command and differs from setpassword command which is administrator command. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | s4-libnet: py_net Add change_password() python command | Amitay Isaacs | 1 | -0/+53 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | s4-libnet: py_net - Remove parsing for credentials argument | Amitay Isaacs | 1 | -5/+6 | |
py_creds are not used anywhere in the function. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | samba-tool: Python routine to find writable/ldap-capable DC | Amitay Isaacs | 1 | -0/+13 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | s4-libcli: Added python interface for file I/O using SMB | Amitay Isaacs | 2 | -0/+393 | |
This module will support file system access using SMB. based on smb_composite - loadfile(), savefile() based on raw - getacl(), setacl() Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | samba-tool: For samba-tool-c, help lists commands implemented only in C | Amitay Isaacs | 1 | -1/+1 | |
The rest of the commands are available in python version of samba-tool. C version of samba-tool is for testing only and will be phased out once all the commands are ported to python. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | s4-param: Fix object names for python objects PyLoadparm and PyLoadparmContext | Amitay Isaacs | 1 | -2/+2 | |
Use the object names <modulename>.<objectname> to correctly generate the object hierarchy in pydoc. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | samba-tool: Catch exceptions at top-level and exit with correct return value | Amitay Isaacs | 1 | -1/+5 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | samba-tool: Display usage for main commands and list them alphabetically | Amitay Isaacs | 1 | -31/+35 | |
This makes the MainCommand class similar to SuperCommand class in netcmd. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | samba-tool: Raise exception on errors and report using base class | Amitay Isaacs | 1 | -10/+3 | |
Exceptions are captured at top-level samba-tool and reported using the base class (Command) method show_command_error(). Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | samba-tool: Display Usage line and list commands alphabetically | Amitay Isaacs | 1 | -3/+6 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | samba-tool: Replace C version of samba-tool with python version | Amitay Isaacs | 4 | -5/+5 | |
C version of samba-tool is now called samba-tool-c, which will be removed as soon as all the samba-tool commands are ported to python. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | samba-tool: Added python version of samba-tool | Amitay Isaacs | 1 | -0/+70 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | s4auth: Fix the object name for Py_Security | Amitay Isaacs | 1 | -1/+1 | |
Use the object names as <modulename>.<objectname> to correctly generate the object hierarchy in pydoc. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | s4auth: Fix the object names for PyCredentials and PyCredentialCacheContainer | Amitay Isaacs | 1 | -2/+2 | |
Use the object names as <modulename>.<objectname> to correctly generate the object hierarchy in pydoc. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | s4auth: Remove duplicate assignment of structure variable | Amitay Isaacs | 1 | -1/+0 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | ldb-samba: Allow --show-binary flag on defaultSecurityDescriptor | Amitay Isaacs | 2 | -0/+31 | |
This allows users to display defaultSecurityDescriptor in fully expanded form. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | ldb: Expose ldb_handler_fold() funcion | Amitay Isaacs | 1 | -6/+11 | |
This allows creation of derived syntax handlers from the base directory string. Signed-off-by: Andrew Tridgell <tridge@samba.org> |