Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

libapache2-mod-vhost-ldap: How to add entry to OpenLdap.

From: Etienne Pretorius <etiennep(at)kingsley.co.za>
Date: Mon Jul 16 2007 - 05:29:37 EDT


Hello List,

I've been hitting my head on a brick wall for about a day now. It also seems that there aren't any examples out there to give someone like me an idea on how to add this entry to an LDAP tree. Well let me first say that sofar I am using phpldapadmin and I have made a small tree as follows:

dn: o=Company Name,<baseDN>.

So I am attempting to add a apacheConfig entry and I always get error about "LDAP_NAMING_VIOLATION", I have tried a number of prefixes as in 'uid=','cn=','gn=','dc='.

RDN: 'someprefix'=bob.co.za
Container: o=Company Name,<baseDN>.
ObjectClass: apacheConfig

Required Attributes:

    apacheDocumentRoot: /var/www/bob.co.za/     apacheServerName: 'hostname of this host'

I have added the schema entries:

Do you need help?X

/etc/ldap/slapd.conf:

# Schema and objectClass definitions

include         /etc/ldap/schema/core.schema
include         /etc/ldap/schema/cosine.schema
include         /etc/ldap/schema/nis.schema
include         /etc/ldap/schema/inetorgperson.schema
include         /etc/ldap/schema/mod_vhost_ldap.schema

[root@xxxx:~] file /etc/ldap/schema/mod_vhost_ldap.schema
/etc/ldap/schema/mod_vhost_ldap.schema: ASCII text

Could someone please shed some light on this subject for me.

-- 

Kind Regards

Etienne Pretorius



-- 
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Mon Jul 16 05:30:23 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 18:01:42 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library