ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <john@rmts.donpac.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Подключение к OpenLDAP и добавление данных
Date: Tue, 30 Mar 2004 17:02:54 +0400
Message-ID: <40696FFE.5090808@rmts.donpac.ru> (raw)
In-Reply-To: <200403301444.21405.ngrechukh@ua.fm>

> afaik надо вначале добавить сам 
> dn: ou=dhcp,dc=test,dc=ru
> objectClass: top
> objectClass: organizationalUnit
>  и т.д.

Т.е. добавить файл вида:

dn: ou=dhcp,dc=test,dc=ru
objectClass: top
objectClass: organizationalUnit

dn: cn=dhcp,dc=test,dc=ru
objectClass: top
objectClass: person
sn: DHCP Administrator
cn: dhcp

dn: ou=dhcp,dc=test,dc=ru
objectClass: top
objectClass: organizationalUnit
ou: dhcp

Тогда вот что получается:

# ldapadd -W -x -D "cn=manager,dc=test,dc=ru" -f data.ldif
Enter LDAP Password:
adding new entry "ou=dhcp,dc=test,dc=ru"
ldap_add: Object class violation
         additional info: object class 'organizationalUnit' requires 
attribute 'ou'

ldif_record() = 65


-- 
С уважением, Прокопьев Евгений



  reply	other threads:[~2004-03-30 13:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-30 12:22 Eugene Prokopiev
2004-03-30 11:44 ` Nick S. Grechukh
2004-03-30 13:02   ` Eugene Prokopiev [this message]
2004-03-30 13:46     ` Michael Bochkaryov
2004-03-31  3:06   ` BSW

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=40696FFE.5090808@rmts.donpac.ru \
    --to=john@rmts.donpac.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