From: max <alt@zlt.ru>
To: community@altlinux.ru
Subject: [Comm] Re: настройка openldap
Date: Sun, 27 Feb 2005 11:26:21 +0500
Message-ID: <200502271126.21392.alt@zlt.ru> (raw)
In-Reply-To: <4220D84D.3010904@gmail.com>
В сообщении от 27 Февраль 2005 01:13 Pavel Usischev написал(a):
> max пишет:
> > Теперь другая напасть:
> >
> > #ldapadd -xD cn=admin,dc=example,dc=com -H ldap://127.0.0.1 -f
> > initial.ldif -w secret
> >
> > adding new entry "dc=example,dc=com"
> > ldapadd: update failed: dc=example,dc=com
> > ldap_add: Naming violation (64)
> > additional info: naming attribute 'dc' is not present in entry
> >
> > Всё файлы конфигурации из пакета документации Мастер 2.4
>
> К сожалению, по документации к Мастеру 2.4 сделать не получится. Вот
> часть initial.ldif, которая работает:
>
> dn: dc=example,dc=com
> objectClass: dcObject
> objectClass: organization
> o: Example Company
> dc: example
>
> Возможно, здесь есть лишнее, но точно нужна последняя строка. Именно на
> её отсутствие и ругается у вас ldap_add.
Спасибо, уже разобрался.
Жалко что документация устаревшая или не доработанная.
И ещё одна важная деталь, с которой тоже пришлось разбираться самому:
При добавлении следующих объектов их objectClass должен совпадать с
родительским! Иначе опять получим ругань.
А в примерах чего только не увидишь...
--
MaX
next prev parent reply other threads:[~2005-02-27 6:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-18 7:31 [Comm] " max
2005-02-18 8:36 ` Eugene Grudina
2005-02-24 6:56 ` [Comm] " max
2005-02-26 20:13 ` Pavel Usischev
2005-02-27 6:26 ` max [this message]
2005-02-27 16:38 ` Michael Shigorin
2005-02-23 15:42 ` Michael Shigorin
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=200502271126.21392.alt@zlt.ru \
--to=alt@zlt.ru \
--cc=community@altlinux.ru \
/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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git