Red-hat 8.1 Manual do Utilizador Página 186

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 292
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 185
Table 6.1 0. Additional ldapsearch Options
Option Description
-1 Leaves out the opening version: 1 line from
the LDIF output.
-A Specifies that the search retrieve the attributes
only, not the attribute values. T his option is useful
to determine if an attribute is present for an entry
and the value is not important.
-a Specifies how alias dereferencing is completed.
Values can be never, always, search, or
find. The default value is never.
-B Print non-ASCII values using the old output format
(attrName=attrValue).
-c Specifies the getEffectiveRights control
authzid. For example:
dn:uid=bjensen,dc=example,dc=com
A value of "" means the authorization ID for the
operation. A value of dn: means anonymous
-E Reports the bind identity used for the search.
-e Minimizes the base-64 encoding for the values of
returned entries.
-F Specifies a different separator. This option allows
a separator other than a colon (:) to separate an
attribute name from the corresponding value. For
example:
-F +
-f Specifies the file containing the search filters to
be used in the search. For example:
-f search_filters
option to supply a search filter directly to the
command line.
For more information about search filters, see
Appendix B, "Finding Directory Entries", in the
Directory Server Administrator's Guide.
-G Conducts a virtual list view search. T his option
can set the number of entries before or after the
search target and the index or value of the first
entry returned.
For example, a value operation that sorts by
surname, -G 20:30:johnson, returns the first
entry with a surname equal to or less than
johnson, in addition to 20 entries that come
before it and 30 entries that come after it. If there
are fewer matching entries in the directory than
the before or after number requested by the
search, all available entries before/after the
search target that match the search criteria are
returned.
An index operation which sorts by surname, -G
20:30:100:0, returns from the 80th through
130th entries sorted by sn. Use 0 as the fourth
value for the count number unless you know how
many entries the VLV index has.
-H Prints the help information.
-i Specifies the characterset to use for command-
line input. T he default is the characterset
specified in the LANG environment variable. Use
this option to perform the conversion from the
specified characterset to UT F8, thus overriding
the environment variable setting.
This argument can input the bind DN, base DN,
and the search filter pattern in the specified
186 Chapter 6. Command-Line Utilities
Vista de página 185
1 2 ... 181 182 183 184 185 186 187 188 189 190 191 ... 291 292

Comentários a estes Manuais

Sem comentários