mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
80685fd823
The s4 SMB client bindings don't support SMBv2, so we've made the decision to use the s3 SMB client bindings/library code instead. Everything in the Samba codebase now uses the s3 bindings, and we'll add a warning message to Samba v4.10 that the s4 bindings are deprecated. This patch removes the unused s4 bindings completely for the next (i.e. v4.11) release. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13676 Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Jan 26 04:05:25 CET 2019 on sn-devel-144
98 lines
3.1 KiB
Python
98 lines
3.1 KiB
Python
#!/usr/bin/env python
|
|
|
|
bld.RECURSE('ldap')
|
|
bld.RECURSE('wbclient')
|
|
|
|
bld.SAMBA_SUBSYSTEM('LIBSAMBA_TSOCKET',
|
|
source='../../libcli/util/tstream.c',
|
|
public_deps='LIBTSOCKET tevent-util'
|
|
)
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('LIBCLI_LSA',
|
|
source='util/clilsa.c',
|
|
autoproto='util/clilsa.h',
|
|
public_deps='RPC_NDR_LSA dcerpc',
|
|
deps='samba-security'
|
|
)
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('cli_composite',
|
|
source='composite/composite.c',
|
|
autoproto='composite/proto.h',
|
|
public_deps='events'
|
|
)
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('LIBCLI_SMB_COMPOSITE',
|
|
source='''
|
|
smb_composite/loadfile.c
|
|
smb_composite/savefile.c
|
|
smb_composite/connect_nego.c
|
|
smb_composite/connect.c
|
|
smb_composite/sesssetup.c
|
|
smb_composite/fetchfile.c
|
|
smb_composite/appendacl.c
|
|
smb_composite/fsinfo.c
|
|
smb_composite/smb2.c
|
|
''',
|
|
deps='LIBCLI_SMB2 tevent-util',
|
|
public_deps='cli_composite samba-credentials gensec LIBCLI_RESOLVE tevent',
|
|
private_headers='smb_composite/smb_composite.h',
|
|
)
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('LIBCLI_DGRAM',
|
|
source='dgram/dgramsocket.c dgram/mailslot.c dgram/netlogon.c dgram/browse.c',
|
|
public_deps='cli-nbt ndr LIBCLI_RESOLVE LIBCLI_NETLOGON LIBCLI_RESOLVE'
|
|
)
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('LIBCLI_WREPL',
|
|
source='wrepl/winsrepl.c',
|
|
autoproto='wrepl/winsrepl_proto.h',
|
|
public_deps='NDR_WINSREPL samba_socket events LIBPACKET LIBSAMBA_TSOCKET'
|
|
)
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('LIBCLI_RESOLVE',
|
|
source='resolve/resolve.c',
|
|
autoproto='resolve/proto.h',
|
|
deps='roken',
|
|
public_deps='ndr_nbt LIBTSOCKET'
|
|
)
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('LP_RESOLVE',
|
|
source='resolve/bcast.c resolve/nbtlist.c resolve/wins.c resolve/dns_ex.c resolve/host.c resolve/lmhosts.c resolve/resolve_lp.c',
|
|
autoproto='resolve/lp_proto.h',
|
|
deps='cli-nbt samba-hostconfig netif addns'
|
|
)
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('LIBCLI_FINDDCS',
|
|
source='finddcs_cldap.c',
|
|
autoproto='finddcs_proto.h',
|
|
public_deps='cli_cldap'
|
|
)
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('LIBCLI_SMB',
|
|
source='clireadwrite.c cliconnect.c clifile.c clilist.c clitrans2.c climessage.c clideltree.c',
|
|
private_headers='libcli.h:smb_cli.h',
|
|
public_deps='smbclient-raw samba-errors LIBCLI_AUTH LIBCLI_SMB_COMPOSITE cli-nbt samba-security LIBCLI_RESOLVE LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba_socket'
|
|
)
|
|
|
|
|
|
bld.SAMBA_LIBRARY('smbclient-raw',
|
|
source='raw/rawfile.c raw/smb_signing.c raw/clisocket.c raw/clitransport.c raw/clisession.c raw/clitree.c raw/clierror.c raw/rawrequest.c raw/rawreadwrite.c raw/rawsearch.c raw/rawsetfileinfo.c raw/raweas.c raw/rawtrans.c raw/clioplock.c raw/rawnegotiate.c raw/rawfsinfo.c raw/rawfileinfo.c raw/rawnotify.c raw/rawioctl.c raw/rawacl.c raw/rawdate.c raw/rawlpq.c raw/rawshadow.c',
|
|
autoproto='raw/raw_proto.h',
|
|
public_deps='samba_socket LIBPACKET LIBCRYPTO',
|
|
deps='cli_composite LIBCLI_RESOLVE samba-security ndr samba-util samba-errors charset talloc LIBCLI_SMB_COMPOSITE tevent cli_smb_common',
|
|
private_headers='raw/request.h:smb_request.h raw/signing.h:smb_raw_signing.h raw/libcliraw.h:smb_cliraw.h raw/interfaces.h:smb_raw_interfaces.h raw/smb.h:smb_raw.h raw/trans2.h:smb_raw_trans2.h',
|
|
private_library=True,
|
|
)
|
|
|
|
bld.RECURSE('smb2')
|
|
bld.RECURSE('rap')
|