summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-28s3:split_tokens: fix a nonempty blank lineMichael Adam1-1/+1
2011-07-28s3: use lp_load_global() in smbw_sample -- whatever this is ... :-)Michael Adam1-1/+1
2011-07-28s3:smbtree: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:smbpasswd: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:smbfilter: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:smbcquotas: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:smbcontrol: use lp_load_global(): smbcontrol does not need to load the sharesMichael Adam1-1/+1
2011-07-28s3:smbcacls: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:pdbedit: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:ntlm_auth: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:nmblookup: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:net: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:eventlogadm: use lp_load_global()Michael Adam1-2/+2
2011-07-28s3:dbwrap_torture: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:dbwrap_tool: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:smbtorture: use the lp_load_global() wrapper of lp_load()Michael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the strstr testMichael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global in the strcmp testMichael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the push_ucs2 testMichael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the msgtestMichael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the masktestMichael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in locktest2Michael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the locktestMichael Adam1-1/+1
2011-07-28s3:rpcclient: use the lp_load_global() wrapper of lp_load()Michael Adam1-1/+1
2011-07-28s3:nmbd: use the lp_load_global() wrapper of lp_load()Michael Adam1-1/+1
2011-07-28s3:libnet_join: use lp_load_global() wrapper of lp_load()Michael Adam1-2/+2
2011-07-28s3:libsmbconf: use lp_load_global() in the testsuiteMichael Adam1-6/+1
2011-07-28s3:libnetapi: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:loadparm: make lp_set_in_client() static - only used in wrappers in ↵Michael Adam2-2/+1
loadparm now.
2011-07-28s3:pam_smbpass: use lp_load_client() in pam_smbpassMichael Adam4-4/+1
2011-07-28s3:libsmb: use lp_load_client() and lp_load_client_no_reinit() in libsmb_contextMichael Adam1-5/+3
2011-07-28s3:loadparm: add wrapper lp_load_client_no_reinit()Michael Adam2-0/+11
2011-07-28s3:loadparm: add wrapper lp_load_globals_no_reinit()Michael Adam2-0/+17
2011-07-28s3:libsmb: fix a call to lp_load to reinit the globals in any caseMichael Adam1-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-28s3:smbspool: use lp_load_client()Michael Adam2-4/+2
2011-07-28s3:smbclient: use lp_load_client()Michael Adam1-3/+1
2011-07-28s3:loadparm: make lp_is_in_client() static - only used inside loadparmMichael Adam2-2/+1
2011-07-28s3:loadparm: add lp_load_client() that also sets the client state internallyMichael Adam2-0/+11
2011-07-28s3:loadparm: add a convenience wrapper lp_load_global()Michael Adam2-0/+15
This is the use case for most callers, especially the client tools.
2011-07-28s3:loadparm: rename parameter "allow_registry_shares" to "load_all_shares"Michael Adam1-6/+6
2011-07-28samba-tool: ensure prompting of passwords is in the right orderAndrew Tridgell1-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-28samba-tool: Added gpo fetch command implementation using python smb module.Amitay Isaacs1-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-28samba-tool: Change samba-tool gpo semantics (use gpo name instead of dn)Amitay Isaacs1-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-28s4-libcli: Initialize stack structure variables to zero.Amitay Isaacs1-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-28tests-blackbox: Revert the test to use user-level change password commandAmitay Isaacs1-1/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28test-blackbox: use python version of change password commandAmitay Isaacs1-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-28test-blackbox: Rearrange arguments for samba-tool user setpassword commandAmitay Isaacs1-1/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28test-blackbox: Remove 'domain\' from username for samba-tool user setpasswordAmitay Isaacs1-2/+2
Python version of samba-tool does not require 'domain\' prefix for username. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28test-blackbox: Rearrange the arguments in required order for samba-tool timeAmitay Isaacs1-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-28samba-tool: Add user password command to change user's own passwordAmitay Isaacs1-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>