Regarding slapd.conf:
I don't know for sure about Ubuntu's default setup, but it's likely that it's using the slapd.d dir vs slapd.conf. The contents of slapd.d aren't intended to be edited by hand. You'd have to use ldapmodify.

Reach the admin guide, man pages, and search this mailing list for more info; e.g.: modify config slapd.d

- chris

Chris Jacobs, Systems Administrator, Technology Services Group
Apollo Group | Apollo Marketing & Product Development | Aptimus, Inc.
2001 6th Ave | Ste 3200 | Seattle, WA 98121
phone: 206.839-8245 | cell: 206.601.3256 | Fax: 208.441.9661
email: chris.jacobs@apollogrp.edu


From: openldap-technical-bounces@OpenLDAP.org <openldap-technical-bounces@OpenLDAP.org>
To: Jonathan Clarke <jonathan@openldap.org>
Cc: Benjamin Griese <der.darude@gmail.com>; openldap-technical@openldap.org <openldap-technical@openldap.org>
Sent: Fri Mar 18 12:23:58 2011
Subject: Re: newbie problem importing ldap

Hi

Are you sure? I have a server working and not has any slapd.conf inside. The new server too. Are two ubuntu 9.04 server.

Thanks

2011/3/18 Jonathan Clarke <jonathan@openldap.org>
On 18/03/11 15:42, deconya wrote:
> Ok and where i can change it?
>
> Mi ldap.conf only has:
>
> base dc=esci,dc=es
>
> uri ldapi://127.0.0.1/ <http://127.0.0.1/>
>
> ldap_version 3
>
> rootbinddn cn=admin,dc=esci,dc=es
>
> Is other file?

The configuration file for OpenLDAP server is slapd.conf. ldap.conf is
for LDAP *clients*, thus irrelevant here.

Jonathan

>
> 2011/3/18 Benjamin Griese <der.darude@gmail.com
> <mailto:der.darude@gmail.com>>
>
>     Hello,
>     your database suffix doesn't fit to your ldif, you're missing "dc=es"
>     in your database suffix declaration.
>
>     bye.
>
>     On Fri, Mar 18, 2011 at 13:11, deconya <elmailpersonal@gmail.com
>     <mailto:elmailpersonal@gmail.com>> wrote:
>     > Hi list
>     >
>     > Im having problems configuring a new slave ldap server. I made
>     >
>     > # slapcat -l master.ldif in masters server
>     >
>     > Inside ubuntu server with openldap 2.4 Im going to import using
>     >
>     > # slapadd -c -l ./master.ldif
>     >
>     > Appears:
>     >
>     > slapadd: line 1: database (dc=esci) not configured to hold
>     "dc=esci,dc=es"
>     > slapadd: line 1: database (dc=esci) not configured to hold
>     "dc=esci,dc=es"
>     > slapadd: line 19: database (dc=esci) not configured to hold
>     > "cn=admin,dc=esci,dc=es"
>     > slapadd: line 19: database (dc=esci) not configured to hold
>     > "cn=admin,dc=esci,dc=es"
>     > slapadd: line 33: database (dc=esci) not configured to hold
>     > "ou=Users,dc=esci,dc=es"
>     > slapadd: line 33: database (dc=esci) not configured to hold
>     > "ou=users,dc=esci,dc=es"
>     > slapadd: line 45: database (dc=esci) not configured to hold
>     > "ou=Groups,dc=esci,dc=es"
>     > slapadd: line 45: database (dc=esci) not configured to hold
>     > "ou=groups,dc=esci,dc=es"
>     > slapadd: line 57: database (dc=esci) not configured to hold
>     > "ou=Computers,dc=esci,dc=es"
>     > slapadd: line 57: database (dc=esci) not configured to hold
>     > "ou=computers,dc=esci,dc=es"
>     > slapadd: line 69: database (dc=esci) not configured to hold
>     > "ou=Idmap,dc=esci,dc=es"
>     > slapadd: line 69: database (dc=esci) not configured to hold
>     > "ou=idmap,dc=esci,dc=es"
>     >
>     > And more errores type:
>     >
>     > str2entry: invalid value for attributeType objectClass #4 (syntax
>     > 1.3.6.1.4.1.1466.115.121.1.38)
>     > slapadd: could not parse entry (line=123)
>     >
>     > Only I installed openldap package and inside schema folder I added
>     the same
>     > schema archives.
>     >
>     > What step Im wrong?
>     >
>     > Thanks And Best Regards
>     >
>
>
>
>     --
>     To be or not to be -- Shakespeare | To do is to be -- Nietzsche | To
>     be is to do -- Sartre | Do be do be do -- Sinatra
>
>




This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.