[Freeipa-devel] [PATCH] 242 Harden raw record processing in DNS plugin
Martin Kosek
mkosek at redhat.com
Wed Mar 21 15:58:16 UTC 2012
Few test cases are attached to the ticket.
This patch depends on my patch 241.
---
There were cases where DNS plugin was too tolerant in a raw DNS
record option (--<rrtype-rec) processing. It let people specify
DNS record parts options in dnsrecord-mod operations for some
record without specifying the record that should be updated. It
also ignored DNS record parts in dnsrecord-add operation when the
raw DNS record value was already set via --<rrtype>-rec option.
This patch hardens the processing and returns error in both
described cases to make the processes clearer and more robust.
All these use cases were also covered by new unit tests.
https://fedorahosted.org/freeipa/ticket/2551
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-242-harden-raw-record-processing-in-dns-plugin.patch
Type: text/x-patch
Size: 7959 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120321/3731d209/attachment.bin>
More information about the Freeipa-devel
mailing list