ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] LDAP
@ 2005-04-20  3:09 "Астапкевич В.Г."
  2005-04-20 10:06 ` [FAQ] " Pavel Usischev
  0 siblings, 1 reply; 7+ messages in thread
From: "Астапкевич В.Г." @ 2005-04-20  3:09 UTC (permalink / raw)
  To: community

Здравствуйте,

Товарищи, может ли кто поделиться конфигами для 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

..............

  Заранее благодарю.

Астапкевич Владислав
Шушенское Управление соцзащиты.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-04-21 11:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-20  3:09 [Comm] LDAP "Астапкевич В.Г."
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

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