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.
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
WebLayout Templates error: Only block tag names allowed in "tmplinsertblock". Offending tag name "data".
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.
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.
Delete the user
"=> >
Delete the user
Example
Delete the user
"=> >
Delete the user
|