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

Re: slapcat subtrees?





--On Friday, January 24, 2003 4:14 PM +0100 Hallvard B Furuseth <h.b.furuseth@usit.uio.no> wrote:

[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

Thanks Hallvard! Compiling with the patch now... That is extremely useful.

--Quanah

--
Quanah Gibson-Mount
Senior Systems Administrator
ITSS/TSS/Computing Systems
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html