Prev | Current Page 1611 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

With this switch, attributes/value pairs are returned. For example:
-V=
might cause a successful return to appear like this:
user=bob
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
23.7 Alphabetized Database-Map Types | 919
23.7.11.18 The -v ldap database-map switch
The -v switchspecifies a list of attributes to return. The attributes must be separated from
each other by commas. If the attributes contain spaces, the entire expression must be
quoted:
-voc,ou
-v"oc, ou"
If more than one attribute is requested (and if the -z switch[?§23.7.11.20 on page 921] is
omitted), only the first attribute value returned from the LDAP server is given to the rule
set. If the -z switch is used to specify a delimiter, all the attributes returned from the LDAP
server are returned to the rule that did the lookup, each value separated from the others by
that delimiter. For the earlier -v example, and a -z:, the following values might be returned
to the rule that did the lookup:
foo:org:bar
When you query multiple attributes from the LDAP server, it can be beneficial to also
specify a -V switch(?§23.7.11.17 on page 918), whichcauses the attribute name to be
returned along witheachvalue. For a -V= (along withth e earlier -z:), for example, the
following attribute names and returned values might be returned to the rule that did the
lookup:
oc=foo:ou=org:oc=bar
Note that if you list too many attributes with -v (usually more than 64), the following error
will print and log:
Too many return attributes in name (max 64)
Prior to V8.


Pages:
1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623
dieta light życzenia z okazji urodzin fenster berlin katalog stron katalog stron