1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/kdc/wscript_build
Andrew Tridgell 1ec8d55e27 s4-kdc: added proxying of kdc requests for RODCs
when we are an RODC and we get a request for a principal that we don't
have the right secrets for, we need to proxy the request to a
writeable DC. This happens for both TCP and UDP requests, for both
krb5 and kpasswd

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Nov 12 08:03:20 UTC 2010 on sn-devel-104
2010-11-12 08:03:20 +00:00

58 lines
1.3 KiB
Python

#!/usr/bin/env python
bld.SAMBA_MODULE('KDC',
source='kdc.c kpasswdd.c proxy.c',
subsystem='service',
init_function='server_service_kdc_init',
deps='kdc HDB_SAMBA4 WDC_SAMBA4 samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET com_err samba_server_gensec',
)
bld.SAMBA_SUBSYSTEM('HDB_SAMBA4',
source='hdb-samba4.c',
deps='ldb auth_sam auth_sam_reply credentials hdb db-glue samba-hostconfig com_err',
includes='../heimdal/kdc',
)
bld.SAMBA_SUBSYSTEM('WDC_SAMBA4',
source='wdc-samba4.c',
includes='../heimdal/kdc',
deps='ldb auth_sam auth_sam_reply credentials hdb PAC_GLUE samba-hostconfig com_err'
)
bld.SAMBA_SUBSYSTEM('PAC_GLUE',
source='pac-glue.c',
includes='../heimdal/kdc',
deps='ldb auth_sam auth_sam_reply credentials hdb samba-hostconfig com_err'
)
bld.SAMBA_LIBRARY('pac',
source=[],
deps='PAC_GLUE',
private_library=True,
grouping_library=True)
bld.SAMBA_LIBRARY('db-glue',
source='db-glue.c',
deps='ldb auth_sam auth_sam_reply credentials hdb samba-hostconfig com_err',
private_library=True
)
bld.SAMBA_SUBSYSTEM('MIT_SAMBA',
source='mit_samba.c',
deps='ldb auth_sam auth_sam_reply credentials hdb db-glue PAC_GLUE samba-hostconfig com_err'
)
bld.SAMBA_LIBRARY('mit-samba',
source='',
deps='MIT_SAMBA',
external_library=True,
realname='mit_samba.so'
)