With a little side of applesauce...

Sunday, January 28, 2007

phpLDAPadmin - custom object templates

I have just found the power of the phpLDAPadmin templates. They have separated the object creation templates into the:


directory, (on ubuntu), and you can copy and modify any of those templates to create your own. I needed to be able to create groupOfNames objects, so I came up with this template:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE template SYSTEM "template.dtd">
<title>User Group</title>
<!-- <regexp>^ou=.*,</regexp> -->
<description>New groupOfNames</description>

<objectclass id="groupOfNames"></objectclass>

<attribute id="cn">
<attribute id="member">
<attribute id="memberUid">

This page in the phpLDAPadmin wiki helped me to get started:

No comments: