|
|
|
<emit source="ldap"></emit>
Provided by module: Tags: LDAP tags
Use this source to search LDAP directory for information. The
result will be available in variables named as the LDAP entries
attribute.
<emit source="ldap"
server="ldap://ldap.foo.com/dc=foo,dc=com?cn,sn,mail?sub?(sn=john)">
</emit> |
|
<emit source="ldap"
server="ldap://ldap.foo.com/?cn,sn,mail"
basedn="dc=foo,dc=com"
search-scope="sub"
search-filter="(sn=john)" >
</emit> |
|
Attributes
- server="LDAP URL" (Server URL)
-
Connection LDAP URL. If omitted the Default server URL
will be used.
URLs are written on the format:
ldap://hostname[:port]/base_DN[?[attribute_list][?[scope][?[filter][?extensions]]]].
For details, see RFC 2255.
- search-filter="search filter"
-
Filter of an LDAP search operation. This value will override
the corresponding part of URL.
- basedn="base DN"
-
Base DN of an LDAP search operation. This value will override
the corresponding part of URL.
- search-scope="search scope"
-
Scope of an LDAP search operation. This value will override
the corresponding part of URL.
- password="user password"
-
User password for connection to the directory server. If omitted the
default will be used.
|
|