ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Pavel Usischev <usischev@gmail.com>
To: community@altlinux.ru
Subject: [FAQ] Re: [Comm] LDAP
Date: Wed, 20 Apr 2005 14:06:39 +0400
Message-ID: <426629AF.4060403@gmail.com> (raw)
In-Reply-To: <4265C7F9.2000004@krasmail.ru>

Астапкевич В.Г. пишет:
> Ранее заведенная на Мастере 2.2 почтовая книга теперь не создается -
> после запуска    ldapadd -xWD cn=admin,dc=social,dc=network -H 
> ldap://localhost -f directory.ldif
> получаю сообщение -
>     adding new entry "dc=social,dc=network"
>     ldapadd: update failed: dc=social,dc=network
>     ldap_add: naming violation (64)
>     additional info naming attribute 'dc' is not present in entry

Да-а, а статью для FAQ с прошлого раза так и не сделали. Вот набросок.

Дистрибутив: Master 2.4 (может быть и не только)

Q: При переносе базы OpenLDAP из Master 2.2 (или попытке создать новую 
по бумажной документации к Master 2.4) получаю такую ошибку:
ldap_add: naming violation (64)
additional info: naming attribute 'dc' is not present in entry

A: В новой версии OpenLDAP поменялся формат записей в ldif-файлах. Для 
каждой записи нужно отдельно прописать строку атрибута, совпадающую с 
первой частью dn. Например:
dn: dc=example,dc=com
dc: example

-- 
С уважением,
Павел Усищев


  reply	other threads:[~2005-04-20 10:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-20  3:09 "Астапкевич В.Г."
2005-04-20 10:06 ` Pavel Usischev [this message]
2005-04-20 10:24   ` [Comm] [FAQ] LDAP Michael Shigorin
2005-04-20 11:54   ` [FAQ] Re: [Comm] LDAP Boldin Pavel
2005-04-20 12:05   ` Dmitry Lebkov
2005-04-21  3:02   ` "Астапкевич В.Г."
2005-04-21 11:38     ` Boldin Pavel

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=426629AF.4060403@gmail.com \
    --to=usischev@gmail.com \
    --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