ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: community@altlinux.ru
Subject: Re: [FAQ] Re: [Comm] LDAP
Date: Wed, 20 Apr 2005 23:05:12 +1100
Message-ID: <42664578.3040608@sakhalin.ru> (raw)
In-Reply-To: <426629AF.4060403@gmail.com>

Pavel Usischev wrote:
> Астапкевич В.Г. пишет:
> 
>> Ранее заведенная на Мастере 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

Формат записей никогда не менялся - LDIF он и есть LDIF. Если я ничего
не путаю, то это - послеждствия schemachecking on by default.

-- 
WBR, Dmitry Lebkov



  parent reply	other threads:[~2005-04-20 12:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-20  3:09 "Астапкевич В.Г."
2005-04-20 10:06 ` [FAQ] " Pavel Usischev
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 [this message]
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=42664578.3040608@sakhalin.ru \
    --to=dima@sakhalin.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