pydsdb_dns: Allow the partition DN to be specified into py_dsdb_dns_lookup
authorAndrew Bartlett <abartlet@samba.org>
Fri, 9 Jun 2017 04:05:31 +0000 (16:05 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 10 Jun 2017 19:48:20 +0000 (21:48 +0200)
commit970fdfae6a18bf11d423a72973c0f7b589e6f92a
treeb61e542a464306866c7228e3af44864c4c886f63
parentf5e945c810b5e453b699d4e796cfb6790c442a17
pydsdb_dns: Allow the partition DN to be specified into py_dsdb_dns_lookup

This allows lookups to be confined to one partition, which in turn avoids issues
when running this against MS Windows, which does not match Samba behaviour
for dns_common_zones()

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
python/samba/samdb.py
source4/dns_server/dns_server.c
source4/dns_server/dnsserver_common.c
source4/dns_server/dnsserver_common.h
source4/dns_server/pydns.c