OpenLDAPConnection (open)
Open an LDAP connection
Syntax
LOADLIB "wh::dbase/ldap.whlib";
INTEGER FUNCTION OpenLDAPConnection(STRING server, INTEGER port, STRING binddn, STRING passwd, BOOLEAN secure, RECORD options)
Parameters
STRING server
The server address to connect to
INTEGER port
The server port to connect to. Leave at 0 to use the default port
STRING binddn
The distiguished name to connect as
STRING passwd
The password to connect with
BOOLEAN secure
Use a secure (SSL) connection
RECORD options
Return value
INTEGER
If >0, the transaction id. <= 0 on error
Description
Open a connection to a given LDAP server