Introduction
  Publishing web pages
  RXML
  Information tags
  String tags
  Variable tags
  URL tags
  If tags
  Graphics tags
  Database tags
  LDAP
    <ldap>
    <ldapoutput>
    <ldapfor>
  Programming tags
  SSI tags
  Image maps
  IntraSeek
  LogView
  Templates
  Navigation
  SiteBuilder tags
  Supports system
  Security
  Appendix
 
<ldap> LDAP module

 

Executes a LDAP operation, but doesn't do anything with the result. <ldap> is mostly used for LDAP operation that change the contents of the directory, for example add or modify.

 

Attributes

host=hostname
Host name of server on which directory server will connect to. If omitted the default host name will be used.

name=user name
User name for connection to the directory server. If omitted the default user name will be used.

password=password
User password for connection to the directory server. If omitted the default will be used.

dn=distinguished name
Distinguished name of object. Required.

op=add delete modify replace
The actual LDAP operation. Required.

Note that op=modify will change only the attributes given by the attr attribute.

attr=attribute/value list
The actual values of attributes.

The syntax: (attribute_name1:[('attribute_value1'[, ... ])][,attribute_name2 ...]

for example: (sn:'Zappa'),(mail:'hello@nowhere.org','athell@pandemonium.com')

quiet
In case of the operation fails, no error messages will show on the page. Error description can be returned by <ldapelse>.

parser
If specified, the query will be parsed by the RXML parser. This is useful if the operation is to be built dynamically.

 

Example


<apre foo>Delete the user</apre>

<if prestate=foo>
 <ldap host=test dn="uid=bill, o=M$, c=US"
   op="delete">
</if>

Delete the user