Parameter: | Description: | Default: |
base="..." | base dn of the (sub)tree to search in; if base is written in brackets (e.g. 'base="(ou=people)"') then it is prepended to the default base | the default base of the LdapContrib |
scope="one" | scope of search; possible values: sub , base , one | sub |
"uid=joeshmoe" | the LDAP query string | required |
reverse="on" | reverse the result set; possible values: on , off | off |
hidenull="on" | wether to hide any output on an empty hit set; possible values: on , off | off |
required="..." | a comma separated list of LDAP record attributes. If specified, the LDAP query results not having all of the specified attributes are eliminated | nothing is required |
clear="..." | comma separated list of attributes to be removed from the output if they are not resolved | nothing is cleared |
limit="100" | maximum number of records to return | no limit |
header="..." | header to prepend the output | no header |
footer="..." | footer to appended to the output | no footer |
filter="uid=joeshmoe" | (Alternative to above) | N/A |
sort="..." | name of attributes to sort the output | DN |
skip="10" | number of records in the hit set to skip before displaying them | 0 (nothing is skipped) |
sep="..." or separator="..." | separator between database records | $n (new line) |
format="..." | format string used to display a database record | $dn |
default="..." | when the LDAP query yields no results, the value of this parameter is returned as the search result instead of null. Naturally, if hidenull is on, default doesn't have any effect | "" (null string) |