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

Re: (ITS#4089) slapcat includes subordinate databases when -n or -b used

Kevin Spicer wrote:
> On Sat, 2005-10-15 at 03:14 +0100, Howard Chu wrote:
>> Yes, that's because that's how it is documented to work.
> In which case my apologies for the erroneous report.
> However, would you mind pointing me in the direction of where that is
> documented.  I can't find it either in the man page or the
> Administrators guide.  Also, is there any way of overriding this default
> behaviour?  
> My reason for wanting this is that my subordinate databases are
> replicas, so I'd prefer not to have them in the output of slapcat as in
> the event of a failure I would restore by copying from their master
> server.  I realise that I can either manually edit the output of slapcat
> or overwrite the subordinate database directories afterwards, but in the
> event of a problem the less messing around is involved the better. 
The slapd.conf(5) man page states:

If the slap tools slapcat(8), slapadd(8), or slapindex(8) are used on 
the superior database, any glued subordinates that support these tools 
are opened as well.

Currently there is no way to override this behavior. I guess we can 
treat this ITS as an enhancement request.

  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/