[Freeipa-devel] [PATCH] bind-dyndb-ldap: enable/disable PTR synchronization per zone

Jiri Kuncar jkuncar at redhat.com
Thu Dec 1 14:00:18 UTC 2011


I've added an attribute "idnsAllowSyncPTR" to "idnsZone" to enable or disable synchronization of PTR records. However the bind-dyndb-ldap plugin option "sync_ptr" has to be included in /etc/named.conf to run synchronization feature.

My quick fix of LDAP schema in /usr/share/ipa/60basev2.ldif:
-----
attributeTypes: (2.16.840.1.113730.3.8.5.11 NAME 'idnsAllowSyncPTR' DESC 'permit synchronization of PTR records' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'IPA v2' )
...
objectClasses: (2.16.840.1.113730.3.8.6.1 NAME 'idnsZone' DESC 'Zone class' SUP idnsRecord STRUCTURAL MUST ( idnsName $ idnsZoneActive $ idnsSOAmName $ idnsSOArName $ idnsSOAserial $ idnsSOArefresh $ idnsSOAretry $ idnsSOAexpire $ idnsSOAminimum ) MAY ( idnsUpdatePolicy $ idnsAllowSyncPTR ) )
-----

https://fedorahosted.org/bind-dyndb-ldap/ticket/39

Jiri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jkuncar-ticket39-Enable-disable-PTR-synchronization-per-zone.patch
Type: text/x-patch
Size: 1842 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20111201/c9fecaa9/attachment.bin>


More information about the Freeipa-devel mailing list