mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
2ddf89a2bc
System MIT krb5 build also enabled by specifying --without-ad-dc When --with-system-mitkrb5 (or --withou-ad-dc) option is passed to top level configure in WAF build we are trying to detect and use system-wide MIT krb5 libraries. As result, Samba 4 DC functionality will be disabled due to the fact that it is currently impossible to implement embedded KDC server with MIT krb5. Thus, --with-system-mitkrb5/--without-ad-dc build will only produce * Samba 4 client libraries and their Python bindings * Samba 3 server (smbd, nmbd, winbindd from source3/) * Samba 3 client libraries In addition, Samba 4 DC server-specific tests will not be compiled into smbtorture. This in particular affects spoolss_win, spoolss_notify, and remote_pac rpc tests.
76 lines
1.7 KiB
Python
76 lines
1.7 KiB
Python
#!/usr/bin/env python
|
|
|
|
bld.SAMBA_LIBRARY('ntvfs',
|
|
source='ntvfs_base.c ntvfs_generic.c ntvfs_interface.c ntvfs_util.c',
|
|
autoproto='ntvfs_proto.h',
|
|
deps='tevent samba-modules',
|
|
private_library=True,
|
|
enabled=bld.AD_DC_BUILD_IS_ENABLED()
|
|
)
|
|
|
|
if bld.AD_DC_BUILD_IS_ENABLED():
|
|
bld.RECURSE('posix')
|
|
bld.RECURSE('common')
|
|
bld.RECURSE('unixuid')
|
|
bld.RECURSE('sysdep')
|
|
|
|
bld.SAMBA_MODULE('ntvfs_cifs',
|
|
source='cifs/vfs_cifs.c',
|
|
subsystem='ntvfs',
|
|
init_function='ntvfs_cifs_init',
|
|
deps='LIBCLI_SMB smbclient-raw param_options'
|
|
)
|
|
|
|
|
|
bld.SAMBA_MODULE('ntvfs_smb2',
|
|
source='smb2/vfs_smb2.c',
|
|
subsystem='ntvfs',
|
|
init_function='ntvfs_smb2_init',
|
|
deps='LIBCLI_SMB smbclient-raw param_options'
|
|
)
|
|
|
|
|
|
bld.SAMBA_MODULE('ntvfs_simple',
|
|
source='simple/vfs_simple.c simple/svfs_util.c',
|
|
autoproto='simple/proto.h',
|
|
subsystem='ntvfs',
|
|
init_function='ntvfs_simple_init',
|
|
deps='talloc'
|
|
)
|
|
|
|
|
|
bld.SAMBA_MODULE('ntvfs_cifsposix',
|
|
source='cifs_posix_cli/vfs_cifs_posix.c cifs_posix_cli/svfs_util.c',
|
|
autoproto='cifs_posix_cli/proto.h',
|
|
subsystem='ntvfs',
|
|
init_function='ntvfs_cifs_posix_init',
|
|
deps='talloc'
|
|
)
|
|
|
|
|
|
bld.SAMBA_MODULE('ntvfs_print',
|
|
source='print/vfs_print.c',
|
|
subsystem='ntvfs',
|
|
init_function='ntvfs_print_init',
|
|
deps='talloc'
|
|
)
|
|
|
|
|
|
bld.SAMBA_MODULE('ntvfs_ipc',
|
|
source='ipc/vfs_ipc.c ipc/ipc_rap.c ipc/rap_server.c',
|
|
autoproto='ipc/proto.h',
|
|
subsystem='ntvfs',
|
|
init_function='ntvfs_ipc_init',
|
|
deps='NDR_NAMED_PIPE_AUTH npa_tstream gssapi samba-credentials DCERPC_SHARE'
|
|
)
|
|
|
|
|
|
bld.SAMBA_MODULE('ntvfs_nbench',
|
|
source='nbench/vfs_nbench.c',
|
|
subsystem='ntvfs',
|
|
init_function='ntvfs_nbench_init',
|
|
deps='talloc'
|
|
)
|
|
|
|
|