summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2011-08-22s3-net: rpc_conf_list now uses the wrapper rpc_conf_open_confVicentiu Ciorbaru1-24/+6
Signed-off-by: Michael Adam <obnox@samba.org>
2011-08-22s3-net: Added rpc_conf_open_conf functionVicentiu Ciorbaru1-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>
2011-08-22s3-net: Added the net rpc conf list command.Vicentiu Ciorbaru1-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>
2011-08-22s3-net: Added the command rpc conf to the net binary.Vicentiu Ciorbaru3-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>
2011-08-22s3-net: Fixed whitespace errorsVicentiu Ciorbaru1-7/+7
Fixed previously existing whitespace errors in net_rpc.c Signed-off-by: Michael Adam <obnox@samba.org>
2011-08-21s3-id_cache: Use better names for id cache management opsAndreas Schneider1-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>
2011-08-19s3-passdb: Replace SMB_MALLOC_ARRAY()/SAFE_FREE() with talloc equivalents.Amitay Isaacs2-8/+9
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-08s3-net: Fixed a small typo in net conf function tableVicentiu Ciorbaru1-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>
2011-08-08s3-net: Fixed typo in net confVicentiu Ciorbaru1-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
2011-08-03s3-ntlmssp Remove rpccli_get_pwd_hash and auth_ntlmssp_get_nt_hashAndrew Bartlett1-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>
2011-08-03s3-ntlmssp Remove calls to auth_ntlmssp_and_flags from the serverAndrew Bartlett1-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>
2011-08-02s3:net_rpc: make use of cli_state_protocol()Stefan Metzmacher1-1/+1
metze
2011-07-29s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam6-6/+6
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
2011-07-29s3:dbwrap: move db_open() to a file dbwrap_open.c of its own.Michael Adam5-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.
2011-07-28s3:smbstatus: use lp_load_global() - smbstatus does not need to load shares!Michael Adam1-1/+1
2011-07-28s3:split_tokens: use lp_load_global(), fixing the call to lp_load()Michael Adam1-1/+1
this does not need share and it dos not need to save defaults
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-24s3-utils/net_rpc_printer.c: fix error messageBjörn Baumbach1-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
2011-07-23s3-utils/net_rpc.c: replace cli_query_secdesc_old()Björn Baumbach1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-utils/net_rpc_printer.c: replace cli_query_secdesc_old()Björn Baumbach1-4/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-utils/smbcacls.c: replace cli_query_secdesc_old()Björn Baumbach1-3/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-libsmb: rename cli_query_secdesc() to cli_query_secdesc_old()Björn Baumbach3-3/+3
Will introduce new cli_query_secdesc() function Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-utils/net_rpc_printer.c: print more info on write errorBjörn Baumbach1-2/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-utils/net_rpc_printer.c: return on read error in net_copy_file()Björn Baumbach1-4/+13
replace cli_read_old() with cli_read() Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-22s3:net_util: use server_name instead of cli->desthostStefan Metzmacher1-1/+1
They should be the same. metze
2011-07-22s3:net_rpc_registry: use pipe_hnd->desthost instead of cli->desthostStefan Metzmacher1-2/+2
metze
2011-07-22s3:net_rpc_printer: make use of cli_state_remote_name()Stefan Metzmacher1-4/+6
metze
2011-07-22s3:net_rpc_join: make use of cli_state_remote_name()Stefan Metzmacher1-3/+3
metze
2011-07-22s3:net_rpc_join: use pipe_hnd->desthost instead of cli->desthostStefan Metzmacher1-1/+1
metze
2011-07-22s3:net_rpc: make use of cli_state_remote_name()Stefan Metzmacher1-2/+2
metze
2011-07-22s3:net_rpc: use netr->desthost instead of cli->desthostStefan Metzmacher1-1/+1
metze
2011-07-22s3:net_rap: make use of cli_state_remote_name()Stefan Metzmacher1-2/+2
metze
2011-07-22s3:net_rpc_printer: make use of cli_state_remote_sockaddr()Stefan Metzmacher1-4/+8
metze
2011-07-22s3:net_rpc: make use of cli_state_remote_sockaddr()Stefan Metzmacher1-1/+2
metze
2011-07-22s3:net_rpc_join: make use of cli_state_remote_sockaddr()Stefan Metzmacher1-1/+2
metze
2011-07-22s3:net_rpc_join: pass const sockaddr_storage to net_rpc_join_ok()Stefan Metzmacher2-4/+6
metze