vk  

Install Problems

mailing
Mon, 23 Sep 2002 07:21:51 -0700

Hi! I am trying to install vk. But 


when I am typing: 

[root@serv1 vk]# slapadd -b dc=hostname,dc=trxonline,dc=de -l MYLDIF 



I get following Error Message:
           
slapadd: database (dc=hostname,dc=trxonline,dc=de) not configured to
hold dn="dc=rhost,dc=trxonline,dc=de" (line=5)
slapadd: database (dc=hostname,dc=trxonline,dc=de) not configured to
hold dn="type=hostMap,dc=rhost,dc=trxonline,dc=de" (line=10)
slapadd: database (dc=hostname,dc=trxonline,dc=de) not configured to
hold dn="cn=Manager,dc=trxonline,dc=de" (line=17)



My slapd.conf contains (only):

# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.6 2001/04/20
23:32:43 kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/redhat/rfc822-MailMember.schema
include         /etc/openldap/schema/redhat/autofs.schema
include         /etc/openldap/schema/redhat/kerberosobject.schema
include         /etc/openldap/schema/kandalaya.schema

schemacheck     off

#######################################################################
# ldbm database definitions
#######################################################################

database        ldbm
suffix          "dc=hostname,dc=trxonline,dc=de"
rootdn          "cn=Manager,dc=hostname,dc=trxonline,dc=de"
directory       /var/lib/ldap
lastmod         on
# Indices to maintain
index   objectClass,uid,uidNumber,gidNumber,memberUid   eq
index   cn,mail,surname,givenname                       eq,subinitial

#
# ACL's for VishwaKarma
#
access to
       dn="cn=manager,dc=trxonline,dc=de"
 
attr=entry,notifydomainaddemail,notifydomainaddlist,notifydomaindeleteem
ail,notifydomaindeletelist,notifydomainmodifyemail,notifydomainownerchan
geemail,notifyresellerchangeemail,notifyresellercreatedomain,notifyresel
lerdeletedomain,notifyresellermodifydomain,notifyuserchangedelivery,noti
fyuserchangepassword,notifyuserchangeemail,objectclass,cn,mail
        by users read
        by dn="cn=Manager,dc=trxonline,dc=de" write
        by * none
access to
       dn="^reseller=(.*),dc=trxonline,dc=de"
 
attr=entry,notifydomainaddemail,notifydomainaddlist,notifydomaindeleteem
ail,notifydomaindeletelist,notifydomainmodifyemail,notifydomainownerchan
geemail,notifyuserchangedelivery,notifyuserchangepassword,notifyuserchan
geemail,objectclass,cn,mail
        by self write
        by dn=".*,reseller=$1,dc=trxonline,dc=de" read
        by dn=".*,type=HostMap,dc=trxonline,dc=de" read
        by dn="cn=Manager,dc=trxonline,dc=de" write
        by * none
access to
       dn="^hostname=(.*),reseller=(.*),dc=trxonline,dc=de"
 
attr=entry,notifyuserchangedelivery,notifyuserchangepassword,notifyuserc
hangeemail,objectclass,cn,mail
        by self write
        by dn=".*,hostname=$1,reseller=$2,dc=trxonline,dc=de" read
        by dn="hostName=$1,type=HostMap,dc=trxonline,dc=de" read
        by dn="reseller=$2,dc=trxonline,dc=de" write
        by dn="cn=Manager,dc=trxonline,dc=de" write
        by * none
access to dn="^reseller=(.*),dc=trxonline,dc=de"
        by dn="reseller=$1,dc=trxonline,dc=de" write
        by anonymous auth
        by * none
access to dn="^hostName=.*,reseller=(.*),dc=trxonline,dc=de"
        by dn="reseller=$1,dc=trxonline,dc=de" write
        by anonymous auth
        by * none
access to dn="^hostname=.*,type=hostMap,dc=trxonline,dc=de"
        by * read
access to dn="type=hostMap,dc=trxonline,dc=de"
        by dn="reseller=.*,dc=trxonline,dc=de" write
        by anonymous auth
        by * none
access to dn="^user=.*,hostname=(.*),reseller=(.*),dc=trxonline,dc=de"
        by self write
        by dn="hostname=$1,reseller=$2,dc=trxonline,dc=de" write
        by dn="reseller=$2,dc=trxonline,dc=de" write
        by anonymous auth
        by * none
access to dn=".*"
        by dn="cn=manager,dc=trxonline,dc=de" write
        by anonymous auth
        by * none



Yours
Peter