Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ldapbackend: Add support for new record types #5584

Merged
merged 1 commit into from Sep 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
79 changes: 71 additions & 8 deletions modules/ldapbackend/dnsdomain2.schema
Expand Up @@ -176,26 +176,80 @@ attributetype ( 1.3.6.1.4.1.2428.20.1.49 NAME 'dHCIDRecord'
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.2428.20.1.99 NAME 'sPFRecord'
DESC 'Sender Policy Framework, RFC 4408'
attributetype ( 1.3.6.1.4.1.2428.20.1.50 NAME 'nSEC3Record'
DESC 'NSEC record version 3, RFC 5155'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.2428.20.1.65534 NAME 'TYPE65534Record'
DESC ''
attributetype ( 1.3.6.1.4.1.2428.20.1.51 NAME 'nSEC3PARAMRecord'
DESC 'NSEC3 parameters, RFC 5155'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.2428.20.1.52 NAME 'tLSARecord'
DESC 'TLSA certificate association, RFC 6698'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.2428.20.1.59 NAME 'cDSRecord'
DESC 'Child DS, RFC7344'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.2428.20.1.60 NAME 'cDNSKeyRecord'
DESC 'DNSKEY(s) the Child wants reflected in DS, RFC7344'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.2428.20.1.61 NAME 'openPGPKeyRecord'
DESC 'OpenPGP Key, RFC7929'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.2428.20.1.99 NAME 'sPFRecord'
DESC 'Sender Policy Framework, RFC 4408'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.2428.20.1.108 NAME 'EUI48Record'
DESC ''
DESC 'EUI-48 address, RFC7043'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.2428.20.1.109 NAME 'EUI64Record'
DESC ''
DESC 'EUI-64 address, RFC7043'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.2428.20.1.249 NAME 'tKeyRecord'
DESC 'Transaction Key, RFC2930'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.2428.20.1.256 NAME 'uRIRecord'
DESC 'URI, RFC7553'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.2428.20.1.257 NAME 'cAARecord'
DESC 'Certification Authority Restriction, RFC6844'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.2428.20.1.32769 NAME 'dLVRecord'
DESC 'DNSSEC Lookaside Validation, RFC4431'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
Expand All @@ -206,6 +260,12 @@ attributetype ( 1.3.6.1.4.1.2428.20.1.65226 NAME 'TYPE65226Record'
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.2428.20.1.65534 NAME 'TYPE65534Record'
DESC ''
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

objectclass ( 1.3.6.1.4.1.2428.20.2 NAME 'dNSDomain2'
SUP 'dNSDomain' STRUCTURAL
MAY ( DNSTTL $ DNSClass $ WKSRecord $ PTRRecord $
Expand All @@ -215,6 +275,9 @@ objectclass ( 1.3.6.1.4.1.2428.20.2 NAME 'dNSDomain2'
NAPTRRecord $ KXRecord $ CERTRecord $ A6Record $
DNAMERecord $ APLRecord $ DSRecord $ SSHFPRecord $
IPSECKEYRecord $ RRSIGRecord $ NSECRecord $
DNSKEYRecord $ DHCIDRecord $ SPFRecord $ TYPE65534Record $
TYPE65226Record $ EUI48Record $ EUI64Record
DNSKEYRecord $ DHCIDRecord $ NSEC3Record $ NSEC3PARAMRecord $
TLSARecord $ CDSRecord $ CDNSKEYRecord $ OPENPGPKEYRecord $
SPFRecord $ EUI48Record $ EUI64Record $ TKEYRecord $
URIRecord $ CAARecord $ DLVRecord $ TYPE65226Record $
TYPE65534Record
) )
11 changes: 10 additions & 1 deletion modules/ldapbackend/ldapbackend.hh
Expand Up @@ -84,11 +84,20 @@ static const char* ldap_attrany[] = {
"nSECRecord",
"dNSKeyRecord",
"dHCIDRecord",
"nSEC3Record",
"nSEC3PARAMRecord",
"tLSARecord",
"cDSRecord",
"cDNSKeyRecord",
"openPGPKeyRecord",
"sPFRecord",
"TYPE65534Record",
"EUI48Record",
"EUI64Record",
"tKeyRecord",
"uRIRecord",
"cAARecord",
"TYPE65226Record",
"TYPE65534Record",
"modifyTimestamp",
NULL
};
Expand Down