1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

CVE-2022-38023 s4:rpc_server:wscript: Reformat following pycodestyle

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

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Samuel Cabrero 2023-01-05 18:13:09 +01:00 committed by Andreas Schneider
parent 3cd18690f8
commit d9e6b490db

View File

@ -8,7 +8,11 @@ bld.SAMBA_SUBSYSTEM('DCERPC_SHARE',
)
bld.SAMBA_SUBSYSTEM('DCERPC_COMMON',
source='common/server_info.c common/forward.c common/loadparm.c',
source='''
common/server_info.c
common/forward.c
common/loadparm.c
''',
autoproto='common/proto.h',
deps='ldb DCERPC_SHARE',
enabled=bld.AD_DC_BUILD_IS_ENABLED()
@ -80,7 +84,14 @@ bld.SAMBA_MODULE('dcesrv_samr',
autoproto='samr/proto.h',
subsystem='dcerpc_server',
init_function='dcerpc_server_samr_init',
deps='samdb DCERPC_COMMON ndr-standard auth4_sam GNUTLS_HELPERS DCERPC_HELPER'
deps='''
samdb
DCERPC_COMMON
ndr-standard
auth4_sam
GNUTLS_HELPERS
DCERPC_HELPER
'''
)
@ -98,8 +109,16 @@ bld.SAMBA_MODULE('dcerpc_netlogon',
source='netlogon/dcerpc_netlogon.c',
subsystem='dcerpc_server',
init_function='dcerpc_server_netlogon_init',
deps='''DCERPC_COMMON RPC_NDR_IRPC COMMON_SCHANNEL ndr-standard auth4_sam samba-hostconfig DSDB_MODULE_HELPERS
util_str_escape'''
deps='''
DCERPC_COMMON
RPC_NDR_IRPC
COMMON_SCHANNEL
ndr-standard
auth4_sam
samba-hostconfig
DSDB_MODULE_HELPERS
util_str_escape
'''
)
@ -108,7 +127,16 @@ bld.SAMBA_MODULE('dcerpc_lsarpc',
autoproto='lsa/proto.h',
subsystem='dcerpc_server',
init_function='dcerpc_server_lsa_init',
deps='samdb DCERPC_COMMON ndr-standard LIBCLI_AUTH NDR_DSSETUP com_err samba-security UTIL_LSARPC'
deps='''
samdb
DCERPC_COMMON
ndr-standard
LIBCLI_AUTH
NDR_DSSETUP
com_err
samba-security
UTIL_LSARPC
'''
)
@ -117,12 +145,26 @@ bld.SAMBA_MODULE('dcerpc_backupkey',
autoproto='backupkey/proto.h',
subsystem='dcerpc_server',
init_function='dcerpc_server_backupkey_init',
deps='samdb DCERPC_COMMON NDR_BACKUPKEY RPC_NDR_BACKUPKEY gnutls GNUTLS_HELPERS',
deps='''
samdb
DCERPC_COMMON
NDR_BACKUPKEY
RPC_NDR_BACKUPKEY
gnutls
GNUTLS_HELPERS
''',
)
bld.SAMBA_MODULE('dcerpc_drsuapi',
source='drsuapi/dcesrv_drsuapi.c drsuapi/updaterefs.c drsuapi/getncchanges.c drsuapi/addentry.c drsuapi/writespn.c drsuapi/drsutil.c',
source='''
drsuapi/dcesrv_drsuapi.c
drsuapi/updaterefs.c
drsuapi/getncchanges.c
drsuapi/addentry.c
drsuapi/writespn.c
drsuapi/drsutil.c
''',
subsystem='dcerpc_server',
init_function='dcerpc_server_drsuapi_init',
deps='samdb DCERPC_COMMON NDR_DRSUAPI samba-security'
@ -144,7 +186,12 @@ bld.SAMBA_MODULE('dcerpc_eventlog',
)
bld.SAMBA_MODULE('dcerpc_dnsserver',
source='dnsserver/dcerpc_dnsserver.c dnsserver/dnsutils.c dnsserver/dnsdata.c dnsserver/dnsdb.c',
source='''
dnsserver/dcerpc_dnsserver.c
dnsserver/dnsutils.c
dnsserver/dnsdata.c
dnsserver/dnsdb.c
''',
subsystem='dcerpc_server',
init_function='dcerpc_server_dnsserver_init',
deps='DCERPC_COMMON dnsserver_common netif'
@ -160,8 +207,7 @@ bld.SAMBA_MODULE('service_dcerpc',
deps='dcerpc_server'
)
bld.SAMBA_BINARY(
'test_rpc_dns_server_dnsutils',
bld.SAMBA_BINARY('test_rpc_dns_server_dnsutils',
source='tests/rpc_dns_server_dnsutils_test.c',
deps='''
dnsserver_common
@ -171,4 +217,4 @@ bld.SAMBA_BINARY(
''',
for_selftest=True,
enabled=bld.AD_DC_BUILD_IS_ENABLED()
)
)