xml template not showing attributes

View: New views
6 Messages — Rating Filter:   Alert me  

xml template not showing attributes

by Kent Nasveschuk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I posted this once before, but no one responded. I have a template that
I'm trying to create for dnszone.schema
http://www.venaas.no/ldap/bind-sdb/dnszone-schema.txt

I have been unable to get any attribute other than the MUST attributes
to show up on the web page.

--forward_zone.xml--
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE template SYSTEM "template.dtd">
<template>
<title>DNS Forward Zone</title>
<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>
        <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>
</attributes>
</template>
------------

The MUST attributes "relativeDomainName" and "zonename" show up,
"aRecord" doesn't. I've made other templates none behave like this one.
I think there must be some other reason I am missing. Any suggestions?

Kent N

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@...
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Re: xml template not showing attributes

by joshua-43 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> http://www.venaas.no/ldap/bind-sdb/dnszone-schema.txt
>
> I have been unable to get any attribute other than the MUST attributes
> to show up on the web page.

>
> The MUST attributes "relativeDomainName" and "zonename" show up,
> "aRecord" doesn't. I've made other templates none behave like this one.
> I think there must be some other reason I am missing. Any suggestions?

I copied and pasted your xml file and it works great with the schema I am
using with OpenLDAP.

HTH,
--
Josh Miller, RHCE


Diff of schemas:
diff -u /etc/openldap/schema/dnszone.schema dnszone-schema.txt
--- /etc/openldap/schema/dnszone.schema 2008-06-12 11:10:18.000000000 -0700
+++ dnszone-schema.txt  2005-03-29 10:16:07.000000000 -0800
@@ -46,6 +46,12 @@
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

+attributetype ( 1.3.6.1.4.1.2428.20.1.18 NAME 'aFSDBRecord'
+       DESC 'for AFS Data Base location, RFC 1183'
+       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.24 NAME 'SigRecord'
        DESC 'Signature, RFC 2535'
        EQUALITY caseIgnoreIA5Match
@@ -112,13 +118,38 @@
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

+attributetype ( 1.3.6.1.4.1.2428.20.1.43 NAME 'dSRecord'
+       DESC 'Delegation Signer, RFC 3658'
+       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.44 NAME 'sSHFPRecord'
+       DESC 'SSH Key Fingerprint, draft-ietf-secsh-dns-05.txt'
+       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.46 NAME 'rRSIGRecord'
+       DESC 'RRSIG, RFC 3755'
+       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.47 NAME 'nSECRecord'
+       DESC 'NSEC, RFC 3755'
+       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.3 NAME 'dNSZone'
         SUP top STRUCTURAL
        MUST ( zoneName $ relativeDomainName )
         MAY ( DNSTTL $ DNSClass $
               ARecord $ MDRecord $ MXRecord $ NSRecord $
              SOARecord $ CNAMERecord $ PTRRecord $ HINFORecord $
-              MINFORecord $ TXTRecord $ SIGRecord $ KEYRecord $
-              AAAARecord $ LOCRecord $ NXTRecord $ SRVRecord $
-              NAPTRRecord $ KXRecord $ CERTRecord $ A6Record $
-              DNAMERecord ) )
+              MINFORecord $ TXTRecord $ AFSDBRecord $ SIGRecord $
+              KEYRecord $ AAAARecord $ LOCRecord $ NXTRecord $
+              SRVRecord $ NAPTRRecord $ KXRecord $ CERTRecord $
+              A6Record $ DNAMERecord $ DSRecord $ SSHFPRecord $
+              RRSIGRecord $ NSECRecord ) )



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@...
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Re: xml template not showing attributes

by Kent Nasveschuk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I did not use rpm version of dnszone.schema but the version that came
from the link below. I did find a bind-sdb rpm that has the schema I
think you used. Question if you don't mind me asking, are you using bind
with LDAP backend, and if so, are you using a self compiled version or
rpm someone built? What OS?

I'm running everything on CentOS 5 boxes: DNS, LDAP, phpldapadmin.

I will have to switch schemas on my dummy box and see if I can get the
xml file to work.

Kent N
 
On Wed, 2008-06-25 at 09:06 -0700, Josh Miller wrote:

> > http://www.venaas.no/ldap/bind-sdb/dnszone-schema.txt
> >
> > I have been unable to get any attribute other than the MUST attributes
> > to show up on the web page.
>
> >
> > The MUST attributes "relativeDomainName" and "zonename" show up,
> > "aRecord" doesn't. I've made other templates none behave like this one.
> > I think there must be some other reason I am missing. Any suggestions?
>
> I copied and pasted your xml file and it works great with the schema I am
> using with OpenLDAP.
>
> HTH,

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@...
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Re: xml template not showing attributes

by joshua-43 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I did not use rpm version of dnszone.schema but the version that came
> from the link below. I did find a bind-sdb rpm that has the schema I
> think you used. Question if you don't mind me asking, are you using bind
> with LDAP backend, and if so, are you using a self compiled version or
> rpm someone built? What OS?
>
> I'm running everything on CentOS 5 boxes: DNS, LDAP, phpldapadmin.

I am not using Bind with an LDAP backend although I probably should!


--
Josh Miller, RHCE


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@...
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Re: xml template not showing attributes

by Kent Nasveschuk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well that didn't work still can't get the template to show any
attributes other than the "MUST" attributes.

I swapped schemas, at least I didn't have the to reload all the zones.
Then I removed all ACLs.

I did:
 ldapsearch -xh localhost -b 'cn=Subschema' -s base
'(objectClass=subschema)' attributetypes

ldapsearch -xh localhost -b 'cn=Subschema' -s base
'(objectClass=subschema)' objectclasses

All the attribute types and objectclasses for the dnszone schema show
up.

I'm baffled and running low on hair to pull out :(


Kent N



On Wed, 2008-06-25 at 11:12 -0700, Josh Miller wrote:

> > I did not use rpm version of dnszone.schema but the version that came
> > from the link below. I did find a bind-sdb rpm that has the schema I
> > think you used. Question if you don't mind me asking, are you using bind
> > with LDAP backend, and if so, are you using a self compiled version or
> > rpm someone built? What OS?
> >
> > I'm running everything on CentOS 5 boxes: DNS, LDAP, phpldapadmin.
>
> I am not using Bind with an LDAP backend although I probably should!
>
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@...
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Re: xml template not showing attributes

by Deon George :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Look at the schema (through PLA) - is aRecord a valid attribute?

Check the case, it may be case related as well.

...deon

On Wed, 25 Jun 2008 11:21:13 -0400, Kent Nasveschuk wrote

> The MUST attributes "relativeDomainName" and "zonename" show up,
> "aRecord" doesn't. I've made other templates none behave like this one.
> I think there must be some other reason I am missing. Any suggestions?


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@...
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users
LightInTheBox - Buy quality products at wholesale price