LDAP.bind_s

LDAP synchronous bind

struct LDAP
int
bind_s
(
string who
,
string cred
,)

Parameters

who string

string, DN to bind

cred string

string, credentials (password in case of LDAP_AUTH_SIPLE)

Return Value

Type: int

0 if case of success, LDAP error otherwise

Meta