OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Documentation/6339
Full headers

From: quanah@zimbra.com
Subject: ldapsearch -V doesn't exist after version info
Compose comment
Download message
State:
2 replies: 1 2
5 followups: 1 2 3 4 5

Major security issue: yes  no

Notes:

Notification:


Date: Mon, 19 Oct 2009 22:32:14 +0000
From: quanah@zimbra.com
To: openldap-its@OpenLDAP.org
Subject: ldapsearch -V doesn't exist after version info
Full_Name: Quanah Gibson-Mount
Version: 2.4.19
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (75.111.29.239)


Executing ldapsearch -V to get the version information correctly prints it, but
then proceeds to execute a search.

Followup 1

Download message
Date: Mon, 19 Oct 2009 15:36:12 -0700
From: Quanah Gibson-Mount <quanah@zimbra.com>
To: openldap-its@OpenLDAP.org
Subject: Re: (ITS#6339) ldapsearch -V doesn't exist after version info
--On Monday, October 19, 2009 10:32 PM +0000 openldap-its@OpenLDAP.org 
wrote:


s/exist/exit

--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration



Followup 2

Download message
Date: Fri, 30 Oct 2009 09:44:26 +0100
From: Pierangelo Masarati <masarati@aero.polimi.it>
To: quanah@zimbra.com
CC: openldap-its@openldap.org
Subject: Re: (ITS#6339) ldapsearch -V doesn't exist after version info
quanah@zimbra.com wrote:
> Full_Name: Quanah Gibson-Mount
> Version: 2.4.19
> OS: 
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (75.111.29.239)
> 
> 
> Executing ldapsearch -V to get the version information correctly prints it,
but
> then proceeds to execute a search.

Perhaps it's not clearly documented (no "-V" in man page, unclear 
message in help) but you need to use -VV to exit after printing version.

p.



Followup 3

Download message
Date: Fri, 30 Oct 2009 07:57:54 -0700
From: Quanah Gibson-Mount <quanah@zimbra.com>
To: Pierangelo Masarati <masarati@aero.polimi.it>
cc: openldap-its@openldap.org
Subject: Re: (ITS#6339) ldapsearch -V doesn't exist after version info
--On Friday, October 30, 2009 9:44 AM +0100 Pierangelo Masarati 
<masarati@aero.polimi.it> wrote:

> quanah@zimbra.com wrote:
>> Full_Name: Quanah Gibson-Mount
>> Version: 2.4.19
>> OS:
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (75.111.29.239)
>>
>>
>> Executing ldapsearch -V to get the version information correctly prints
>> it, but then proceeds to execute a search.
>
> Perhaps it's not clearly documented (no "-V" in man page, unclear message
> in help) but you need to use -VV to exit after printing version.


That's... bizarre.  Even slapd doesn't behave that way.  Nor any other 
program comes immediately to mind.

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration



Followup 4

Download message
Date: Tue, 31 Aug 2010 01:44:45 -0300
Subject: Re: (ITS#6339) ldapsearch -V doesn't exist after version info
From: Matheus Morais <matheus.morais@gmail.com>
To: openldap-its@openldap.org
Cc: quanah@zimbra.com
--0016364ec88477ac37048f173de5
Content-Type: text/plain; charset=ISO-8859-1

Hi there,

<quote> That's... bizarre. Even slapd doesn't behave that way. Nor any
other
program comes immediately to mind. </quote>

Even sounds like an strange behave, as Quanah said, this information should
be included on ldapsearch man page IMHO.

I believe that the following patch could close this BUG:

--- openldap/doc/man/man1/ldapsearch.1.orig    2010-08-31 01:25:23.000000000
-0300
+++ openldap/doc/man/man1/ldapsearch.1    2010-08-31 01:37:50.000000000
-0300
@@ -7,6 +7,8 @@
 .SH SYNOPSIS
 .B ldapsearch
 [\c
+.BR \-V [ V ]]
+[\c
 .BR \-n ]
 [\c
 .BR \-c ]
@@ -107,6 +109,11 @@
 Option \fI\-L\fP controls the format of the output.
 .SH OPTIONS
 .TP
+.BR \-V [ V ]
+Prints the ldapsearch version and proceeds with the search.
+.B \-VV
+Prints the ldapsearch version and quit.
+.TP
 .B \-n
 Show what would be done, but don't actually perform the search.  Useful for
 debugging in conjunction with \fB\-v\fP.

Please review it.

Thanks,

Matheus Morais

--0016364ec88477ac37048f173de5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi there,<br><br>&lt;quote&gt; That&#39;s... bizarre. 
Even slapd doesn&#39=
;t behave that way.  Nor any other program comes immediately to mind. &lt;/=
quote&gt;<br><br>Even sounds like an strange behave, as Quanah
said, this i=
nformation should be included on ldapsearch man page IMHO.<br>
<br>I believe that the following patch could close this
BUG:<br><br>--- ope=
nldap/doc/man/man1/ldapsearch.1.orig=A0=A0=A0 2010-08-31 01:25:23.000000000=
 -0300<br>+++ openldap/doc/man/man1/ldapsearch.1=A0=A0=A0 2010-08-31
01:37:=
50.000000000 -0300<br>
@@ -7,6 +7,8 @@<br>=A0.SH SYNOPSIS<br>=A0.B
ldapsearch<br>=A0[\c<br>+.BR \-=
V [ V ]]<br>+[\c<br>=A0.BR \-n ]<br>=A0[\c<br>=A0.BR \-c
]<br>@@ -107,6 +10=
9,11 @@<br>=A0Option \fI\-L\fP controls the format of the
output.<br>=A0.SH=
 OPTIONS<br>
=A0.TP<br>+.BR \-V [ V ]<br>+Prints the ldapsearch version and
proceeds wit=
h the search.<br>+.B \-VV<br>+Prints the ldapsearch version and
quit.<br>+.=
TP<br>=A0.B \-n<br>=A0Show what would be done, but don&#39;t
actually perfo=
rm the search.=A0 Useful for<br>
=A0debugging in conjunction with \fB\-v\fP.<br><br>Please review
it.<br><br=
>Thanks,<br><br>Matheus Morais<br>

--0016364ec88477ac37048f173de5--



Followup 5

Download message
Date: Tue, 9 Aug 2011 18:25:28 -0300
Subject: Re: (ITS#6339) ldapsearch -V doesn't exist after version info
From: xsun <matheus.morais@gmail.com>
To: openldap-its@openldap.org
--00163683235cdfe3c004aa1933e0
Content-Type: text/plain; charset=ISO-8859-1

This seems to be a little old but I had attached the patch to close this
issue and now I realize that I should provide it in a Uniform Resource
Locator (URL) just as http://www.openldap.org/devel/contributing.html
 explains.

So here it goes:

http://xsun.eti.br/openldap/ldapsearch1_man_page.patch

Sorry for this mistake.

Thanks.
Matheus Morais

On Tue, Aug 31, 2010 at 1:44 AM, Matheus Morais
<matheus.morais@gmail.com>wrote:

> Hi there,
>
> <quote> That's... bizarre. Even slapd doesn't behave that way. Nor
any
> other program comes immediately to mind. </quote>
>
> Even sounds like an strange behave, as Quanah said, this information should
> be included on ldapsearch man page IMHO.
>
> I believe that the following patch could close this BUG:
>
> --- openldap/doc/man/man1/ldapsearch.1.orig    2010-08-31
> 01:25:23.000000000 -0300
> +++ openldap/doc/man/man1/ldapsearch.1    2010-08-31 01:37:50.000000000
> -0300
> @@ -7,6 +7,8 @@
>  .SH SYNOPSIS
>  .B ldapsearch
>  [\c
> +.BR \-V [ V ]]
> +[\c
>  .BR \-n ]
>  [\c
>  .BR \-c ]
> @@ -107,6 +109,11 @@
>  Option \fI\-L\fP controls the format of the output.
>  .SH OPTIONS
>  .TP
> +.BR \-V [ V ]
> +Prints the ldapsearch version and proceeds with the search.
> +.B \-VV
> +Prints the ldapsearch version and quit.
> +.TP
>  .B \-n
>  Show what would be done, but don't actually perform the search.  Useful
> for
>  debugging in conjunction with \fB\-v\fP.
>
> Please review it.
>
> Thanks,
>
> Matheus Morais
>

--00163683235cdfe3c004aa1933e0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

This seems to be a little old but I had attached the patch to close this is=
sue and now I realize that I should provide it in a Uniform Resource Locato=
r (URL) just as=A0<meta http-equiv=3D"content-type" content=3D"text/html; c=
harset=3Dutf-8"><a
href=3D"http://www.openldap.org/devel/contributing.html"=
>http://www.openldap.org/devel/contributing.html</a>=A0explains.<div>
<br></div><div>So here it
goes:</div><div><br></div><div><a
href=3D"http://=
xsun.eti.br/openldap/ldapsearch1_man_page.patch">http://xsun.eti.br/openlda=
p/ldapsearch1_man_page.patch</a></div><div><br></div><div>Sorry
for this mi=
stake.</div>
<div><br></div><div>Thanks.</div><div>Matheus
Morais</div><div><br><div cla=
ss=3D"gmail_quote">On Tue, Aug 31, 2010 at 1:44 AM, Matheus Morais <span
di=
r=3D"ltr">&lt;<a
href=3D"mailto:matheus.morais@gmail.com">matheus.morais@gm=
ail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">Hi
there,<br><br>&lt;quote&gt; That&#39;s..=
. bizarre.  Even slapd doesn&#39;t behave that way.  Nor any other program =
comes immediately to mind. &lt;/quote&gt;<br>
<br>Even sounds like an strange behave, as Quanah said, this information
sh=
ould be included on ldapsearch man page IMHO.<br>
<br>I believe that the following patch could close this
BUG:<br><br>--- ope=
nldap/doc/man/man1/ldapsearch.1.orig=A0=A0=A0 2010-08-31 01:25:23.000000000=
 -0300<br>+++ openldap/doc/man/man1/ldapsearch.1=A0=A0=A0 2010-08-31
01:37:=
50.000000000 -0300<br>

@@ -7,6 +7,8 @@<br>=A0.SH SYNOPSIS<br>=A0.B
ldapsearch<br>=A0[\c<br>+.BR \-=
V [ V ]]<br>+[\c<br>=A0.BR \-n ]<br>=A0[\c<br>=A0.BR \-c
]<br>@@ -107,6 +10=
9,11 @@<br>=A0Option \fI\-L\fP controls the format of the
output.<br>=A0.SH=
 OPTIONS<br>

=A0.TP<br>+.BR \-V [ V ]<br>+Prints the ldapsearch version and
proceeds wit=
h the search.<br>+.B \-VV<br>+Prints the ldapsearch version and
quit.<br>+.=
TP<br>=A0.B \-n<br>=A0Show what would be done, but don&#39;t
actually perfo=
rm the search.=A0 Useful for<br>

=A0debugging in conjunction with \fB\-v\fP.<br><br>Please review
it.<br><br=
>Thanks,<br><font color=3D"#888888"><br>Matheus
Morais<br>
</font></blockquote></div><br></div>

--00163683235cdfe3c004aa1933e0--



Reply 1

Resend
From: Gavin Henry <openldap-its@OpenLDAP.org>
To: openldap-its@OpenLDAP.org
Subject: Re: (ITS#6339) ldapsearch -V doesn't exist after version info
Date: Wed Jul  4 22:23:03 2012
Do we want to document this or change behavior?


Reply 2

Resend
From: Gavin Henry <openldap-its@OpenLDAP.org>
To: openldap-its@OpenLDAP.org
Subject: Re: (ITS#6339) ldapsearch -V doesn't exist after version info
Date: Wed Jul 18 11:14:14 2012
Do we want to document this or change behavior?

Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org