Hy Tim] Sorry, my bad. I'm not usualy to report bugs...80)
Do you think tha is better to use backport of this package? diff atachead 2018-05-23 14:10 GMT-03:00 Timo Aaltonen <tjaal...@debian.org>: > On 23.05.2018 20:01, paulo bruck wrote: > > Hi Timo > > > > Nope I am using stretch with no backports. > > > > By the way I have to comment out some other lines because I 'm usng > > cosine.schema > > What are you using it for? It's meant for freeipa, so I'm not going to > change the schema to something which won't work with IPA. > > > atachead diff > > > > What do you mean about diff wold be readable?? > > your diff is unreadable, use 'diff -u' > > > -- > t > -- Paulo Ricardo Bruck consultor tel 011 3596-4881/4882 011 98140-9184 (TIM) http://www.contatogs.com.br http://www.protejasuarede.com.br gpg AAA59989 at wwwkeys.us.pgp.net
--- /usr/share/doc/bind9-dyndb-ldap/schema.ldif 2016-09-19 15:11:47.000000000 -0300 +++ /etc/ldap/schema/dns.schema 2018-05-23 11:32:02.133105507 -0300 @@ -32,51 +32,51 @@ # # # 389 DS requires following DN -dn: cn=schema +#dn: cn=schema # # OpenLDAP 2.4 requires following DN + objectClass + different attribute names -# s/^attributeTypes:/olcAttributeTypes:/ -# s/^objectClasses:/olcObjectClasses:/ +# s/^attributeTypes:/attributeTypes/ +# s/^objectClass/olcObjectClasses:/ #dn: cn=dns,cn=schema,cn=config #objectClass: olcSchemaConfig # # # COSINE schema # comment out if your server has COSINE schema installed -attributeTypes: ( 0.9.2342.19200300.100.1.26 - NAME 'aRecord' - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 - EQUALITY caseIgnoreIA5Match ) -# -attributeTypes: ( 0.9.2342.19200300.100.1.27 - NAME 'mDRecord' - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 - EQUALITY caseIgnoreIA5Match ) -# -attributeTypes: ( 0.9.2342.19200300.100.1.28 - NAME 'mXRecord' - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 - EQUALITY caseIgnoreIA5Match ) -# -attributeTypes: ( 0.9.2342.19200300.100.1.29 - NAME 'nSRecord' - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 - EQUALITY caseIgnoreIA5Match ) +#attributeTypes: ( 0.9.2342.19200300.100.1.26 +# NAME 'aRecord' +# SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 +# EQUALITY caseIgnoreIA5Match ) +# +#attributeTypes ( 0.9.2342.19200300.100.1.27 +# NAME 'mDRecord' +# SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 +# EQUALITY caseIgnoreIA5Match ) +# +#attributeTypes ( 0.9.2342.19200300.100.1.28 +# NAME 'mXRecord' +# SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 +# EQUALITY caseIgnoreIA5Match ) +# +#attributeTypes ( 0.9.2342.19200300.100.1.29 +# NAME 'nSRecord' +# SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 +# EQUALITY caseIgnoreIA5Match ) # CNAME record was originally defined as multi-value # but we redefined it as single-value to conform with RFC 2136, section 1.1.5. -attributeTypes: ( 0.9.2342.19200300.100.1.31 - NAME 'cNAMERecord' - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 - EQUALITY caseIgnoreIA5Match - SINGLE-VALUE ) +#attributeTypes ( 0.9.2342.19200300.100.1.31 +# NAME 'cNAMERecord' +# SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 +# EQUALITY caseIgnoreIA5Match +# SINGLE-VALUE ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.0.0 +attributeTypes ( 1.3.6.1.4.1.2428.20.0.0 NAME 'dNSTTL' DESC 'An integer denoting time to live' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 EQUALITY integerMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.0.2 +attributeTypes ( 1.3.6.1.4.1.2428.20.0.2 NAME 'dNSdefaultTTL' DESC 'An integer denoting default time to live, RFC 2308' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 @@ -86,104 +86,104 @@ # # UNINETT and FreeIPA attributes # dnsClass attribute is in fact unsupported by bind-dyndb-ldap -attributeTypes: ( 1.3.6.1.4.1.2428.20.0.1 +attributeTypes ( 1.3.6.1.4.1.2428.20.0.1 NAME 'dNSClass' DESC 'The class of a resource record' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.12 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.12 NAME 'pTRRecord' DESC 'domain name pointer, RFC 1035' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.13 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.13 NAME 'hInfoRecord' DESC 'host information, RFC 1035' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.14 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.14 NAME 'mInfoRecord' DESC 'mailbox or mail list information, RFC 1035' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.16 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.16 NAME 'tXTRecord' DESC 'text string, RFC 1035' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.18 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.18 NAME 'aFSDBRecord' DESC 'for AFS Data Base location, RFC 1183' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.28 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.28 NAME 'aAAARecord' DESC 'IPv6 address, RFC 1886' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.29 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.29 NAME 'LocRecord' DESC 'Location, RFC 1876' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.30 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.30 NAME 'nXTRecord' DESC 'non-existant, RFC 2535' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.33 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.33 NAME 'sRVRecord' DESC 'service location, RFC 2782' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.35 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.35 NAME 'nAPTRRecord' DESC 'Naming Authority Pointer, RFC 2915' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.36 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.36 NAME 'kXRecord' DESC 'Key Exchange Delegation, RFC 2230' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.37 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.37 NAME 'certRecord' DESC 'certificate, RFC 2538' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.38 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.38 NAME 'a6Record' DESC 'A6 Record Type, RFC 2874' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.39 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.39 NAME 'dNameRecord' DESC 'Non-Terminal DNS Name Redirection, RFC 6672' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 @@ -191,21 +191,21 @@ SUBSTR caseIgnoreIA5SubstringsMatch SINGLE-VALUE ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.43 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.43 NAME 'dSRecord' DESC 'Delegation Signer, RFC 3658' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.44 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.44 NAME 'sSHFPRecord' DESC 'SSH Key Fingerprint, draft-ietf-secsh-dns-05.txt' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.51 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.51 NAME 'nSEC3PARAMRecord' DESC 'RFC 5155' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 @@ -213,13 +213,13 @@ SUBSTR caseIgnoreIA5SubstringsMatch SINGLE-VALUE ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.52 NAME 'TLSARecord' +attributeTypes ( 1.3.6.1.4.1.2428.20.1.52 NAME 'TLSARecord' DESC 'DNS-Based Authentication of Named Entities - Transport Layer Security Protocol, RFC 6698' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 1.3.6.1.4.1.2428.20.1.32769 +attributeTypes ( 1.3.6.1.4.1.2428.20.1.32769 NAME 'DLVRecord' DESC 'RFC 4431: DNSSEC Lookaside Validation' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 @@ -227,14 +227,14 @@ SUBSTR caseIgnoreIA5SubstringsMatch ) # # See https://fedorahosted.org/bind-dyndb-ldap/wiki/Design/UnknownRecord -attributeTypes: ( 1.3.6.1.4.1.2428.20.4 +attributeTypes ( 1.3.6.1.4.1.2428.20.4 NAME 'UnknownRecord' DESC 'unknown DNS record, RFC 3597' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.0 +attributeTypes ( 2.16.840.1.113730.3.8.5.0 NAME 'idnsName' DESC 'DNS FQDN' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 @@ -242,21 +242,21 @@ SUBSTR caseIgnoreIA5SubstringsMatch SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.1 +attributeTypes ( 2.16.840.1.113730.3.8.5.1 NAME 'idnsAllowDynUpdate' DESC 'permit dynamic updates on this zone' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 EQUALITY booleanMatch SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.2 +attributeTypes ( 2.16.840.1.113730.3.8.5.2 NAME 'idnsZoneActive' DESC 'define if the zone is considered in use' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 EQUALITY booleanMatch SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.3 +attributeTypes ( 2.16.840.1.113730.3.8.5.3 NAME 'idnsSOAmName' DESC 'SOA Name' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 @@ -264,7 +264,7 @@ SUBSTR caseIgnoreIA5SubstringsMatch SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.4 +attributeTypes ( 2.16.840.1.113730.3.8.5.4 NAME 'idnsSOArName' DESC 'SOA root Name' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 @@ -272,42 +272,42 @@ SUBSTR caseIgnoreIA5SubstringsMatch SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.5 +attributeTypes ( 2.16.840.1.113730.3.8.5.5 NAME 'idnsSOAserial' DESC 'SOA serial number' SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 EQUALITY numericStringMatch SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.6 +attributeTypes ( 2.16.840.1.113730.3.8.5.6 NAME 'idnsSOArefresh' DESC 'SOA refresh value' SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 EQUALITY numericStringMatch SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.7 +attributeTypes ( 2.16.840.1.113730.3.8.5.7 NAME 'idnsSOAretry' DESC 'SOA retry value' SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 EQUALITY numericStringMatch SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.8 +attributeTypes ( 2.16.840.1.113730.3.8.5.8 NAME 'idnsSOAexpire' DESC 'SOA expire value' SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 EQUALITY numericStringMatch SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.9 +attributeTypes ( 2.16.840.1.113730.3.8.5.9 NAME 'idnsSOAminimum' DESC 'SOA minimum value' SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 EQUALITY numericStringMatch SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.10 +attributeTypes ( 2.16.840.1.113730.3.8.5.10 NAME 'idnsUpdatePolicy' DESC 'DNS dynamic updates policy' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 @@ -315,28 +315,28 @@ SUBSTR caseIgnoreIA5SubstringsMatch SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.11 +attributeTypes ( 2.16.840.1.113730.3.8.5.11 NAME 'idnsAllowQuery' DESC 'BIND9 allow-query ACL element' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.12 +attributeTypes ( 2.16.840.1.113730.3.8.5.12 NAME 'idnsAllowTransfer' DESC 'BIND9 allow-transfer ACL element' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.13 +attributeTypes ( 2.16.840.1.113730.3.8.5.13 NAME 'idnsAllowSyncPTR' DESC 'permit synchronization of PTR records' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 EQUALITY booleanMatch SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.14 +attributeTypes ( 2.16.840.1.113730.3.8.5.14 NAME 'idnsForwardPolicy' DESC 'forward policy: only or first' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 @@ -344,34 +344,34 @@ SUBSTR caseIgnoreIA5SubstringsMatch SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.15 +attributeTypes ( 2.16.840.1.113730.3.8.5.15 NAME 'idnsForwarders' DESC 'list of forwarders' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.18 +attributeTypes ( 2.16.840.1.113730.3.8.5.18 NAME 'idnsSecInlineSigning' DESC 'DNSSEC in-line signing' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 EQUALITY booleanMatch SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.31 +attributeTypes ( 2.16.840.1.113730.3.8.5.31 NAME 'idnsServerId' DESC 'DNS server identifier' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 EQUALITY caseIgnoreMatch SINGLE-VALUE ) # -attributeTypes: ( 2.16.840.1.113730.3.8.5.30 +attributeTypes ( 2.16.840.1.113730.3.8.5.30 NAME 'idnsSubstitutionVariable' DESC 'User defined variable for DNS plugin' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 EQUALITY caseIgnoreIA5Match ) # -objectClasses: ( 2.16.840.1.113730.3.8.6.0 +objectClass ( 2.16.840.1.113730.3.8.6.0 NAME 'idnsRecord' DESC 'dns Record, usually a host' SUP top @@ -385,7 +385,7 @@ DSRecord $ SSHFPRecord $ DLVRecord $ TLSARecord $ UnknownRecord ) ) # -objectClasses: ( 2.16.840.1.113730.3.8.6.1 +objectClass ( 2.16.840.1.113730.3.8.6.1 NAME 'idnsZone' DESC 'Zone class' SUP idnsRecord @@ -399,13 +399,13 @@ idnsSecInlineSigning $ nSEC3PARAMRecord $ dNSdefaultTTL ) ) # -objectClasses: ( 2.16.840.1.113730.3.8.6.2 +objectClass ( 2.16.840.1.113730.3.8.6.2 NAME 'idnsConfigObject' DESC 'DNS global config options' STRUCTURAL MAY ( idnsForwardPolicy $ idnsForwarders $ idnsAllowSyncPTR ) ) # -objectClasses: ( 2.16.840.1.113730.3.8.6.3 +objectClass ( 2.16.840.1.113730.3.8.6.3 NAME 'idnsForwardZone' DESC 'Forward Zone class' SUP top @@ -413,7 +413,7 @@ MUST ( idnsName $ idnsZoneActive ) MAY ( idnsForwarders $ idnsForwardPolicy ) ) # -objectClasses: ( 2.16.840.1.113730.3.8.6.6 +objectClass ( 2.16.840.1.113730.3.8.6.6 NAME 'idnsServerConfigObject' DESC 'DNS server configuration' SUP top @@ -423,9 +423,9 @@ idnsSubstitutionVariable ) ) # -objectClasses: ( 2.16.840.1.113730.3.8.6.5 - NAME 'idnsTemplateObject' - DESC 'Template object for dynamic DNS attribute generation' - SUP top - AUXILIARY - MUST ( idnsTemplateAttribute ) ) +#objectClass ( 2.16.840.1.113730.3.8.6.5 +# NAME 'idnsTemplateObject' +# DESC 'Template object for dynamic DNS attribute generation' +# SUP top +# AUXILIARY +# MUST ( idnsTemplateAttribute ) )