mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
this allows for configs like this: dlz "Samba zone" { database "dlopen /usr/lib/samba/modules/bind9/dlz_bind9.so -H ldap://10.0.0.4 -Uadministrator@v2.tridgell.net%penguin -k no"; };
18 lines
670 B
Python
18 lines
670 B
Python
#!/usr/bin/env python
|
|
|
|
bld.SAMBA_MODULE('service_dns',
|
|
source='dns_server.c dns_query.c dns_update.c dns_utils.c',
|
|
subsystem='service',
|
|
init_function='server_service_dns_init',
|
|
deps='samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET ldbsamba',
|
|
local_include=False,
|
|
internal_module=False,
|
|
)
|
|
|
|
# a bind9 dlz module giving access to the Samba DNS SAM
|
|
bld.SAMBA_LIBRARY('dlz_bind9',
|
|
source='dlz_bind9.c',
|
|
private_library=True,
|
|
link_name='modules/bind9/dlz_bind9.so',
|
|
deps='samba-hostconfig ldbsamba samba-util popt POPT_SAMBA POPT_CREDENTIALS gensec')
|