Help!

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

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> ISP RSS
Next:  please requeue monotone for build on i386  
Author Message
Etienne Pretorius
External


Since: Jul 16, 2007
Posts: 1



PostPosted: Mon Jul 16, 2007 11:40 am    Post subject: libapache2-mod-vhost-ldap: How to add entry to OpenLdap.
Archived from groups: linux>debian>isp (more info?)

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:

/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.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> ISP All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum