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

Re: One DB per ou ?



Hi,

Carsten Zerbst <carsten.zerbst@atlantec-es.com> writes:

> Hello, 
>
> due to several reasons (backup e.g) I'd like to have separate databases
> per ou and a toplevel database. My slapd.conf looks like this:
>
>
> ---------
> defaultsearchbase       "dc=test.de"
>
>
> database                ldbm
> suffix                  "ou=test,dc=test.de"
> rootdn                  "cn=tgadmin,ou=test,dc=test.de"
>
> database                ldbm
> suffix                  "ou=test2,dc=test.de"
> rootdn                  "cn=tgadmin,ou=test2,dc=test.de"
>
>
> database                ldbm
> suffix                  "dc=test.de"
> rootdn                  "cn=tgadmin,dc=test.de"
>
> --------------
>
> Starting slapd is ok, but I fail to connect to the databases and insert
> the dc, ou and person entries into it. Is the error on side of the
> slapd.conf or when creating the entries ? My ultimate goal is of course
> to connect only to  dc=test.de

The magic word is 'subordinate'

suffix    ou=test,dc=test.de
subordinate

suffix dc=test.de

-Dieter


-- 
Dieter Kluenter  | Systemberatung
Tel:040.64861967 | Fax: 040.64891521
mailto: dkluenter(at)dkluenter.de
http://www.avci.de