1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/libsmb
Tim Beale 6fff2c26da s3:pylibsmb: Make lp a mandatory param for the SMB connection
Currently establishing the SMB connection relies on having initialized
the global source3 loadparm.

This patch makes the lp param mandatory, so that you always have to pass
the parameter in when establishing the SMB connection.

It also makes the source3 API more consistent with the current source4
API, which will make it easier to replace the source4 version later.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13676

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-01-07 01:23:07 +01:00
..
ABI s3:libsmbclient: Add function to set protocol levels 2018-09-05 18:22:24 +02:00
async_smb.c s3: libsmb: Add uint16_t addtional_flags2 to cli_smb_req_create(). 2016-08-19 20:03:12 +02:00
auth_generic.c s3:auth_generic: add "ntlmssp_resume_ccache" backend in auth_generic_client_prepare() 2016-03-10 06:52:28 +01:00
cli_smb2_fnum.c s3:libsmb: pass impersonation_level to cli_smb2_create_fnum() 2018-12-13 08:52:24 +01:00
cli_smb2_fnum.h s3:libsmb: pass impersonation_level to cli_smb2_create_fnum() 2018-12-13 08:52:24 +01:00
cliconnect.c libads: Give krb5_errs.c its own header 2018-11-27 07:13:14 +01:00
clidfs.c smbclient: Fix errors printed if we can connect with SMB1 2018-09-05 18:22:24 +02:00
clidgram.c libsmb: Pass "account_name/flags" through nb_getdc 2018-04-11 01:06:39 +02:00
clidgram.h libsmb: Pass "account_name/flags" through nb_getdc 2018-04-11 01:06:39 +02:00
clientgen.c libsmb: Use smb2 tcon if conn_protocol >= SMB2_02 2018-03-02 00:39:58 +01:00
clierror.c Fix spelling s/unitialized/uninitialized/ 2018-05-12 02:09:27 +02:00
clifile.c s3:libsmb: pass impersonation_level to cli_ntcreate_send() 2018-12-13 08:52:24 +01:00
clifsinfo.c s3: smbclient: Implement "volume" command over SMB2. 2017-11-15 15:56:24 +01:00
clilist.c s3: client: Add btime_ts to struct finfo. 2018-05-05 01:39:40 +02:00
climessage.c s3: libsmb: Add uint16_t additional_flags2 arg to cli_smb_send(). 2016-08-19 20:03:11 +02:00
clioplock.c s3: libsmb: Add uint16_t additional_flags2 arg to cli_smb_send(). 2016-08-19 20:03:11 +02:00
cliprint.c
cliquota.c libsmb: Fix CID 1438243 Unchecked return value 2018-08-08 23:10:22 +02:00
clirap2.c s3:libsmb/clirap: remove unused cli_get_server_*() functions 2016-07-06 22:41:41 +02:00
clirap.c s3: libsmb: Add cli_smb2_setpathinfo(), to be called by cli_setpathinfo_basic(). 2017-07-25 17:43:15 +02:00
clirap.h s3:libsmb/clirap: remove unused cli_get_server_*() functions 2016-07-06 22:41:41 +02:00
clireadwrite.c s3:libsmb: add comments for cli_write_send/cli_push_send 2018-12-13 08:52:24 +01:00
clisecdesc.c
clispnego.c s3:libsmb: remove unused functions in clispnego.c 2016-03-10 06:52:30 +01:00
clistr.c s3: libsmb: Add return args to clistr_is_previous_version_path(). 2016-08-22 19:10:22 +02:00
clisymlink.c s3:libsmb: pass impersonation_level to cli_ntcreate_send() 2018-12-13 08:52:24 +01:00
clitrans.c libsmb: Make cli_trans_send cancellable 2018-11-21 16:53:41 +01:00
conncache.c lib: Remove gencache.h from proto.h 2018-10-19 18:52:50 +02:00
dsgetdcname.c lib: Remove gencache.h from proto.h 2018-10-19 18:52:50 +02:00
dsgetdcname.h libsmb: Give dsgetdcname.c its own header 2018-04-11 01:06:39 +02:00
errormap_wbc.c
errormap_wbc.h
errormap.c
libsmb_cache.c
libsmb_compat.c s3: libsmbclient: Add new function SMBC_readdirplus_ctx(). 2018-05-05 01:39:40 +02:00
libsmb_context.c s3:libsmbclient: cleanup smbc_setWorkgroup() usage 2018-05-17 01:10:28 +02:00
libsmb_dir.c s3:libsmbclient: Do not call cli_RNetShareEnum if SMB1 is disabled 2018-09-05 18:22:24 +02:00
libsmb_file.c libsmbclient: Initialize written value before use. 2018-07-09 18:46:13 +02:00
libsmb_misc.c
libsmb_path.c libsmb: Harden smbc_readdir_internal() against returns from malicious servers. 2018-08-14 13:57:16 +02:00
libsmb_printjob.c
libsmb_server.c s3: libsmbclient: Fix hard-coded connection error return of ETIMEDOUT. 2018-05-03 02:42:20 +02:00
libsmb_setget.c s3:libsmbclient: Fix a typo 2018-09-11 21:43:28 +02:00
libsmb_stat.c s3:libsmb: Use #ifdef instead of #if for config.h definitions 2018-11-28 23:19:23 +01:00
libsmb_thread_impl.c
libsmb_thread_posix.c
libsmb_xattr.c
libsmb.h
namecache.c lib: Remove gencache.h from proto.h 2018-10-19 18:52:50 +02:00
namequery_dc.c libsmb: Give namequery.c its own header 2018-04-11 01:06:39 +02:00
namequery.c lib: Remove gencache.h from proto.h 2018-10-19 18:52:50 +02:00
namequery.h libsmb: Give namequery.c its own header 2018-04-11 01:06:39 +02:00
nmblib.c s3: lib: nmbname: Ensure we limit the NetBIOS name correctly. CID: 1433607 2018-11-13 20:54:56 +01:00
nmblib.h libnmb: Move "read_packet" to nmbd 2018-01-24 05:48:19 +01:00
passchange.c s3:libsmb: Pass domain to remote_password_change() 2017-08-23 13:16:20 +02:00
proto.h s3:libsmb: pass impersonation_level to cli_ntcreate_send() 2018-12-13 08:52:24 +01:00
pylibsmb.c s3:pylibsmb: Make lp a mandatory param for the SMB connection 2019-01-07 01:23:07 +01:00
reparse_symlink.c
samlogon_cache.c libsmb: Use dom_sid_str_buf 2018-11-02 21:21:15 +01:00
samlogon_cache.h samlogon_cache: add netsamlog_cache_for_all() 2017-07-03 19:59:09 +02:00
smbclient.pc.in
smberr.c
smbsock_connect.c
trusts_util.c libsmb: Remove incorrect fall through comment in trusts_util.c 2018-03-01 09:52:37 +01:00
unexpected.c libsmb: Fix an error path memleak 2018-02-13 16:42:22 +01:00
unexpected.h libnmb: Make nb_packet_read_recv return a talloc'ed pkt 2018-01-24 00:58:17 +01:00
wscript s3:libsmbclient: Add function to set protocol levels 2018-09-05 18:22:24 +02:00