[Freeipa-devel] [PATCH] 120 Improve DNS record data validation

Adam Young ayoung at redhat.com
Wed Oct 19 19:38:42 UTC 2011


On 10/19/2011 08:15 AM, Martin Kosek wrote:
> On Wed, 2011-09-07 at 15:18 +0200, Martin Kosek wrote:
>> On Wed, 2011-09-07 at 15:05 +0200, Martin Kosek wrote:
>>> This is 3.0 Core Effort Backlog patch.
>>>
>>> The changes to API may look scary, but it should be OK, I just added
>>> validators and normalizers. I found a lot of RR types unsupported by
>>> bind-dyndb-ldap. I implemented a validator telling this information to
>>> the user. I think the message is more user-friendly than the previous
>>> LDAP schema error.
>>>
>>> Enjoy the RFCs! :-)
>>>
>>> Martin
>>>
>>> ---
>>> Implement missing validators for DNS RR types so that we can capture
>>> at least basic user errors. Additionally, a normalizer creating
>>> a fully-qualified domain name has been implemented for several RRs
>>> to prevent this common user error.
>>>
>>> https://fedorahosted.org/freeipa/ticket/1106
>>>
>> I noticed a typo in format description for LOC record validation. A
>> fixed patch attached.
>>
>> Martin
> Rebased for current master.
>
> This patch is still waiting for review. As I would like to base my next
> DNS work (structured DNS commands) on this patch I would like to have it
> reviewed soon.
>
> Thanks,
> Martin
>
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel


I've just given it a visual review, but it looks right.  Probably should 
have some unit tests to go with it for some of the more commonly used types.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20111019/8b2bc382/attachment.htm>


More information about the Freeipa-devel mailing list