mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
s3-waf: create a SECRETS subsystem
This commit is contained in:
parent
1e97982633
commit
3ea211feb4
@ -210,8 +210,6 @@ LIBADS_SERVER_SRC = '''libads/kerberos_verify.c libads/authdata.c
|
||||
../librpc/ndr/ndr_krb5pac.c
|
||||
../librpc/gen_ndr/ndr_krb5pac.c'''
|
||||
|
||||
SECRETS_SRC = '''librpc/gen_ndr/ndr_secrets.c'''
|
||||
|
||||
LIBNBT_SRC = '''../libcli/nbt/nbtname.c
|
||||
../libcli/netlogon.c
|
||||
../libcli/ndr_netlogon.c
|
||||
@ -232,9 +230,7 @@ LIBSMB_ERR_SRC0 = '''${NTERR_SRC} ${DOSERR_SRC} ${ERRORMAP_SRC} ${DCE_RPC_ERR_SR
|
||||
|
||||
LIBSMB_ERR_SRC1 = '''../libcli/auth/smbdes.c ../libcli/auth/smbencrypt.c ../libcli/auth/msrpc_parse.c ../libcli/auth/session.c'''
|
||||
|
||||
LIBSMB_ERR_SRC = '''${LIBSMB_ERR_SRC0} ${LIBSMB_ERR_SRC1}
|
||||
${RPC_PARSE_SRC1}
|
||||
${SECRETS_SRC}'''
|
||||
LIBSMB_ERR_SRC = '${LIBSMB_ERR_SRC0} ${LIBSMB_ERR_SRC1} ${RPC_PARSE_SRC1}'
|
||||
|
||||
LIBSMB_SRC0 = '''
|
||||
../libcli/auth/ntlm_check.c
|
||||
@ -857,7 +853,7 @@ bld.SAMBA_SUBSYSTEM('TLDAP',
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('PASSDB',
|
||||
source=PASSDB_SRC,
|
||||
deps='GROUPDB TLDAP',
|
||||
deps='GROUPDB TLDAP SECRETS',
|
||||
vars=locals())
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('LDB',
|
||||
@ -893,6 +889,7 @@ bld.SAMBA_SUBSYSTEM('LIB_NONSMBD',
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('LIBSMB_ERR',
|
||||
source=LIBSMB_ERR_SRC,
|
||||
deps='SECRETS',
|
||||
vars=locals())
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('LIBSAMBA',
|
||||
@ -905,6 +902,10 @@ bld.SAMBA_SUBSYSTEM('LIBSMB',
|
||||
deps='LIBSAMBA ZLIB',
|
||||
vars=locals())
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('SECRETS',
|
||||
source=SECRETS_SRC,
|
||||
vars=locals())
|
||||
|
||||
########################## BINARIES #################################
|
||||
|
||||
bld.SAMBA_BINARY('smbd/smbd',
|
||||
|
Loading…
x
Reference in New Issue
Block a user