Hi.
I've read the following document:
http://www.openldap.org/doc/admin23/syncrepl.html
And this document too:
http://www.openldap.org/doc/admin23/slapdconfig.html#syncrepl
So, after do my configurations, I get the following error message when I start my slave:
/etc/openldap/slapd.conf: line 79: frontend database cannot be shadow.
That line (79) is the last line or my syncrepl directive as:
moduleload syncprov
rootdn "cn=admin,dc=exemple,dc=com" syncrepl rid=0 provider=ldap://10.0.0.222:389 type=refreshAndPersist retry="60 10 300 +" searchbase="dc=example,dc=com" schemachecking=off bindmethod=simple binddn="cn=admin,dc=example,dc=com" credentials=!tsm!n3
Yes, I've tried to put all the syncrepl directives in the same line, and I've got the same error.
I've put all those lines right below the section with 'moduleload' lines in slapd.conf.
So... I've made a lot of search on the web... no clue, no help...
Anyone? Please.
[]s Alexander Brazil
--On Thursday, July 15, 2010 12:46 PM -0300 alexander@nautae.eti.br wrote:
Hi.
I've read the following document:
http://www.openldap.org/doc/admin23/syncrepl.html
And this document too:
http://www.openldap.org/doc/admin23/slapdconfig.html#syncrepl
So, after do my configurations, I get the following error message when I start my slave:
/etc/openldap/slapd.conf: line 79: frontend database cannot be shadow.
You need to supply your entire slapd.conf, but it sounds like the syncrepl directive is not inside a database <...> section.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
Hi,
On 15/07/2010 17:46, alexander@nautae.eti.br wrote:
Hi.
I've read the following document:
http://www.openldap.org/doc/admin23/syncrepl.html
And this document too:
http://www.openldap.org/doc/admin23/slapdconfig.html#syncrepl
So, after do my configurations, I get the following error message when I start my slave:
/etc/openldap/slapd.conf: line 79: frontend database cannot be shadow.
That line (79) is the last line or my syncrepl directive as:
moduleload syncprov
rootdn "cn=admin,dc=exemple,dc=com" syncrepl rid=0 provider=ldap://10.0.0.222:389 type=refreshAndPersist retry="60 10 300 +" searchbase="dc=example,dc=com" schemachecking=off bindmethod=simple binddn="cn=admin,dc=example,dc=com" credentials=!tsm!n3
Yes, I've tried to put all the syncrepl directives in the same line, and I've got the same error.
I've put all those lines right below the section with 'moduleload' lines in slapd.conf.
'moduleload' is a global configuration option, and should be placed at the beginning of your configuration file (before any database xyz statements).
'syncrepl' and 'rootdn' are database-specific configuration options, and should be placed after the corresponding 'database xyz' line.
You should try moving the 'moduleload syncprov' line nearer the top of your configuration file.
Although, if you just want to replicate a database (ie, this service is a consumer) and not provide it for other servers to replicate, you don't need syncprov.
Regards, Jonathan
openldap-technical@openldap.org