Lines Matching defs:opt
43 int ret, opt;
53 opt = LDAP_OPT_X_TLS_HARD;
55 opt = LDAP_OPT_X_TLS_ALLOW;
58 ldap_set_option(conn->conn, LDAP_OPT_X_TLS, &opt);
59 ldap_set_option(conn->conn, LDAP_OPT_X_TLS_REQUIRE_CERT, &opt);
62 opt = LDAP_OPT_X_TLS_PROTOCOL_SSL3;
63 ldap_set_option(conn->conn, LDAP_OPT_X_TLS_PROTOCOL_MIN, &opt);
65 opt = conn->set.timeout_secs;
67 ldap_set_option(conn->conn, LDAP_OPT_TIMEOUT, &opt);
68 ldap_set_option(conn->conn, LDAP_OPT_NETWORK_TIMEOUT, &opt);
70 ldap_set_option(conn->conn, LDAP_OPT_TIMELIMIT, &opt);
82 opt = conn->set.debug;
83 ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, &opt);
85 opt = LDAP_VERSION3;
86 ldap_set_option(conn->conn, LDAP_OPT_PROTOCOL_VERSION, &opt);
91 opt = 0;
92 ldap_set_option(conn->conn, LDAP_OPT_X_TLS_NEWCTX, &opt);