summaryrefslogtreecommitdiffstats
path: root/source3/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-net: Implemented net rpc conf listshares command.Vicentiu Ciorbaru2011-08-221-1/+94
| | | | | | The function prints the names of the remote shares found, one per line. Signed-off-by: Michael Adam <obnox@samba.org>
* s3-net: Added net rpc conf listshares command to net rpc confVicentiu Ciorbaru2011-08-221-0/+14
| | | | | | The function only appears in the commands list usage of net rpc conf. Signed-off-by: Michael Adam <obnox@samba.org>
* s3-net: rpc_conf_list now uses the wrapper rpc_conf_open_confVicentiu Ciorbaru2011-08-221-24/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-net: Added rpc_conf_open_conf functionVicentiu Ciorbaru2011-08-221-0/+82
| | | | | | | The function is used as a wrapper to open the HKLM hive key and the smbconf key. Signed-off-by: Michael Adam <obnox@samba.org>
* s3-net: Added the net rpc conf list command.Vicentiu Ciorbaru2011-08-221-1/+382
| | | | | | | | The command make use of the smbconf_service struct, via the function rpc_conf_get_share(). This allows for further expansion with the use of smbconf. Signed-off-by: Michael Adam <obnox@samba.org>
* s3-net: Added the command rpc conf to the net binary.Vicentiu Ciorbaru2011-08-223-0/+57
| | | | | | | The net binary now has an extra item linked to it, the net_rpc_conf.c module. Signed-off-by: Michael Adam <obnox@samba.org>
* s3-net: Fixed whitespace errorsVicentiu Ciorbaru2011-08-221-7/+7
| | | | | | Fixed previously existing whitespace errors in net_rpc.c Signed-off-by: Michael Adam <obnox@samba.org>
* s3-id_cache: Use better names for id cache management opsAndreas Schneider2011-08-211-3/+3
| | | | | | | The IDMAP term is normally associated with Winbind's idmap stuff. These functions deal with id caching not id mapping. Signed-off-by: Simo Sorce <idra@samba.org>
* s3-passdb: Replace SMB_MALLOC_ARRAY()/SAFE_FREE() with talloc equivalents.Amitay Isaacs2011-08-192-8/+9
| | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-net: Fixed a small typo in net conf function tableVicentiu Ciorbaru2011-08-081-1/+1
| | | | | | | The description of the function net conf delincludes had a wrong usage message: "net conf setincludes" instead of "net conf delincludes". Signed-off-by: Michael Adam <obnox@samba.org>
* s3-net: Fixed typo in net confVicentiu Ciorbaru2011-08-081-1/+1
| | | | | | | | | There was a missing ']' in net conf addshare usage message. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Aug 8 16:44:08 CEST 2011 on sn-devel-104
* s3-ntlmssp Remove rpccli_get_pwd_hash and auth_ntlmssp_get_nt_hashAndrew Bartlett2011-08-031-6/+6
| | | | | | | | | | | | | | | | | | | The session key we want here (the only one that is availble to the encryption layer) is the one obtained by cli_get_session_key(), as NTLMSSP creates a per-session session key via key exchange and NTLMv2 negotiation. The key was never directly the NT hash anyway (this is simply a mistake, the extra MD4() was lost during my previous cleanup f28f113d8e76824b080359c90efd9c92de533740 in 2008), but was MD4(NT hash) in early implementations of NTLMSSP. However, regardless this call is not available on domain trusts between AD domains and Windows 2003 R2, making this less useful. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-ntlmssp Remove calls to auth_ntlmssp_and_flags from the serverAndrew Bartlett2011-08-031-0/+4
| | | | | | | | | | | | This is changed so that the callers ask for the additional flags that they need, starting with no additional flags. This helps to create a proper abstraction layer in ntlmssp_wrap/auth_ntlmssp. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3:net_rpc: make use of cli_state_protocol()Stefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam2011-07-296-6/+6
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
* s3:dbwrap: move db_open() to a file dbwrap_open.c of its own.Michael Adam2011-07-295-0/+5
| | | | | | Also start new folder lib/dbwrap/ where dbwrap_open.c is stored and make the fallbacke implementation functoins non-static and create a dbwrap_private.h header file that contains their prototypes.
* s3:smbstatus: use lp_load_global() - smbstatus does not need to load shares!Michael Adam2011-07-281-1/+1
|
* s3:split_tokens: use lp_load_global(), fixing the call to lp_load()Michael Adam2011-07-281-1/+1
| | | | this does not need share and it dos not need to save defaults
* s3:split_tokens: fix a nonempty blank lineMichael Adam2011-07-281-1/+1
|
* s3: use lp_load_global() in smbw_sample -- whatever this is ... :-)Michael Adam2011-07-281-1/+1
|
* s3:smbtree: use lp_load_global()Michael Adam2011-07-281-1/+1
|
* s3:smbpasswd: use lp_load_global()Michael Adam2011-07-281-1/+1
|
* s3:smbfilter: use lp_load_global()Michael Adam2011-07-281-1/+1
|
* s3:smbcquotas: use lp_load_global()Michael Adam2011-07-281-1/+1
|
* s3:smbcontrol: use lp_load_global(): smbcontrol does not need to load the sharesMichael Adam2011-07-281-1/+1
|
* s3:smbcacls: use lp_load_global()Michael Adam2011-07-281-1/+1
|
* s3:pdbedit: use lp_load_global()Michael Adam2011-07-281-1/+1
|
* s3:ntlm_auth: use lp_load_global()Michael Adam2011-07-281-1/+1
|
* s3:nmblookup: use lp_load_global()Michael Adam2011-07-281-1/+1
|
* s3:net: use lp_load_global()Michael Adam2011-07-281-1/+1
|
* s3:eventlogadm: use lp_load_global()Michael Adam2011-07-281-2/+2
|
* s3:dbwrap_torture: use lp_load_global()Michael Adam2011-07-281-1/+1
|
* s3:dbwrap_tool: use lp_load_global()Michael Adam2011-07-281-1/+1
|
* s3-utils/net_rpc_printer.c: fix error messageBjörn Baumbach2011-07-241-2/+2
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jul 24 19:01:47 CEST 2011 on sn-devel-104
* s3-utils/net_rpc.c: replace cli_query_secdesc_old()Björn Baumbach2011-07-231-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-utils/net_rpc_printer.c: replace cli_query_secdesc_old()Björn Baumbach2011-07-231-4/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-utils/smbcacls.c: replace cli_query_secdesc_old()Björn Baumbach2011-07-231-3/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: rename cli_query_secdesc() to cli_query_secdesc_old()Björn Baumbach2011-07-233-3/+3
| | | | | | Will introduce new cli_query_secdesc() function Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-utils/net_rpc_printer.c: print more info on write errorBjörn Baumbach2011-07-231-2/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-utils/net_rpc_printer.c: return on read error in net_copy_file()Björn Baumbach2011-07-231-4/+13
| | | | | | replace cli_read_old() with cli_read() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:net_util: use server_name instead of cli->desthostStefan Metzmacher2011-07-221-1/+1
| | | | | | They should be the same. metze
* s3:net_rpc_registry: use pipe_hnd->desthost instead of cli->desthostStefan Metzmacher2011-07-221-2/+2
| | | | metze
* s3:net_rpc_printer: make use of cli_state_remote_name()Stefan Metzmacher2011-07-221-4/+6
| | | | metze
* s3:net_rpc_join: make use of cli_state_remote_name()Stefan Metzmacher2011-07-221-3/+3
| | | | metze
* s3:net_rpc_join: use pipe_hnd->desthost instead of cli->desthostStefan Metzmacher2011-07-221-1/+1
| | | | metze
* s3:net_rpc: make use of cli_state_remote_name()Stefan Metzmacher2011-07-221-2/+2
| | | | metze
* s3:net_rpc: use netr->desthost instead of cli->desthostStefan Metzmacher2011-07-221-1/+1
| | | | metze
* s3:net_rap: make use of cli_state_remote_name()Stefan Metzmacher2011-07-221-2/+2
| | | | metze
* s3:net_rpc_printer: make use of cli_state_remote_sockaddr()Stefan Metzmacher2011-07-221-4/+8
| | | | metze
* s3:net_rpc: make use of cli_state_remote_sockaddr()Stefan Metzmacher2011-07-221-1/+2
| | | | metze