From: Dmitry Lebkov <dima@sakhalin.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] openldap -- несколько баз собрать в одну
Date: Thu, 27 Nov 2008 01:07:53 +1000
Message-ID: <492D6649.2080208@sakhalin.ru> (raw)
In-Reply-To: <20081126165105.23066476@batyrshin.kzn.ieml.ru>
Timur Batyrshin пишет:
> Настраиваю каталог OpenLDAP, делаю такую структуру:
>
> o=org
> l=city1,o=org
> l=city2,o=org
> .............
> l=cityX,o=org
>
> Каждый из суффиксов l=cityX,o=org делаю в отдельной базе, база с
> суффиксом o=org в конфиге указана последней, чтобы поиск по
> l=cityX,o=org осуществлялся в подчиненной, а не в корневой базе.
>
> Хочется сделать, чтобы при поиске по суффиксу o=org, он осуществлялся
> в т.ч. во всех базах ниже суффикса (т.е. во всех l=cityX,o=org), а не
> только в корневой.
>
> Можно ли это сделать и если да, то как?
man slapd.conf на предмет ключевого слова subordinate.
Должно быть у всех баз 'l=cityN,o=org', кроме самой 'o=org'.
И всё автомагически ищется во всех базах. ;)
--
WBR, Dmitry Lebkov
prev parent reply other threads:[~2008-11-26 15:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-26 13:51 Timur Batyrshin
2008-11-26 15:07 ` Dmitry Lebkov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=492D6649.2080208@sakhalin.ru \
--to=dima@sakhalin.ru \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git