Author: akarasulu
Date: Mon Feb 28 23:58:21 2005
New Revision: 155759

URL: http://svn.apache.org/viewcvs?view=rev&rev=155759
Log:
changes ...

 o replaced the dnszone schema with a new improved schema for ApacheDS DNS zones
 o removed setup for generating old dnszone
 o added setup for generating new apachedns.schema


Added:
    incubator/directory/apacheds/trunk/core/src/main/schema/apachedns.schema
Removed:
    incubator/directory/apacheds/trunk/core/src/main/schema/dnszone.schema
Modified:
    incubator/directory/apacheds/trunk/core/project.properties

Modified: incubator/directory/apacheds/trunk/core/project.properties
URL: 
http://svn.apache.org/viewcvs/incubator/directory/apacheds/trunk/core/project.properties?view=diff&r1=155758&r2=155759
==============================================================================
--- incubator/directory/apacheds/trunk/core/project.properties (original)
+++ incubator/directory/apacheds/trunk/core/project.properties Mon Feb 28 
23:58:21 2005
@@ -14,8 +14,9 @@
 # schema class generation
 # =======================
 
-maven.ldap.server.schemas=autofs,core,cosine,corba,apache,inetorgperson,java,krb5kdc,nis,system,scheduleworld,dnszone,dhcp
+maven.ldap.server.schemas=apachedns,autofs,core,cosine,corba,apache,inetorgperson,java,krb5kdc,nis,system,scheduleworld,dhcp
 
+maven.ldap.server.schema.deps.apachedns=system,core
 maven.ldap.server.schema.deps.autofs=system,core,cosine
 maven.ldap.server.schema.deps.corba=system,core
 maven.ldap.server.schema.deps.core=system
@@ -27,7 +28,6 @@
 maven.ldap.server.schema.deps.nis=system,core,cosine
 maven.ldap.server.schema.deps.system=
 maven.ldap.server.schema.deps.scheduleworld=system,core,cosine,inetorgperson
-maven.ldap.server.schema.deps.dnszone=system,core
 maven.ldap.server.schema.deps.dhcp=system,core
 
 maven.license.licenseFile=${basedir}/../LICENSE.txt

Added: incubator/directory/apacheds/trunk/core/src/main/schema/apachedns.schema
URL: 
http://svn.apache.org/viewcvs/incubator/directory/apacheds/trunk/core/src/main/schema/apachedns.schema?view=auto&rev=155759
==============================================================================
--- incubator/directory/apacheds/trunk/core/src/main/schema/apachedns.schema 
(added)
+++ incubator/directory/apacheds/trunk/core/src/main/schema/apachedns.schema 
Mon Feb 28 23:58:21 2005
@@ -0,0 +1,100 @@
+#
+# ApacheDS schema for storing DNS zones in LDAP
+#
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.10 NAME 'apacheDNSTTL'
+       DESC 'An integer denoting time to live'
+       EQUALITY integerMatch
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.11 NAME 'apacheDNSClass'
+       DESC 'The class of a resource record'
+       EQUALITY caseIgnoreIA5Match
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.12 NAME 'apacheZoneName'
+       DESC 'The name of a zone, i.e. the name of the highest node in the zone'
+       EQUALITY caseIgnoreIA5Match
+       SUBSTR caseIgnoreIA5SubstringsMatch
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.13 NAME 'apacheName'
+        DESC 'Sequence of labels usually comprising a domain name or host name'
+       EQUALITY caseIgnoreIA5Match
+       SUBSTR caseIgnoreIA5SubstringsMatch
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.14 NAME 'apacheIpAddress'
+        DESC 'A 4 octet IP address'
+        EQUALITY caseIgnoreIA5Match
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} SINGLE-VALUE )
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.14 NAME 'apacheDomainName'
+        DESC 'A domain name or sequence dotted labels'
+        EQUALITY caseIgnoreIA5Match
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE )
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.15 NAME 'apacheSOAMName'
+        DESC 'A domain name of the name server that was the primary source of 
data for this zone'
+        SUP apacheDomainName SINGLE-VALUE )
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.16 NAME 'apacheSOARName'
+        DESC 'The domain name which specifies the mailbox of the person 
responsible for this zone'
+        SUP apacheDomainName SINGLE-VALUE )
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.17 NAME 'apacheSOASerial'
+       DESC 'The unsigned 32 bit ver num of the original copy of the zone'
+       EQUALITY integerMatch
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.18 NAME 'apacheSOARefresh'
+       DESC 'A 32 bit time interval before the zone should be refreshed'
+       EQUALITY integerMatch
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.19 NAME 'apacheSOARetry'
+       DESC 'A 32 bit time interval that should elapse before a failed refresh 
should be retired'
+       EQUALITY integerMatch
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.20 NAME 'apacheSOAExpire'
+       DESC 'A 32 bit time value that specifies the upper limit on the time 
interval that can elapse before the zone is no longer authoritative'
+       EQUALITY integerMatch
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.21 NAME 'apacheSOAMinimum'
+       DESC 'The unsigned 32 bit minimum TTL field that should be exported 
with any RR from this zone.'
+       EQUALITY integerMatch
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
+
+objectclass ( 1.2.6.1.4.1.18060.1.1.1.4.1
+        NAME 'apacheAbstractRecord'
+        DESC 'An abstract DNS record objectClass used to build other specific 
structural objectclasses for different record types'
+        SUP top
+        ABSTRACT 
+        MUST ( apacheDNSTTL $ apacheDNSClass $ apacheZoneName $ apacheName ) )
+
+objectclass ( 1.2.6.1.4.1.18060.1.1.1.4.2 
+        NAME 'apacheAddressRecord'
+        DESC 'An address record a.k.a. A record'
+        SUP apacheAbstractRecord 
+        MUST apacheIpAddress )
+
+objectclass ( 1.2.6.1.4.1.18060.1.1.1.4.3 
+        NAME 'apachePointerRecord'
+        DESC 'A DNS Pointer record'
+        SUP apacheAbstractRecord 
+        MUST apacheDomainName )
+
+objectclass ( 1.2.6.1.4.1.18060.1.1.1.4.4
+        NAME 'apacheNameServerRecord'
+        DESC 'A DNS Name Server record'
+        SUP apacheAbstractRecord 
+        MUST apacheName )
+
+objectclass ( 1.2.6.1.4.1.18060.1.1.1.4.5
+        NAME 'apacheStartOfAuthorityRecord'
+        DESC 'A DNS Start of Authority record'
+        SUP apacheAbstractRecord
+        MUST ( apacheSOAMName $ apacheSOARName $ apacheSOASerial $ 
apacheSOARefresh $ apacheSOARetry $ apacheSOAExpire $apacheSOAMinimum ) )
+


Reply via email to