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

Re: slapcat subtrees?



[Committers, should I commit this patch to CVS?]

Quanah Gibson-Mount writes:
> Is it possible to export a subtree to an ldif file using slapcat?

No, but it was easy to implement.  Here is a patch:

   http://folk.uio.no/hbf/OpenLDAP/slapcat-s.txt

Description, from the slapcat(8) manpage:
     -s subtree-dn
          Only dump entries in the subtree specified by this  DN.
          Implies `-b subtree-dn' if no -b or -n option is given.

-- 
Hallvard