[Date Prev][Date Next]
[Openldap2.4.11-Ubuntu8.10] Configuration Problem: ldap.conf missing, not possible to create slapd.d using slaptest
- To: email@example.com
- Subject: [Openldap2.4.11-Ubuntu8.10] Configuration Problem: ldap.conf missing, not possible to create slapd.d using slaptest
- From: Ket Zal Dev <firstname.lastname@example.org>
- Date: Wed, 6 May 2009 11:03:09 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=P2zIRhMmXwl+Su8TUrBgRKomqXeZY0x7mNIq4pa1npg=; b=dOVqZZ1BcUKM1mLZS/aujvDKrbfiHCykiyuFfyqW1f+GGU877k8jNHUC4ZR70BYXuY 5HCWLgnckzVsPxf4HUT29L+mjxHr5VCDzMA1+4hwWg3gjRASfhkmXK2JcsGl6E4fabCJ n5a2rzMErrMRUUoVgro8VZOFeCRBy8eR3eXnI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xE8JuTd92Db0oFdYy/lC/RzMoZhjMuCnVzDLW0GLMc1TuMUizqVpbmoId2CTdXSbEP bQsjC1+hWmmtrdncx+pmVIqanSFHin3R4ao4jfgTVb4VPa+27P2EuIS5aD4Z2Dzgrtwu iybPn3kMNnEND7uFk5lQbpnKnBSN5WoXXaoAc=
I'm on Ubuntu 8.10, and using openldap 2.4.11.
I successfully installed openldap on my server.
I was a little bit surprised because i didn't found slapd.conf on /etc/ldap/ like in older releases, but I found a tuto explaining how to use slapd.d.
On this howto, they sepcified it is possible to convert slapd.conf to slapd.d using slaptest.
Because I don't have slapd.conf, I cannot convert anything.
So, How can I do???
Secondly, on the tutorial, I used slaptest to create a ldif for a schema.
I successfully added the ldif schema to openldap using ldapadd, and schema is working.
It was mozillaorgperson, and I'm now able to create, read and modify users.
My problem is that I need to use a new schema "rfc2703bis.schema" because my openldap server is for egroupware, and there is a problem with PosixGroup...... So I need to add it.
This schema should replace nis schema.
BUT, I cannot delete NIS schema, because used by open ldap.
And cannot add rfc2703bis because I have errors "already exists" <--- it is logical because entries are on NIS which is active on openldap at this time.
So I tried a lot of things, like using slaptest to create de ldif, copying it widely to slapd.d and removing by hand the NIS schema.... Not working, the result is that now, the openldap server cannot start....
Is there a clean way to do that???
Is it possible for me to create a slapd.conf, put inside all my configuration, do the slaptest, have a clean slapd.d and run openldap???? in a simple way.
What to put inside...???
Thanks a lot for you help