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

Re: slapcat doesn't support subtree dump (ITS#2376)



Kurt,

At the time he posted the location of his patch, he asked specifically if 
this should be committed in, and never received a reply, which is probably 
why it hasn't been done.

--Quanah

Message:

Return-Path: <hbf@bombur.uio.no>
Received: from leland3.Stanford.EDU (leland3.Stanford.EDU [171.64.14.90])
	by imap1.Stanford.EDU (8.11.6/8.11.6) with ESMTP id h0OFETI28912
	for <quanah@imap1.stanford.edu>; Fri, 24 Jan 2003 07:14:29 -0800 (PST)
Received: from leland3.Stanford.EDU (localhost [127.0.0.1])
	by leland3.Stanford.EDU (8.11.6/8.11.6) with ESMTP id h0OFESN19718
	for <quanah@imap1.stanford.edu>; Fri, 24 Jan 2003 07:14:28 -0800 (PST)
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by leland3.Stanford.EDU (8.11.6/8.11.6) with ESMTP id h0OFERv19712
	for <quanah@stanford.edu>; Fri, 24 Jan 2003 07:14:27 -0800 (PST)
Received: from bombur.uio.no ([129.240.186.42])
	by pat.uio.no with esmtp (Exim 2.12 #7)
	id 18c5XD-0003Up-00; Fri, 24 Jan 2003 16:14:23 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 18c5XC-0000A2-00; Fri, 24 Jan 2003 16:14:22 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20030124bfum@bombur.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Quanah Gibson-Mount <quanah@Stanford.EDU>
Cc: openldap-software@OpenLDAP.org
Subject: Re: slapcat subtrees?
In-Reply-To: <22987203.1043334524@cadabra.stanford.edu>
References: <22987203.1043334524@cadabra.stanford.edu>
X-Mailer: VM 6.37 under Emacs 19.34.1
Sender: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Date: Fri, 24 Jan 2003 16:14:22 +0100
X-Perlmx-Spam: Gauge=, Probability=0%, Report="IN_REP_TO, 
SUBJ_ENDS_IN_Q_MARK"

[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

--On Friday, March 14, 2003 4:15 PM -0800 "Kurt D. Zeilenga" 
<Kurt@OpenLDAP.org> wrote:

> At 03:31 PM 3/14/2003, quanah@stanford.edu wrote:
>> Full_Name: Quanah Gibson-Mount
>> Version: 2.1.16
>> OS: Solaris 8
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (171.64.19.82)
>>
>>
>> OpenLDAP still hasn't imported the trivial patch to slapcat to allow you
>> to dump subtree's.  This is an extremely useful feature.  I'm creating
>> an ITS on this so it can get tracked.  I have the patch files if needed.
>
> As the author has not submitted the patch for consideration
> for inclusion in OpenLDAP Software, we assume the author
> does not want it to be considered.
>
> As this assumption may be false, I'll drop a quick note to
> the author and asking him to submit it if he wishes it to be
> considered.  If he does, we'll use his ITS to track it.
> If he doesn't, there is nothing to track.  Hence, this ITS
> will be closed.
>
> Kurt
>



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