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

Re: linux slapadd: backend_startup: bi_db_open failed! (-1)

tir, 2003-03-04 kl. 17:07 skrev Brian Bisaillon:

> http://yolinux.com/TUTORIALS/LinuxTutorialLDAP-SLAPD-LDIF-V2-config.html
> suffix          "o=domain-name"
> suffix          "dc=ldap,dc=domain-name,dc=org"
> rootdn          "cn=Manager,o=domain-name"
> This is why I used the following (and of course it didn't work):
> suffix          "o=itarchitect"
> suffix          "dc=ldap,dc=itarchitect,dc=ca"
> rootdn          "cn=DirectoryAdmin,o=itarchitect"
> This is all I found so far... I will look at the archives you suggested and
> see what they show me.

O.k. But:

1: This is for Openldap 2.0.x and you are using 2.1.x; things might have
changed since then;

2: The Yolinux gentleman is telling you you have to have 2 separate
databases (the directory entry in slapd.conf), and you don't have.

You would have to have:

directory   /usr/local/var/openldap-data/db1 with suffix-1 in it


directory   /usr/local/var/openldap-data/db2 with suffix-2 in it

according to what he writes. What he writes, is *so* badly exampled,
that up to now on this list, I've seen no-one who's attempted it.

However, if you really want to do what you say, and I can understand why
you might, then the suffix and suffixalias examples in the archives
should help.




Tony Earnshaw

All the world is mad, exceptin thee and me
and even thee's a little queer

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl