Home
last modified time | relevance | path

Searched refs:connresult (Results 1 – 4 of 4) sorted by relevance

/dports/www/moodle310/moodle/lib/
H A Dldaplib.php196 $connresult = ldap_connect($server); // ldap_connect returns ALWAYS true
199 ldap_set_option($connresult, LDAP_OPT_PROTOCOL_VERSION, $ldap_version);
204 ldap_set_option($connresult, LDAP_OPT_REFERRALS, 0);
208 ldap_set_option($connresult, LDAP_OPT_DEREF, $opt_deref);
211 if ($start_tls && (!ldap_start_tls($connresult))) {
212 $debuginfo .= "Server: '$server', Connection: '$connresult', STARTTLS failed.\n";
217 $bindresult = @ldap_bind($connresult, $bind_dn, $bind_pw);
220 $bindresult = @ldap_bind($connresult);
224 return $connresult;
227 $debuginfo .= "Server: '$server', Connection: '$connresult', Bind result: '$bindresult'\n";
/dports/www/moodle311/moodle/lib/
H A Dldaplib.php196 $connresult = ldap_connect($server); // ldap_connect returns ALWAYS true
199 ldap_set_option($connresult, LDAP_OPT_PROTOCOL_VERSION, $ldap_version);
204 ldap_set_option($connresult, LDAP_OPT_REFERRALS, 0);
208 ldap_set_option($connresult, LDAP_OPT_DEREF, $opt_deref);
211 if ($start_tls && (!ldap_start_tls($connresult))) {
212 $debuginfo .= "Server: '$server', Connection: '$connresult', STARTTLS failed.\n";
217 $bindresult = @ldap_bind($connresult, $bind_dn, $bind_pw);
220 $bindresult = @ldap_bind($connresult);
224 return $connresult;
227 $debuginfo .= "Server: '$server', Connection: '$connresult', Bind result: '$bindresult'\n";
/dports/www/moodle39/moodle/lib/
H A Dldaplib.php196 $connresult = ldap_connect($server); // ldap_connect returns ALWAYS true
199 ldap_set_option($connresult, LDAP_OPT_PROTOCOL_VERSION, $ldap_version);
204 ldap_set_option($connresult, LDAP_OPT_REFERRALS, 0);
208 ldap_set_option($connresult, LDAP_OPT_DEREF, $opt_deref);
211 if ($start_tls && (!ldap_start_tls($connresult))) {
212 $debuginfo .= "Server: '$server', Connection: '$connresult', STARTTLS failed.\n";
217 $bindresult = @ldap_bind($connresult, $bind_dn, $bind_pw);
220 $bindresult = @ldap_bind($connresult);
224 return $connresult;
227 $debuginfo .= "Server: '$server', Connection: '$connresult', Bind result: '$bindresult'\n";
/dports/databases/timescaledb/timescaledb-2.5.1/tsl/src/remote/
H A Dconnection.c1738 volatile TSConnectionResult connresult = CONN_OK; in remote_connection_drain() local
1760 connresult = CONN_TIMEOUT; in remote_connection_drain()
1784 connresult = CONN_DISCONNECT; in remote_connection_drain()
1795 connresult = CONN_OK; in remote_connection_drain()
1811 switch (connresult) in remote_connection_drain()
1815 connresult = CONN_NO_RESPONSE; in remote_connection_drain()
1830 return connresult; in remote_connection_drain()