[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slapadd: line 6: database
- To: "Dieter Schicker" <didi@ling.uni-graz.at>
- Subject: Re: slapadd: line 6: database
- From: "Amy And" <skoolin@gmail.com>
- Date: Sun, 26 Feb 2006 20:54:44 -0500
- Cc: openldap-software@OpenLDAP.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=hx8eewJWKohR0br4iBYS/gQM4zqS+HNGpkeQ/aJe/5EWWQeVoD2FDLzhuzlNDGId8zjxZfAxr1NdXxXKKWYWlnHALKEOwIsuNPDJYcsCoXZdDNZs4bosZVihWEKVZ9Bp5cGxH9MAimO4tPQGLuP7Dhu3qjPAUIlkYlGLA8Ol9WU=
- In-reply-to: <4402464B.3090302@ling.uni-graz.at>
- References: <e433040a0602260833p4be52370td4ef2a9f18b12456@mail.gmail.com> <440203A8.3010200@ling.uni-graz.at> <e433040a0602261603p164a5eft4afbc3b88b9bc30c@mail.gmail.com> <4402464B.3090302@ling.uni-graz.at>
I commented out the dc=my-domain,dc=com and tried again, this is the resutls
again with the slapd.conf.
[root@mdk openldap]# /usr/local/openldap/sbin/slapadd -l
/usr/local/openxchange/share/init_ldap.ldif
Segmentation fault
[root@mdk openldap]# cat /usr/local/openldap/etc/openldap/slapd.conf
include /usr/local/openldap/etc/openldap/schema/core.schema
pidfile /usr/local/openldap/var/run/slapd.pid
argsfile /usr/local/openldap/var/run/slapd.args
#######################################################################
# BDB database definitions
#######################################################################
database bdb
#suffix "dc=my-domain,dc=com"
#rootdn "cn=Manager,dc=my-domain,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
#rootpw secret
directory /usr/local/openldap/var/openldap-data
# Indices to maintain
index objectClass eq
#include /usr/local/openldap/etc/openldap/schema/core.schema
include /usr/local/openldap/etc/openldap/schema/cosine.schema
include /usr/local/openldap/etc/openldap/schema/nis.schema
include /usr/local/openldap/etc/openldap/schema/inetorgperson.schema
include /usr/local/openxchange/share/openxchange.schema
database bdb
suffix "dc=tux,dc=st"
rootdn "cn=admin,dc=tux,dc=st"
rootpw secret
directory /usr/local/openldap/var/openldap-data
index objectClass eq
index
uid,mailEnabled,cn,sn,givenname,lnetMailAccess,alias,loginDestination eq,sub
index memberUid eq
access to dn.subtree="ou=Users,ou=OxObjects,dc=tux,dc=st"
by self write
by users write
by anonymous auth
access to dn.subtree="ou=Groups,ou=OxObjects,dc=tux,dc=st"
by self write
by users write
by anonymous auth[root@mdk openldap]#
On 2/26/06, Dieter Schicker <didi@ling.uni-graz.at> wrote:
>
> The question is:
>
> Do you want to set up a domain "dc=my-domain,dc=com" or a domain
> "dc=tux,dc=st"?
> Delete the appropriate entries!
>
> -- Didi
>
> Amy And wrote:
> > no, can I just delete the second one? Is that where the error is
> > coming from?
> >
> > On 2/26/06, *Dieter Schicker* <didi@ling.uni-graz.at
> > <mailto:didi@ling.uni-graz.at>> wrote:
> >
> > Do you really want to setup _two_ databases with _two_ ldap realms?
> >
> > -- Didi
> >
> > Amy And wrote:
> >
> > > Hello,
> > >This is my third time around with a fresh install of mandriva
> > 2006. I am
> > >having trouble with slapd.conf I know which line it does not
> > like, but dont
> > >know what it really wants there. I have included the error
> > message as well
> > >as my slapd.conf
> > >
> > >any help would be greatly appreciated!
> > >
> > >
> > >Error....
> > >[root@mdk openldap]# /usr/local/openldap/sbin/slapadd -l
> > >/usr/local/openxchange/share/init_ldap.ldif
> > >/usr/local/openldap/etc/openldap/slapd.conf: line 92: expecting
> > <access> got
> > >"writest"
> > >
> > >I FIXED LINE 92 BY CHANGING IT TO WRITE
> > >
> > >then got...
> > >
> > > Thank you! I change it and it read that line fine, then it hit
> > this error..
> > >
> > >
> > >/usr/local/openldap/etc/openldap/slapd.conf: line 97: expecting
> > <access> got
> > >"authexit"
> > >
> > >I CHANGED "AUTHEXIT" TO "AUTH", now i am getting this error...
> > >
> > >[root@mdk openldap]# /usr/local/openldap/sbin/slapadd -l
> > >/usr/local/openxchange/share/init_ldap.ldif
> > >slapadd: line 6: database (dc=my-domain,dc=com) not configured to
> > hold
> > >"dc=tux,dc=st"
> > >slapadd: line 6: database (dc=my-domain,dc=com) not configured to
> > hold
> > >"dc=tux,dc=st"
> > >
> > >would that be a problem with my rootdn?
> > >
> > >Thanks!!
> > >
> > >slapd.conf....
> > >
> > >[root@mdk openldap]# cat
> /usr/local/openldap/etc/openldap/slapd.conf
> > >
> > >include /usr/local/openldap/etc/openldap/schema/core.schema
> > >
> > >pidfile /usr/local/openldap/var/run/slapd.pid
> > >argsfile /usr/local/openldap/var/run/slapd.args
> > >
> > >database bdb
> > >suffix "dc=my-domain,dc=com"
> > >rootdn "cn=Manager,dc=my-domain,dc=com"
> > >
> > >rootpw secret
> > >directory /usr/local/openldap/var/openldap-data
> > ># Indices to maintain
> > >index objectClass eq
> > >
> > >#include
> /usr/local/openldap/etc/openldap/schema/core.schema
> > >include
> /usr/local/openldap/etc/openldap/schema/cosine.schema
> > >include /usr/local/openldap/etc/openldap/schema/nis.schema
> > >include
> > /usr/local/openldap/etc/openldap/schema/inetorgperson.schema
> > >include /usr/local/openxchange/share/openxchange.schema
> > >
> > >#pidfile
> > >/usr/local/openldap/var/run/slapd.pid
> > >
> > >#argsfile /usr/local/openldap/var/run/slapd.args
> > >
> > >database bdb
> > >suffix "dc=tux,dc=st"
> > >rootdn "cn=admin,dc=tux,dc=st"
> > >rootpw secret
> > >
> > >directory /usr/local/openldap/var/openldap-data
> > >
> > >index objectClass eq
> > >index
> >
> >uid,mailEnabled,cn,sn,givenname,lnetMailAccess,alias,loginDestination
> > eq,sub
> > >index memberUid eq
> > >
> > >access to dn.subtree="ou=Users,ou=OxObjects,dc=tux,dc=st"
> > > by self write
> > > by users write
> > > by anonymous auth
> > >
> > >access to dn.subtree="ou=Groups,ou=OxObjects,dc=tux,dc=st"
> > > by self write
> > > by users write
> > > by anonymous auth[ root@mdk openldap]#
> > >
> > >
> > >
> >
> >
>
>