[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Slurpd error



On Thu, 13 Mar 2003, Marcone Luis Theisen wrote:

> When I start slapd in master, before slurpd,  with the option -d -1.....
> #slapd -d -1
> .....
> line 51 (replica host=192.168.0.1:389
> binddn="cn=Manager,o=univates,c=br" bindmethod=simple credentials=secret)
> /usr/local/etc/openldap/slapd.conf: line 51: replica line must appear
> inside a database definition (ignored)
> [...]
> But the line of replica is identical in the documentation -
> http://www.umich.edu/~dirsvcs/ldap/doc/guides/slapd/11.html

We'll need to see your configuration file (just remove any passwords).

> When the line of replica is:
> replica host=192.168.0.1:389 binddn="cn=Manager,o=univates,c=br"
> database=ldbm bindmethod=simple credentials=secret
>
> Occur the same line problem.

That is definitely an incorrect configuration.  The syntax is:

database	ldbm
...
replogfile	/path/to/file
replica		host=192.168.0.1:389 binddn="cn=Manager,o=univates,c=br"
		bindmethod=simple credentials=secret

-- 
Dave Horsfall  DTM  VK2KFU  daveh@ci.com.au  Ph: +61 2 9906-7866  Fx: 9906-1556
Corinthian Engineering, Level 1, 401 Pacific Hwy, Artarmon, NSW 2064, Australia