Hi all,
I am rather new to LDAP and have the basics down (I think...)
I have my directory, and would now like to set up replication to
replicate the entire database.
I have read the OpenLDAP Admin documentation on Syncrepl, and while the
concept makes sense to me, I cannot figure out how to implement it.
For example, in the doc is the following :
>14.3.1. Set up the provider slapd
>There is no special slapd.conf (5) directive for the provider syncrepl
>server except for the session log directive. Because the LDAP Sync
>search is subject to access control, proper access control privileges
>should be set up for the replicated content.
Ok,so thats simple enough, add the session log directive to the provider
slapd.conf
>When creating a provider database from the LDIF file using slapadd
(8), >contextCSN and the syncProviderSubentry entry must be created.
slapadd >-p -w will create a new contextCSN from the entryCSNs of the
added >entries. It is also possible to create the syncProviderSubentry
with an >appropriate contextCSN value by directly including it in the
ldif file. >slapadd -p will preserve the provider's contextCSN or will
change it to >the consumer's contextCSN if it is to promote a replica to
the >provider's content. The syncProviderSubentry can be included in the
>ldif output when slapcat (8) is given the -m flag; the
>syncConsumerSubentry can be retrieved by the -k flag of slapcat (8).
The above makes no sense to me! I didnt use slapadd to create the
provider database - I used ldapadd - is that a problem?
>The session log is configured by
> sessionlog <sid> <limit>
>directive, where <sid> is the ID of the per-scope session log in the
>provider server and <limit> is the maximum number of session log
>entries the session log store can record. <sid> is an integer no
longer >than 3 decimal digits. If the consumer server sends a
synchronization >cookie containing sid=<sid> where <sid> matches the
session log ID >specified in the directive, the LDAP Sync search is to
utilize the >session log store.
I also dont understand this! The per scope session log? So each of my
search scopes will have a session log?
Therefore if I only have 1 search scope (i want to replicate the entire
db), I only need 1 sid? And if so where do I find this? Or do i make it
up, and just make sure its unique? Does it have anything to do with the
syncrepl rid on the consumer side?
Help! lol
If anybody has ANY other documentation that I can read please let me
know, as Im happy to do the grunt work, I just cant seem to get my head
around this!
Thanks a million!
Patric
--
Q: I want to be a sysadmin. What should I do?
A: Seek professional help.
----------------------------------------------------------------------
Get a free email address with REAL anti-spam protection.
http://www.bluebottle.com/tag/1
---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the
SUBJECT of the message.