From: Michael Bochkaryov <misha@kyivstar.net> To: community@altlinux.ru Subject: Re: [Comm] Подключение к OpenLDAP и добавление данных Date: Tue, 30 Mar 2004 16:46:00 +0300 Message-ID: <40697A18.5080708@kyivstar.net> (raw) In-Reply-To: <40696FFE.5090808@rmts.donpac.ru> Eugene Prokopiev пишет: >> afaik надо вначале добавить сам dn: ou=dhcp,dc=test,dc=ru >> objectClass: top >> objectClass: organizationalUnit >> и т.д. > > > Т.е. добавить файл вида: > > dn: ou=dhcp,dc=test,dc=ru > objectClass: top > objectClass: organizationalUnit > Здесть еще надо добавить: ou: dhcp [skip] > # 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 > > А вобще, советую почитать описания классов в /etc/openldap/schema/* Сразу становится понятно, в какой класс какие аттрибуты писать :) -- Michael Bochkaryov Kyivstar GSM Phone: +380 67 2206770 -- This message was scanned for viruses and it's not infected. Kyivstar GSM.
next prev parent reply other threads:[~2004-03-30 13:46 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 2004-03-30 13:46 ` Michael Bochkaryov [this message] 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=40697A18.5080708@kyivstar.net \ --to=misha@kyivstar.net \ --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