Hi all

I was wondering if anybody can help me to correct this template for the
following:

dn: cn=testhost,ou=hosts,dc=NOWconnect,dc=co,dc=za
objectClass: ipHost
objectClass: device
objectClass: extensibleObject
ipHostNumber: 192.168.40.25
cn: ga03we.NOWconnect.co.za
cn: ga03we
member: cn=Christoff van Zyl,dc=NOWconnect,dc=co,dc=za


I have done the following, the problem is the second cn does not show in
PLA. Any help will be appreciated.

<!DOCTYPE template SYSTEM "template.dtd">
<template>
<title>New Hosts</title>
!-- <regexp>^ou=hosts,*</regexp> -->
<icon>images/server.png</icon>
<description>New Host</description>
<askcontainer>1</askcontainer>
<rdn>cn</rdn>
<visible>1</visible>

<objectClasses>
<objectClass id="ipHost"></objectClass>
<objectClass id="device"></objectClass>
<objectClass id="extensibleObject"></objectClass>
</objectClasses>

<attributes>
<attribute id="ipHostNumber">
        <display>IP of Host</display>
        <order>1</order>
        <page>1</page>
</attribute>
<attribute id="cn">
        <display>FQDN</display>
        <onchange>autoFill:cn,%cn%.fnbconnect.co.za</onchange>
        <order>2</order>
        <page>1</page>
</attribute>
<attribute id="cn">
        <display>Hostname</display>
        <order>3</order>
        <page>1</page>
</attribute>
<attribute id="member">
        <display>Members</display>
        <order>4</order>
        <page>1</page>
</attribute>
</attributes>
</template>

To read FirstRand Bank's Disclaimer for this email click on the following 
address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html 

If you are unable to access the Disclaimer, send a blank e-mail to
[EMAIL PROTECTED] and we will send you a copy of the Disclaimer.

-------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to