* [gentoo-user] Can not restore data to ldap after update @ 2006-06-05 9:52 Dan Johansson 2006-06-05 10:17 ` Dan Johansson 0 siblings, 1 reply; 2+ messages in thread From: Dan Johansson @ 2006-06-05 9:52 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 579 bytes --] Today I updated my openldap from 2.2.28-r3 to 2.3.24-r1. Following the instructions in the ebuild I made a dump of my ldap-db before the update and I let dispatch-conf update all of the openldap-config-files. Now when I try to restore my data I'm getting the following: # slapadd -l dump slapadd: bad configuration file! Which configuration file is bad? Regards, -- Dan Johansson, <http://www.dmj.nu> *************************************************** This message is printed on 100% recycled electrons! *************************************************** [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] Can not restore data to ldap after update 2006-06-05 9:52 [gentoo-user] Can not restore data to ldap after update Dan Johansson @ 2006-06-05 10:17 ` Dan Johansson 0 siblings, 0 replies; 2+ messages in thread From: Dan Johansson @ 2006-06-05 10:17 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 975 bytes --] On Monday 05 June 2006 11:52, Dan Johansson wrote: > Today I updated my openldap from 2.2.28-r3 to 2.3.24-r1. Following the > instructions in the ebuild I made a dump of my ldap-db before the update > and I let dispatch-conf update all of the openldap-config-files. > Now when I try to restore my data I'm getting the following: > > # slapadd -l dump > slapadd: bad configuration file! > > Which configuration file is bad? I'm replying to my own post... It was /etc/openldap/slapd.conf that was bad, it had this entry "allow bind_v2". After removing this the slapadd worked fine and I could start openldap. Now I have an other problem, if I add the "allow bind_v2" again openldap will not start, and I need LDAPv2 for one application. Any suggestions? -- Dan Johansson, <http://www.dmj.nu> *************************************************** This message is printed on 100% recycled electrons! *************************************************** [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-05 10:26 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-06-05 9:52 [gentoo-user] Can not restore data to ldap after update Dan Johansson 2006-06-05 10:17 ` Dan Johansson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox