[phpldapadmin] automount template problem
Dan Tomlinson <[email protected]>
| Newsgroups | gmane.comp.ldap.davedap |
|---|---|
| Message-ID | <[email protected]> |
Hi guys,
great application you have here - I can see it making my LDAP administration
much easier!
I am trying to write a template for automount map entries along the lines
of:
----------
# francois, auto.home, Mounts, mydomain.com
dn: cn=francois,ou=auto.home,ou=Mounts,dc=mydomain,dc=com
cn: francois
objectClass: automount
automountInformation: nfs-home:/export/home/&
----------
The above was taken from my existing LDAP database and was created by my
predecessor using some homebrew perl scripts.
I would love to be able to create such LDAP entries in phpldapadmin and the
template I have come up with is as follows:
----------
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE template SYSTEM "template.dtd">
<template>
<title>Automount Map</title>
<!--<regexp>^$</regexp>-->
<icon>images/star.png</icon>
<description>Create a new automount map</description>
<rdn>cn</rdn>
<visible>1</visible>
<objectClasses>
<objectClass id="automount"></objectClass>
</objectClasses>
<attributes>
<attribute id="cn">
<display>Common Name</display>
<onchange>autoFill:automountInformation,number1.flychip.org.uk:/export/home/%cn%</onchange>
<order>1</order>
<page>1</page>
</attribute>
<attribute id="automountInformation">
<display>Automount Information</display>
<order>2</order>
<page>1</page>
</attribute>
</attributes>
</template>
----------
For some reason, although this appears in my Create Object page, when I fill
in the entries and hit "Create Object", I am presented with the error: "You
left the value blank for required attribute (objectclass)."
I'm sure I am missing something pretty simple, but after a good few hours of
head scratching and browsing the other templates, I can't see what it is. I
am using phpldapadmin 1.1.0.5 under debian lenny.
Many thanks in advance for your help.
Cheers,
Dan
--
View this message in context: http://old.nabble.com/automount-template-problem-tp27181822p27181822.html
Sent from the phpldapadmin-devel mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/