docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 4.0Web Developer ManualEmit Tags
Copyright © 2006, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com

   

<emit>
<emit atlas>
<emit cimg>
<emit dir>
<emit fonts>
<emit js-dynamic-popup>
<emit js-hide-popup>
<emit languages>
<emit ldap>
<emit path>
<emit sources>
<emit sql>
<emit timerange>
<emit values>

<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.


binddn="distinguished name"

Bind DN used for authentication in the directory server.


password="password"

Password for authentication in the directory server. If omitted the empty string will be used.