Re: LDAP Schema

Jorgen Lundman <[email protected]> Fri, 12 Jul 2013 17:07:29 +0900
Newsgroups gmane.network.dns.bind9.dlz
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------030703000708000505040408
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit


Don't know if it is "the correct schema" but we use this one, rather 
successfully.

Lund



Stephan Fabel wrote:
> Hi,
>
> does anyone have the correct schema to use with the DLZ LDAP backend?
>
> Thanks
> Stephan
>
> --
> Stephan Fabel
> Technical Lead / College of Education
> University of Hawaii at Manoa
> Phone (808) 956-7939- Cell (260) 232-2357
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Bind-dlz-testers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bind-dlz-testers
>

-- 
Jorgen Lundman       | <[email protected]>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)

--------------030703000708000505040408
Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0";
	name="dlz.schema"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="dlz.schema"

# DLZ schema definition for Openldap
# Romain GEORGES variation from DLZ project Schema

objectidentifier dlz 1.3.6.1.4.1.18420

###############################################################################
# Attribute Type Definitions                                                  #
#                                                                             #
#       1.1       DLZ Attributs                                               #
###############################################################################

# 1.1.10 DNSZoneName
# 1.1.20 DNSHostName
# 1.1.30 DNSData
# 1.1.40 DNSType
# 1.1.50 DNSSerial
# 1.1.60 DNSRefresh
# 1.1.70 DNSRetry
# 1.1.80 DNSExpire
# 1.1.90 DNSMinimum
# 1.1.100 DNSAdminEmail
# 1.1.110 DNSPrimaryNS
# 1.1.120 DNSIPAddr
# 1.1.130 DNSCName
# 1.1.140 DNSPreference
# 1.1.150 DNSTTL
# 1.1.160 DNSRecord

attributetype ( dlz:1.1.10
        NAME 'DNSZoneName'
        DESC 'DNS zone name - domain name not including host name'
        SUP name
        SINGLE-VALUE )

attributetype ( dlz:1.1.20
        NAME 'DNSHostName'
        DESC 'Host portion of a domain name'
        SUP name
        SINGLE-VALUE )

attributetype ( dlz:1.1.30
        NAME 'DNSData'
        DESC 'Data for the resource record'
        SUP name
        SINGLE-VALUE )

attributetype ( dlz:1.1.40
        NAME 'DNSType'
        DESC 'DNS record type - A, SOA, NS, MX, etc...'
        SUP name
        SINGLE-VALUE )

attributetype ( dlz:1.1.50
        NAME 'DNSSerial'
        DESC 'SOA record serial number'
        EQUALITY integerMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE )

attributetype ( dlz:1.1.60
        NAME 'DNSRefresh'
        DESC 'SOA record refresh time in seconds'
        EQUALITY integerMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE )

attributetype ( dlz:1.1.70
        NAME 'DNSRetry'
        DESC 'SOA retry time in seconds'
        EQUALITY integerMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE )

attributetype ( dlz:1.1.80
        NAME 'DNSExpire'
        DESC 'SOA expire time in seconds'
        EQUALITY integerMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE )

attributetype ( dlz:1.1.90
        NAME 'DNSMinimum'
        DESC 'SOA minimum time in seconds'
        EQUALITY integerMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE )

attributetype ( dlz:1.1.100
        NAME 'DNSAdminEmail'
        DESC 'E-mail address of person responsible for this zone - @ should be replaced with . (period)'
        SUP name
        SINGLE-VALUE )

attributetype ( dlz:1.1.110
        NAME 'DNSPrimaryNS'
        DESC 'Primary name server for this zone - should be host name not IP address'
        SUP name
        SINGLE-VALUE )

attributetype ( dlz:1.1.120
        NAME 'DNSIPAddr'
        DESC 'IP address - IPV4 should be in dot notation xxx.xxx.xxx.xxx IPV6 should be in colon notation xxxx:xx\
xx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx'
        EQUALITY caseExactIA5Match
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{40}
        SINGLE-VALUE )

attributetype ( dlz:1.1.130
        NAME 'DNSCName'
        DESC 'DNS cname'
        SUP name
        SINGLE-VALUE )

attributetype ( dlz:1.1.140
        NAME 'DNSPreference'
        DESC 'DNS MX record preference.  Lower numbers have higher preference'
        EQUALITY integerMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE )

attributetype ( dlz:1.1.150
        NAME 'DNSTTL'
        DESC 'DNS time to live - how long this record can be cached by caching DNS servers'
        EQUALITY integerMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE )

attributetype ( dlz:1.1.160
        NAME 'DNSRecord'
        DESC 'DNS Record identifier'
        SUP name
        SINGLE-VALUE )
###############################################################################
# Object class Definitions                                                    #
#                                                                             #
#       1.2       DLZ Classes                                                 #
###############################################################################


# 1.2.10 DNSZone
# 1.2.20 DNSHost
# 1.2.30 DNSAbstractRecord
# 1.2.40 DNSGenericRecord
# 1.2.50 DNSARecord
# 1.2.60 DNSNSRecord
# 1.2.70 DNSMXRecord
# 1.2.80 DNSSOARecord
# 1.2.90 DNSTEXTRecord
# 1.2.100 DNSPTRRecord
# 1.2.110 DNSCNAMERecord
# 1.2.120 DNSXFR

objectclass ( dlz:1.2.10
        NAME 'DNSZone'
        DESC 'Zone name portion of a domain name'
        SUP top STRUCTURAL
        MUST ( objectclass $ DNSZoneName ) )

objectclass ( dlz:1.2.20
        NAME 'DNSHost'
        DESC 'Host definition node'
        SUP top STRUCTURAL
        MUST ( objectclass $ DNSHostName ) )

objectclass ( dlz:1.2.30
        NAME 'DNSAbstractRecord'
        DESC 'Data common to all DNS record types'
        SUP top ABSTRACT
        MUST ( objectclass $ DNSHostName $ DNSType $ DNSTTL $ DNSRecord ) )

objectclass ( dlz:1.2.40
        NAME 'DNSGenericRecord'
        DESC 'Generic DNS record - useful when a specific object class has not been defined for a DNS record'
        SUP DNSAbstractRecord STRUCTURAL
        MUST ( DNSData ) )

objectclass ( dlz:1.2.50
        NAME 'DNSARecord'
        DESC 'DNS A record'
        SUP DNSAbstractrecord STRUCTURAL
        MUST ( DNSIPAddr ) )

objectclass ( dlz:1.2.60
        NAME 'DNSNSRecord'
        DESC 'DNS NS record'
        SUP DNSGenericRecord STRUCTURAL )

objectclass ( dlz:1.2.70
        NAME 'DNSMXRecord'
        DESC 'DNS MX record'
        SUP DNSGenericRecord STRUCTURAL
        MUST ( DNSPreference ) )

objectclass ( dlz:1.2.80
        NAME 'DNSSOARecord'
        DESC 'DNS SOA record'
        SUP DNSAbstractRecord STRUCTURAL
        MUST ( DNSSerial $ DNSRefresh $ DNSRetry
               $ DNSExpire $ DNSMinimum $ DNSAdminEmail $ DNSPrimaryNS ) )

objectclass ( dlz:1.2.90
        NAME 'DNSTEXTRecord'
        DESC 'Text data with spaces should be wrapped in double quotes'
        SUP DNSGenericRecord STRUCTURAL )

objectclass ( dlz:1.2.100
        NAME 'DNSPTRRecord'
        DESC 'DNS PTR record'
        SUP DNSGenericRecord STRUCTURAL )

objectclass ( dlz:1.2.110
        NAME 'DNSCNAMERecord'
        DESC 'DNS CName record'
        SUP DNSGenericRecord STRUCTURAL )

objectclass ( dlz:1.2.120
        NAME 'DNSXFR'
        DESC 'Host allowed to perform zone transfer'
        SUP top STRUCTURAL
        MUST ( objectclass $ DNSIPAddr $ DNSRecord ) )



--------------030703000708000505040408
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
--------------030703000708000505040408
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Bind-dlz-testers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bind-dlz-testers

--------------030703000708000505040408--