From: "\"Астапкевич В.Г.\"" <szn59@krasmail.ru> To: community <community@altlinux.ru> Subject: [Comm] LDAP Date: Wed, 20 Apr 2005 11:09:45 +0800 Message-ID: <4265C7F9.2000004@krasmail.ru> (raw) Здравствуйте, Товарищи, может ли кто поделиться конфигами для openldap к Мастеру 2.4 (slapd.conf и *.ldif-файл) только для реализации почтовой адресной книги, т.е. достаточно в ней хранить имя клиента и его e-mail. Может есть хорошая документация для данного решения, прошу дать ссылочки. Ранее заведенная на Мастере 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 Мои настройки: slapd.conf: include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/misc.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/openldap.schema pidfile /var/run/slapd.pid argsfile /var/run/slapd.args modulepath /usr/lib/openldap moduleload back_ldbm.la #moduleload back_bdb.la access to attr=userPassword by self write by anonymous auth by dn=".*,ou=Admins,dc=social,dc=network" by * none access to * by * write ####################################################################### # ldbm database definitions ####################################################################### database ldbm suffix "dc=social,dc=network" rootdn "cn=admin,dc=social,dc=network" rootpw secret directory /var/lib/ldap/bases/mailing loglevel 256 index objectClass,uid,uidNumber,gidNumber eq index cn,mail,surname,givenname eq,sub directory.ldif: dn: dc=social,dc=network objectClass: top objectClass: dcObject objectClass: Organization dc: exam o: Cong dn: cn=admin,dc=social,dc=network objectClass: top objectClass: organizationalRole cn: admin description: Example LDAP manager dn: ou=People,dc=social,dc=network objectClass: top objectClass: organizationalUnit ou: People description: Stuff area dn: uid=postmaster,ou=People,dc=social,dc=network objectClass: top objectClass: account #objectClass: posixAccount #objectClass: shadowAccount objectClass: inetOrgPerson cn: 0000.Postmaster sn: Viktor Bely givenname: postmaster uid: postmaster mail: postmaster@kuszn.mtcnet.ru .............. Заранее благодарю. Астапкевич Владислав Шушенское Управление соцзащиты.
next reply other threads:[~2005-04-20 3:09 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-04-20 3:09 "Астапкевич В.Г." [this message] 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 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=4265C7F9.2000004@krasmail.ru \ --to=szn59@krasmail.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