This commit is contained in:
Michael Kerrisk 2007-05-21 16:25:37 +00:00
parent 677653bb2c
commit 0dac954be5
1 changed files with 9 additions and 6 deletions

View File

@ -394,20 +394,23 @@ An extension prefixed with a '!' is critical
LDAP queries are easiest to explain by example.
Here's a query that asks ldap.itd.umich.edu for information about
the University of Michigan in the U.S.:
.RS
.PP
.nf
ldap://ldap.itd.umich.edu/o=University%20of%20Michigan,c=US
.RE
.nf
.PP
To just get its postal address attribute, request:
.RS
.PP
.nf
ldap://ldap.itd.umich.edu/o=University%20of%20Michigan,c=US?postalAddress
.RE
.fi
.PP
To ask a host.com at port 6666 for information about the person
with common name (cn) "Babs Jensen" at University of Michigan, request:
.RS
.PP
.nf
ldap://host.com:6666/o=University%20of%20Michigan,c=US??sub?(cn=Babs%20Jensen)
.RE
.fi
.SS "wais \- Wide Area Information Servers"
.RI wais:// hostport / database
.br