[Date Prev][Date Next] [Chronological] [Thread] [Top]

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
>
>