Hello,
I'm using:
dnszone.schema with LDAP where bind 9 gets information directly from
LDAP via ssl connection.
http://www.venaas.no/ldap/bind-sdb/dnszone-schema.txt

...
objectclass ( 1.3.6.1.4.1.2428.20.3 NAME 'dNSZone'
        SUP top STRUCTURAL
        MUST ( zoneName $ relativeDomainName )
        MAY ( DNSTTL $ DNSClass $
              ARecord $ MDRecord $ MXRecord $ NSRecord $
              SOARecord $ CNAMERecord $ PTRRecord $ HINFORecord $
              MINFORecord $ TXTRecord $ AFSDBRecord $ SIGRecord $
              KEYRecord $ AAAARecord $ LOCRecord $ NXTRecord $
              SRVRecord $ NAPTRRecord $ KXRecord $ CERTRecord $
              A6Record $ DNAMERecord $ DSRecord $ SSHFPRecord $
              RRSIGRecord $ NSECRecord ) )
...

I am trying to create forward and reverse zone templates and having a
problem getting "MAY" attributes to show up. Can anyone take a look at
this to see if there is anything obviously wrong?

forward_zone.xml
...
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE template SYSTEM "template.dtd">
<template>
<title>DNS Forward Zone</title>
<regexp>.*ou=DNS,ou=Network,dc=mbl,dc=edu</regexp>
<icon>images/dc.png</icon>
<askcontainer>1</askcontainer>
<rdn>relativeDomainName</rdn>
<visible>1</visible>

<objectClasses>
<objectClass id="dNSZone"></objectClass>
</objectClasses>

<attributes>
<attribute id="relativeDomainName">
        <display>relativeDomainName</display>
        <hint>Format ex. webserver.mbl.edu</hint>
        <icon>images/dc.png</icon>
        <order>1</order>
        <page>1</page>
</attribute>
<attribute id="zoneName">
        <display>zoneName</display>
        <order>2</order>
        <page>1</page>
</attribute>
<attribute id="aRecord">
        <display>aRecord</display>
        <order>3</order>
        <page>1</page>
</attribute>
<attribute id="dNSClass">
        <display>dNSClass</display>
        <order>4</order>
        <page>1</page>
</attribute>
<attribute id="dNSTTL">
        <display>dNSTTL</display>
        <order>5</order>
        <page>1</page>
</attribute>
</attributes>
</template>
...
 reverse_zone.xml
...
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE template SYSTEM "template.dtd">
<template>
<title>DNS Reverse Zone</title>
<!--<regexp>.*ou=DNS,ou=Network,dc=mbl,dc=edu$</regexp>-->
<icon>images/dc.png</icon>
<askcontainer>1</askcontainer>
<rdn>relativeDomainName</rdn>
<visible>1</visible>

<objectClasses>
<objectClass id="dNSZone"></objectClass>
</objectClasses>

<attributes>
<attribute id="relativeDomainName">
        <display>relativeDomainName</display>
        <hint>Format ex. 121 (4th octet)</hint>
        <icon>images/dc.png</icon>
        <order>1</order>
        <page>1</page>
</attribute>
<attribute id="pTRRecord">
        <display>pTRRecord</display>
        <value>.mbl.edu.</value>
        <order>2</order>
        <page>1</page>
</attribute>
<attribute id="dNSTTL">
        <display>dNSTTL</display>
        <value>10800</value>
        <order>3</order>
        <page>1</page>
</attribute>
<attribute id="dNSClass">
        <display>dNSClass</display>
        <value>IN</value>
        <order>4</order>
        <page>1</page>
</attribute>
<attribute id="zoneName">
        <display>zoneName</display>
        <value>1.16.172.in-addr.arpa</value>
        <value>10.16.172.in-addr.arpa</value>
        <value>20.16.172.in-addr.arpa</value>
        <value>30.16.172.in-addr.arpa</value>
        <value>40.16.172.in-addr.arpa</value>
        <value>50.16.172.in-addr.arpa</value>
        <value>60.16.172.in-addr.arpa</value>
        <value>70.16.172.in-addr.arpa</value>
        <value>80.16.172.in-addr.arpa</value>
        <value>90.16.172.in-addr.arpa</value>
        <value>100.16.172.in-addr.arpa</value>
        <value>110.16.172.in-addr.arpa</value>
        <value>120.16.172.in-addr.arpa</value>
        <value>130.16.172.in-addr.arpa</value>
        <value>140.16.172.in-addr.arpa</value>
        <value>150.16.172.in-addr.arpa</value>
        <value>160.16.172.in-addr.arpa</value>
        <value>170.16.172.in-addr.arpa</value>
        <value>200.16.172.in-addr.arpa</value>
        <order>5</order>
        <page>1</page>
</attribute>
</attributes>
</template>
...

The only thing that shows up is container, relativeDomainName and
zoneName. 

Kent N.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
phpldapadmin-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to