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: [email protected] ________________________________ From: [email protected] <[email protected]> To: Jonathan Clarke <[email protected]> Cc: Benjamin Griese <[email protected]>; [email protected] <[email protected]> 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 <[email protected]<mailto:[email protected]>> 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/> <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 <[email protected]<mailto:[email protected]> > <mailto:[email protected]<mailto:[email protected]>>> > > 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 > <[email protected]<mailto:[email protected]> > <mailto:[email protected]<mailto:[email protected]>>> 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.
