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 serverThe server address to connect to
INTEGER portThe server port to connect to. Leave at 0 to use the default port
STRING binddnThe distiguished name to connect as
STRING passwdThe password to connect with
BOOLEAN secureUse a secure (SSL) connection
RECORD optionsReturn value
INTEGERIf >0, the transaction id. <= 0 on error
Description
Open a connection to a given LDAP server