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

Re: ldapsearch hidden option "-T"



Thank you. I located the option.

-AWJr

From: Howard Chu <hyc@symas.com>
To: Auteria W. Winzer Jr. <wwinzer@yahoo.com>; Quanah Gibson-Mount <quanah@zimbra.com>
Cc: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
Sent: Wednesday, May 21, 2014 12:24 AM
Subject: Re: ldapsearch hidden option "-T"

Auteria W. Winzer Jr. wrote:
> What I meant to say is I don't want to wrap long lines. By default it'll break
> a line after 76 characters. However long the line is, it should only be 1
> line, not broken.

You must be talking about someone else's ldapsearch command. The "-T" option
has been documented in OpenLDAP since at least version 2.0.0. And as Quanah
already noted, if you read the OpenLDAP ldapsearch manpage you'll see that
there is another option to control line wrapping.

>
> Regards,
> Auteria Winzer Jr.
>
>    ------------------------------------------------------------------------------
>    *From:* Quanah Gibson-Mount <quanah@zimbra.com>
>    *To:* Auteria W. Winzer Jr. <wwinzer@yahoo.com>
>    *Cc:* "openldap-technical@openldap.org" <openldap-technical@openldap.org>
>    *Sent:* Tuesday, May 20, 2014 9:52 PM
>    *Subject:* Re: ldapsearch hidden option "-T"
>
>
>
>    On May 20, 2014, at 5:52 PM, "Auteria W. Winzer Jr." <wwinzer@yahoo.com
>    <mailto:wwinzer@yahoo.com>> wrote:
>
>>    I'm sorry I should've been more definitive.
>>    At one time ldapsearch provided an option to wrap long lines. By
>>    default, it breaks any line after the 76th character.
>>    I was looking for an option that provides that functionality
>
>    Did you read the man page?  It is still possible to do
>
>    --Quanah
>
>
>
>>    Regards,
>>    Auteria Winzer Jr.
>>
>>        ------------------------------------------------------------------------------
>>        *From:* Quanah Gibson-Mount <quanah@zimbra.com
>>        <mailto:quanah@zimbra.com>>
>>        *To:* Auteria W. Winzer Jr. <wwinzer@yahoo.com
>>        <mailto:wwinzer@yahoo.com>>; openldap-technical@openldap.org
>>        <mailto:openldap-technical@openldap.org>
>>        *Sent:* Tuesday, May 20, 2014 8:25 PM
>>        *Subject:* Re: ldapsearch hidden option "-T"
>>
>>
>>
>>        --On May 20, 2014 at 4:55:56 PM -0700 "Auteria W. Winzer Jr."
>>        <wwinzer@yahoo.com <mailto:wwinzer@yahoo.com>> wrote:

>>
>>
>>        >
>>        >
>>        > Is the "-T" option for ldapsearch available in 2.4.39, or has it been
>>        > permanently removed?
>>
>>
>>        Not sure what you mean by "hidden".  It is clearly documented in the
>>        man
>>        page:
>>
>>        SYNOPSIS
>>              ldapsearch  [-V[V]]  [-d debuglevel]  [-n]  [-v]  [-c]  [-u]
>>        [-t[t]]  [-T path]  [-F prefix] [-A] [-L[L[L]]] [-S attribute] [-b
>>        searchbase] [-s {base|one|sub|children}] [-a {never|always|search|find}]
>>              [-l timelimit] [-z sizelimit] [-f file] [-M[M]] [-x] [-D binddn]
>>        [-W] [-w passwd] [-y passwdfile]  [-H ldapuri]  [-h ldaphost]  [-p
>>        ldapport]  [-P {2|3}]  [-e [!]ext[=extparam]]  [-E [!]ext[=extparam]]
>>              [-o opt[=optparam]] [-O security-properties] [-I] [-Q] [-N] [-U
>>        authcid] [-R realm] [-X authzid] [-Y mech] [-Z[Z]] filter [attrs...]
>>
>>        OPTIONS
>>              -T path
>>                      Write temporary files to directory specified by path
>>        (default: /var/tmp/)
>>
>>        --Quanah
>>
>>
>>        --
>>        Quanah Gibson-Mount
>>        Server Architect
>>        Zimbra, Inc
>>        --------------------
>>        Zimbra ::  the leader in open source messaging and collaboration

>>
>>
>>
>>
>
>


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