1N/A * the License at http://www.mozilla.org/NPL/
1N/A * setoption.c - ldap_set_option implementation
1N/A#include "ldap-int.h"
1N/A#ifdef _SOLARIS_SDK
1N/A#include "solaris-priv.h"
1N/A if (!nsldapi_initialized) {
1N/A &memalloc_fns) != 0) {
1N/A#ifdef LDAP_DEBUG
1N/A#ifdef LDAP_DEBUG
1N/A ldap_debug = 0;
1N/A case LDAP_OPT_DNS:
1N/A case LDAP_OPT_REFERRALS:
1N/A#ifdef LDAP_SSLIO_HOOKS
1N/A case LDAP_OPT_SSL:
1N/A case LDAP_OPT_RESTART:
1N/A case LDAP_OPT_RECONNECT:
1N/A#ifdef LDAP_ASYNC_IO
1N/A case LDAP_OPT_ASYNC_CONNECT:
1N/A case LDAP_OPT_DEREF:
1N/A case LDAP_OPT_SIZELIMIT:
1N/A case LDAP_OPT_TIMELIMIT:
1N/A case LDAP_OPT_SERVER_CONTROLS:
1N/A case LDAP_OPT_CLIENT_CONTROLS:
1N/A case LDAP_OPT_REBIND_FN:
1N/A case LDAP_OPT_REBIND_ARG:
1N/A#ifdef LDAP_SSLIO_HOOKS
1N/A case LDAP_OPT_IO_FN_PTRS:
1N/A case LDAP_X_OPT_EXTIO_FN_PTRS:
1N/A return (LDAP_LOCAL_ERROR);
1N/A != LDAP_SUCCESS) {
1N/A case LDAP_OPT_THREAD_FN_PTRS:
1N/A for (i = 0; i < LDAP_MAX_LOCK; i++) {
1N/A case LDAP_OPT_DNS_FN_PTRS:
1N/A case LDAP_OPT_CACHE_FN_PTRS:
1N/A case LDAP_OPT_CACHE_STRATEGY:
1N/A case LDAP_OPT_CACHE_ENABLE:
1N/A case LDAP_OPT_ERROR_NUMBER:
1N/A case LDAP_OPT_ERROR_STRING:
1N/A case LDAP_OPT_MATCHED_DN:
1N/A case LDAP_OPT_HOST_NAME:
1N/A#ifdef _SOLARIS_SDK
1N/A case LDAP_X_OPT_DNS_SKIPDB:
1N/A#ifdef LDAP_SASLIO_HOOKS
1N/A case LDAP_OPT_X_SASL_MECH:
1N/A case LDAP_OPT_X_SASL_REALM:
1N/A case LDAP_OPT_X_SASL_AUTHCID:
1N/A case LDAP_OPT_X_SASL_AUTHZID:
1N/A case LDAP_OPT_X_SASL_SECPROPS:
1N/A case LDAP_OPT_X_SASL_SSF_MIN:
1N/A case LDAP_OPT_X_SASL_SSF_MAX: