The UNBIND_LDAP call
The UNBIND_LDAP call terminates a session with an LDAP server.
UNBIND_LDAP
DFHDDAPX [CALL],
[CLEAR],
[IN,
FUNCTION(UNBIND_LDAP),
LDAP_SESSION_TOKEN(name4),]
[OUT,
[LDAP_RESPONSE(name4),]
RESPONSE(name1 | *),
REASON(name1 | *)]
This command is threadsafe.
- LDAP_RESPONSE(name4)
- specifies the return code that is sent by the LDAP API.
- LDAP_SESSION_TOKEN(name4)
- the name of the fullword token that was returned by the BIND_LDAP function.
RESPONSE and REASON values for UNBIND_LDAP
| RESPONSE | REASON |
|---|---|
| OK | None |
| EXCEPTION | INVALID_TOKEN |
| LDAP_INACTIVE | |
| DISASTER | None |
| INVALID | None |
| KERNERROR | None |
| PURGED | None |
Note: For more detail, refer to the explanation of RESPONSE and REASON
in Making an XPI call.