Thread View: fj.net.ldap
1 messages
1 total messages
Started by Grejaooo
Wed, 09 May 2007 19:34
slapadd -l arquivo.ldif
Author: Grejaooo
Date: Wed, 09 May 2007 19:34
Date: Wed, 09 May 2007 19:34
90 lines
3636 bytes
3636 bytes
Hi all,
I'm trying to install Linbox Directory Server (http://lds.linbox.org)
and for do this i'm reading the on-line documentation (http://
lds.linbox.org/content/LMC/install/en/lmc-generic-installation.html).
I'm iniciant at LDAP and was receiving a error message after the
command
# slapadd -l /tmp/ldap-init.ldif
The following error message:
pdc:/tmp # slapadd -l ldap-init.ldif
bdb_db_open: unclean shutdown detected; attempting recovery.
str2entry: entry -1 has multiple DNs "dc=teste,dc=com,dc=br" and
"cn=admin,dc=teste,dc=com,dc=br"
slapadd: could not parse entry (line=13)
pdc:/tmp #
I would like to know if someone can help me. Here i put my slapd
config file (slapd.conf) and the file ldap-init.ldif, used by the
command.
####################################################################
pdc:/tmp # more ldap-init.ldif
dn: dc=teste,dc=com,dc=br
objectClass: top
objectClass: dcObject
objectClass: organization
dc: teste
o: teste
dn: cn=admin,dc=teste,dc=com,dc=br
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP Administrator
userPassword: IWTfyZSz6boScyKWOGnfspuhxWFvb2X6
pdc:/tmp #
####################################################################
####################################################################
pdc:/etc/openldap # more slapd.conf
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/rfc2307bis.schema
include /etc/openldap/schema/yast.schema
include /etc/openldap/schema/lmc.schema
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
modulepath /usr/lib/openldap/modules
access to dn.base=""
by * read
access to dn.base="cn=Subschema"
by * read
access to attrs=userPassword,userPKCS12
by self write
by * auth
access to attrs=shadowLastChange
by self write
by * read
access to *
by * read
database bdb
suffix "dc=teste,dc=com,dc=br"
checkpoint 1024 5
cachesize 10000
rootdn "cn=admin,dc=teste,dc=com,dc=br"
rootpw {SSHA}IWTfyZSz6boScyKWOGnfspuhxWFvb2X6
directory /var/lib/ldap
index objectClass eq
####################################################################
*** I was moved the comments from slapd.conf to post here.
thanks for all.
Att
Renato Gregio
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads