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

s4-rpc: dnsserver: Do not return NS_GLUE records with VIEW_GLUE_DATA filter

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10751

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Aug 21 11:36:55 CEST 2014 on sn-devel-104
This commit is contained in:
Amitay Isaacs 2014-07-30 19:57:42 +10:00 committed by Stefan Metzmacher
parent 2036cbd924
commit c9169a5e98

View File

@ -806,7 +806,7 @@ WERROR dns_fill_records_array(TALLOC_CTX *mem_ctx,
}
}
if (select_flag & DNS_RPC_VIEW_GLUE_DATA) {
if (dnsp_rec.rank == DNS_RANK_NS_GLUE) {
if (dnsp_rec.rank == DNS_RANK_GLUE) {
found = true;
}
}