ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] openldap + replication
@ 2002-10-24  6:08 Smirnov Alexey
  0 siblings, 0 replies; only message in thread
From: Smirnov Alexey @ 2002-10-24  6:08 UTC (permalink / raw)
  To: community

Hello All!

Хочу держать копию базы с пользователями, для этого поставил второй сервер. На 
нем завел юзера "replica", дал ему права на запись:
...
access to * by dn="cn=replica,dc=eburg,dc=uniland" write
                 by * read
...
updatedn="cn=replica,dc=eburg,dc=uniland"

а на мастере прописал реплику:
...
replica     host=ldap2.eburg.uniland:389 tls=yes
              binddn="cn=replica,dc=eburg,dc=uniland"
              bindmethod=simple
              credentials=secter
...

дальше скопировал данные с мастера на слэйв и все это дело запустил - почти 
работает. Если изменить какой нибудь атрибут у любой записи на мастере - то 
на слэйве она сразу меняется. А вот если добавить новую запись - то до слэйва 
она не доходит и slurpd кладет rej-файл:

ERROR: Type or value exists
replica: ldap2.eburg.uniland:389
time: 1035437134.0
dn: uid=test,ou=Users,dc=eburg,dc=uniland
changetype: add
objectClass: person
...

Вопрос - что я делаю неправильно ?

PS. на мастере openldap-2.0.23, на слэйве openldap-2.0.27 из сизифа
и еще - реально ли организовать аутентификацию отличную от simple? есть ли 
рабочие примеры ?

-- 
Best regards.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-24  6:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-24  6:08 [Comm] openldap + replication Smirnov Alexey

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