diff options
| author | David M. Syzdek <syzdek@bindlebinaries.com> | 2019-10-15 21:34:43 -0800 |
|---|---|---|
| committer | David M. Syzdek <syzdek@bindlebinaries.com> | 2019-10-15 21:38:23 -0800 |
| commit | 8c78445684ea9ff8418ac1638133e6f801495115 (patch) | |
| tree | 49e34ab0435f008a7f80725b8c8954167f12bdfd /doc/ldaptree.1.in | |
| parent | 0eab681e1f518df9eed9327a652d36e9219cb1d9 (diff) | |
| download | ldap-utils-8c78445684ea9ff8418ac1638133e6f801495115.tar.gz ldap-utils-8c78445684ea9ff8418ac1638133e6f801495115.tar.bz2 ldap-utils-8c78445684ea9ff8418ac1638133e6f801495115.tar.xz ldap-utils-8c78445684ea9ff8418ac1638133e6f801495115.zip | |
docs: updating ldaptree man page
Diffstat (limited to '')
| -rw-r--r-- | doc/ldaptree.1.in | 199 |
1 files changed, 196 insertions, 3 deletions
diff --git a/doc/ldaptree.1.in b/doc/ldaptree.1.in index a34713f..f8e0dd8 100644 --- a/doc/ldaptree.1.in +++ b/doc/ldaptree.1.in | |||
| @@ -38,20 +38,213 @@ ldaptree \- LDAP search tool which displays results in tree form | |||
| 38 | 38 | ||
| 39 | .SH SYNOPSIS | 39 | .SH SYNOPSIS |
| 40 | \fBldaptree\fR | 40 | \fBldaptree\fR |
| 41 | [\fBOPTIONS\fR] | 41 | [\fB-b\fR \fIbasedn\fR] |
| 42 | [\fB-c\fR] | ||
| 43 | [\fB-d\fR \fIlevel\fR] | ||
| 44 | [\fB-D\fR \fIbinddn\fR] | ||
| 45 | [\fB-H\fR \fIURI\fR] | ||
| 46 | [\fB-l\fR \fIlimit\fR] | ||
| 47 | [\fB-L\fR[\fB-L\fR]] | ||
| 48 | [\fB-n\fR] | ||
| 49 | [\fB-v\fR | \fB--version\fR] | ||
| 50 | [\fB-s\fR \fIscope\fR] | ||
| 51 | [\fB-S\fR \fIattr\fR] | ||
| 52 | [\fB-w\fR \fIpasswd\fR] | ||
| 53 | [\fB-W\fR] | ||
| 54 | [\fB-x\fR] | ||
| 55 | [\fB-y\fR \fIfile\fR] | ||
| 56 | [\fB-Y\fR \fImech\fR] | ||
| 57 | [\fB-z\fR \fIlimit\fR] | ||
| 58 | [\fB-Z\fR[\fB-Z\fR]] | ||
| 59 | [\fIfilter\fR | ||
| 60 | [\fIattributes...\fR]] | ||
| 42 | .sp | 61 | .sp |
| 43 | \fBldaptree\fR [ \fB-h\fR | \fB--help\fR ] | 62 | \fBldaptree\fR [ \fB-h\fR | \fB--help\fR ] |
| 44 | .sp | 63 | .sp |
| 45 | \fBldaptree\fR [ \fB-V\fR | \fB--version\fR ] | 64 | \fBldaptree\fR [ \fB-V\fR | \fB--version\fR ] |
| 46 | 65 | ||
| 47 | .SH DESCRIPTION | 66 | .SH DESCRIPTION |
| 48 | 67 | \fBldaptree\fR is a shell utilty which performs an LDAP search and prints the | |
| 68 | results as either an ASCII graph or a bulleted list. By default the utilty | ||
| 69 | does not retrieve any attributes from LDAP servers, however if a \fIfilter\fR | ||
| 70 | and \fIattributes\fR are provided as command line arguments, then the | ||
| 71 | attribute values will be displayed inline with the results. | ||
| 49 | 72 | ||
| 50 | .SH OPTIONS | 73 | .SH OPTIONS |
| 51 | 74 | .TP | |
| 75 | \fB-c\fR | ||
| 76 | do not stop if an error is encountered | ||
| 77 | .TP | ||
| 78 | \fB-d\fR | ||
| 79 | set OpenLDAP debug level to `level' | ||
| 80 | .TP | ||
| 81 | \fB-D\fR \fIbinddn\fR | ||
| 82 | bind DN used for simple bind | ||
| 83 | .TP | ||
| 84 | \fB-H\fR \fIURI\fR | ||
| 85 | specifies list of LDAP Uniform Resource Identifier(s) used to connect to LDAP server | ||
| 86 | .TP | ||
| 87 | \fB-l\fR \fIlimit\fR | ||
| 88 | time limit (in seconds) for search | ||
| 89 | .TP | ||
| 90 | \fB-L\fR | ||
| 91 | two \fB-L\fR disables comments | ||
| 92 | .TP | ||
| 93 | \fB-v\fR \fB--version\fR | ||
| 94 | run in verbose mode | ||
| 95 | .TP | ||
| 96 | \fB-s\fR \fIscope\fR | ||
| 97 | specifies search filter. Must be one of \fIbase\fR, \fIone\fR, \fIsub\fR, or \fIchild\fR | ||
| 98 | .TP | ||
| 99 | \fB-S\fR \fIattr\fR | ||
| 100 | sort results by attribute \fIattr\fR | ||
| 101 | .TP | ||
| 102 | \fB-w\fR \fIpasswd\fR | ||
| 103 | bind password used for simple bind | ||
| 104 | .TP | ||
| 105 | \fB-W\fR | ||
| 106 | prompt for bind password used in simple bind | ||
| 107 | .TP | ||
| 108 | \fB-x\fR | ||
| 109 | use simple authentication for bind | ||
| 110 | .TP | ||
| 111 | \fB-y\fR \fIfile\fR | ||
| 112 | read bind password from file | ||
| 113 | .TP | ||
| 114 | \fB-Y\fR \fImech\fR | ||
| 115 | SASL mechanism used during bind | ||
| 116 | .TP | ||
| 117 | \fB-z\fR \fIlimit\fR | ||
| 118 | size limit for search | ||
| 119 | .TP | ||
| 120 | \fB-Z\fR[\fB-Z\fR] | ||
| 121 | Issue StartTLS before bind request. \fB-ZZ\fR requires TLS operations to be successful. | ||
| 122 | .TP | ||
| 123 | \fIfilter\fR | ||
| 124 | The search filter. If not provided, the default filter, \fB(objectclass=*)\fR, | ||
| 125 | is used. | ||
| 126 | .TP | ||
| 127 | \fIattributes...\fR | ||
| 128 | The list of \fIattributes\fR to display within the graph. | ||
| 52 | 129 | ||
| 53 | .SH EXAMPLE | 130 | .SH EXAMPLE |
| 131 | The following command: | ||
| 132 | .in +4n | ||
| 133 | .nf | ||
| 134 | |||
| 135 | ldaptree -x -b o=internet --noleafs --compact | ||
| 136 | |||
| 137 | .fi | ||
| 138 | .in | ||
| 139 | will perform search on the LDAP server. The output might look something the following: | ||
| 140 | .in +4n | ||
| 141 | .nf | ||
| 142 | |||
| 143 | # | ||
| 144 | # base: o=internet with scope subtree | ||
| 145 | # filter: (objectclass=*) | ||
| 146 | # | ||
| 147 | +--dc=net, o=internet | ||
| 148 | +--dc=example | ||
| 149 | | +--ou=Groups | ||
| 150 | | \\--ou=People | ||
| 151 | \\--dc=syzdek | ||
| 152 | +--ou=Groups | ||
| 153 | \\--ou=People | ||
| 154 | |||
| 155 | .fi | ||
| 156 | .in | ||
| 157 | The following command: | ||
| 158 | .in +4n | ||
| 159 | .nf | ||
| 160 | |||
| 161 | ldaptree -LLL -x -b o=internet '(objectclass=*)' givenname sn mail member description | ||
| 162 | |||
| 163 | .fi | ||
| 164 | .in | ||
| 165 | |||
| 166 | will perform search on the LDAP server. The output might look something the following: | ||
| 167 | .in +4n | ||
| 168 | .nf | ||
| 169 | |||
| 170 | +--dc=net, o=internet | ||
| 171 | +--dc=example | ||
| 172 | | +--ou=Groups | ||
| 173 | | | +--cn=lug | ||
| 174 | | | | description: Linux Users' Group | ||
| 175 | | | | member: uid=dnullman,ou=People,dc=example,dc=net,o=internet | ||
| 176 | | | | member: uid=doughboy42,ou=People,dc=example,dc=net,o=internet | ||
| 177 | | | | | ||
| 178 | | | \\--cn=foodie | ||
| 179 | | | description: People obsessed with good food | ||
| 180 | | | member: uid=doughboy42,ou=People,dc=example,dc=net,o=internet | ||
| 181 | | | | ||
| 182 | | \\--ou=People | ||
| 183 | | +--uid=dnullman | ||
| 184 | | | sn: Nullman | ||
| 185 | | | givenName: Devian | ||
| 186 | | | mail: noreply@example.com | ||
| 187 | | | | ||
| 188 | | \\--uid=jdough | ||
| 189 | | sn: Dough | ||
| 190 | | givenName: John | ||
| 191 | | mail: doughboy42@example.com | ||
| 192 | | | ||
| 193 | \\--dc=syzdek | ||
| 194 | +--ou=Groups | ||
| 195 | \\--ou=People | ||
| 196 | \\--uid=syzdek | ||
| 197 | sn: Syzdek | ||
| 198 | givenName: David M. | ||
| 199 | mail: david@syzdek.net | ||
| 200 | |||
| 201 | .fi | ||
| 202 | .in | ||
| 203 | The following command: | ||
| 204 | .in +4n | ||
| 205 | .nf | ||
| 206 | |||
| 207 | ldaptree -x -b o=internet --style=bullets --compact '(objectclass=*)' givenname sn mail member description | ||
| 208 | |||
| 209 | .fi | ||
| 210 | .in | ||
| 211 | will perform search on the LDAP server. The output might look something the following: | ||
| 212 | .in +4n | ||
| 213 | .nf | ||
| 214 | |||
| 215 | * dc=net, o=internet | ||
| 216 | * dc=example | ||
| 217 | * ou=Groups | ||
| 218 | * cn=lug | ||
| 219 | * Attributes | ||
| 220 | - description: Linux Users' Group | ||
| 221 | - member: uid=dnullman,ou=People,dc=example,dc=net,o=internet | ||
| 222 | - member: uid=doughboy42,ou=People,dc=example,dc=net,o=internet | ||
| 223 | * cn=foodie | ||
| 224 | * Attributes | ||
| 225 | - description: People obsessed with good food | ||
| 226 | - member: uid=doughboy42,ou=People,dc=example,dc=net,o=internet | ||
| 227 | * ou=People | ||
| 228 | * uid=dnullman | ||
| 229 | * Attributes | ||
| 230 | - sn: Nullman | ||
| 231 | - givenName: Devian | ||
| 232 | - mail: noreply@example.com | ||
| 233 | * uid=jdough | ||
| 234 | - sn: Dough | ||
| 235 | - givenName: John | ||
| 236 | - mail: doughboy42@example.com | ||
| 237 | * dc=syzdek | ||
| 238 | * ou=Groups | ||
| 239 | * ou=People | ||
| 240 | * uid=syzdek | ||
| 241 | * Attributes | ||
| 242 | - sn: Syzdek | ||
| 243 | - givenName: David M. | ||
| 244 | - mail: david@syzdek.net | ||
| 54 | 245 | ||
| 246 | .fi | ||
| 247 | .in | ||
| 55 | 248 | ||
| 56 | .SH "SEE ALSO" | 249 | .SH "SEE ALSO" |
| 57 | .BR ldapsearch (1), | 250 | .BR ldapsearch (1), |
