Home
last modified time | relevance | path

Searched refs:ldap_set_option (Results 1 – 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptest.c577 ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, &theInt); in main()
880 ldap_set_option(ld, LDAP_OPT_DEREF, &theInt ); in main()
883 ldap_set_option(ld, LDAP_OPT_TIMELIMIT, &theInt); in main()
886 ldap_set_option(ld, LDAP_OPT_SIZELIMIT, &theInt); in main()
924 ldap_set_option( ld, LDAP_OPT_REBIND_FN, bind_prompt ); in main()
929 ldap_set_option(ld, LDAP_OPT_REFERRALS, &theInt); in main()
938 ldap_set_option(ld, LDAP_OPT_SERVER_CONTROLS, NULL); in main()
944 ldap_set_option(ld, LDAP_OPT_SERVER_CONTROLS, ctrls); in main()
954 ldap_set_option(ld, LDAP_OPT_SERVER_CONTROLS, ctrls); in main()
962 ldap_set_option(ld, LDAP_OPT_SERVER_CONTROLS, ctrls); in main()
H A Dcommon.c324 ldap_set_option( NULL, LDAP_OPT_MEMALLOC_FN_PTRS, &mafns );
330 ldap_set_option( NULL, LDAP_OPT_DEBUG_LEVEL, (void *) &i);
435 ldap_set_option(NULL, LBER_OPT_DEBUG_LEVEL,
442 ldap_set_option( NULL, LDAP_OPT_DEBUG_LEVEL,
1146 (void) ldap_set_option( ld, LDAP_OPT_CACHE_ENABLE, &opt );
1148 (void) ldap_set_option( ld, LDAP_OPT_CACHE_STRATEGY, &opt );
1156 ldap_set_option( ld, LDAP_OPT_REFERRALS, chase_referrals ? LDAP_OPT_ON:
1160 ldap_set_option( ld, LDAP_OPT_REFERRAL_HOP_LIMIT, &refhoplim );
1166 ldap_set_option( ld, LDAP_OPT_PROTOCOL_VERSION, &ldversion );
1232 rc = ldap_set_option( ld, LDAP_OPT_X_SASL_SECPROPS,
[all …]
H A Dldapdelete.c105 ldap_set_option( ld, LDAP_OPT_DEREF, &deref ); in main()
H A Dldapmodrdn.c116 ldap_set_option( ld, LDAP_OPT_DEREF, &deref ); in main()
H A Dldapsearch.c270 ldap_set_option( ld, LDAP_OPT_DEREF, &deref ); in main()
271 ldap_set_option( ld, LDAP_OPT_TIMELIMIT, &timelimit ); in main()
272 ldap_set_option( ld, LDAP_OPT_SIZELIMIT, &sizelimit ); in main()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dldap.c1377 ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION,
1380 ldap_set_option(ld, LDAP_OPT_DEREF, &lmap->ldap_deref);
1382 ldap_set_option(ld, LDAP_OPT_REFERRALS, LDAP_OPT_ON);
1384 ldap_set_option(ld, LDAP_OPT_REFERRALS, LDAP_OPT_OFF);
1385 ldap_set_option(ld, LDAP_OPT_SIZELIMIT, &lmap->ldap_sizelimit);
1386 ldap_set_option(ld, LDAP_OPT_TIMELIMIT, &lmap->ldap_timelimit);
1394 ldap_set_option(ld, LDAP_OPT_NETWORK_TIMEOUT, &tmo);
1398 ldap_set_option(ld, LDAP_OPT_RESTART, LDAP_OPT_ON);
/illumos-gate/usr/src/lib/libadutils/common/
H A Dadutils_threadfuncs.c97 rc = ldap_set_option(ld, LDAP_OPT_THREAD_FN_PTRS, in adutils_set_thread_functions()
105 rc = ldap_set_option(ld, LDAP_OPT_EXTRA_THREAD_FN_PTRS, in adutils_set_thread_functions()
H A Dadutils.c614 (void) ldap_set_option(adh->ld, LDAP_OPT_PROTOCOL_VERSION, &ldversion); in open_conn()
615 (void) ldap_set_option(adh->ld, LDAP_OPT_REFERRALS, LDAP_OPT_OFF); in open_conn()
616 (void) ldap_set_option(adh->ld, LDAP_OPT_TIMELIMIT, &zero); in open_conn()
617 (void) ldap_set_option(adh->ld, LDAP_OPT_SIZELIMIT, &zero); in open_conn()
618 (void) ldap_set_option(adh->ld, LDAP_X_OPT_CONNECT_TIMEOUT, &timeoutms); in open_conn()
619 (void) ldap_set_option(adh->ld, LDAP_OPT_RESTART, LDAP_OPT_ON); in open_conn()
H A Daddisc.c673 (void) ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, in ldap_lookup_init()
675 (void) ldap_set_option(ld, LDAP_OPT_REFERRALS, in ldap_lookup_init()
677 (void) ldap_set_option(ld, LDAP_OPT_TIMELIMIT, &zero); in ldap_lookup_init()
678 (void) ldap_set_option(ld, LDAP_OPT_SIZELIMIT, &zero); in ldap_lookup_init()
680 (void) ldap_set_option(ld, LDAP_X_OPT_CONNECT_TIMEOUT, in ldap_lookup_init()
682 (void) ldap_set_option(ld, LDAP_OPT_RESTART, in ldap_lookup_init()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_ldap_conn.c286 ldap_set_option(NULL, LDAP_OPT_PROTOCOL_VERSION, &version); in krb5_ldap_db_init()
288 ldap_set_option(NULL, LDAP_OPT_NETWORK_TIMEOUT, &local_timelimit); in krb5_ldap_db_init()
290 ldap_set_option(NULL, LDAP_X_OPT_CONNECT_TIMEOUT, &local_timelimit); in krb5_ldap_db_init()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dldapsinit.c214 if ( ldapssl_install_routines( ld ) < 0 || ldap_set_option( ld, in ldapssl_init()
565 if ( ldap_set_option( ld, LDAP_X_OPT_EXTIO_FN_PTRS, (void *)&iofns ) < 0 ) { in ldapssl_install_routines()
688 if ( ldap_set_option( ld, LDAP_X_OPT_EXTIO_FN_PTRS, (void *)&iofns ) in ldapssl_enable_clientauth()
1072 if ( ldap_set_option( ld, LDAP_X_OPT_EXTIO_FN_PTRS, (void *)&iofns ) in ldapssl_reset_to_nonsecure()
1086 if ( ldap_set_option( ld, LDAP_OPT_SSL, LDAP_OPT_OFF ) < 0 ) { in ldapssl_reset_to_nonsecure()
1310 if (ldap_set_option(ld, LDAP_OPT_DNS_FN_PTRS, &dns_fns) != 0) in ldapssl_install_gethostbyaddr()
H A Dclientinit.c760 ldap_set_option( ld, LDAP_OPT_PROTOCOL_VERSION, &version ); in ldapssl_tls_start()
810 if ( ldap_set_option( ld, LDAP_OPT_SSL, in ldapssl_enableSSL_on_open_connection()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-threads.c207 if ( ldap_set_option( ld, LDAP_OPT_THREAD_FN_PTRS, in prldap_install_thread_functions()
218 if ( ldap_set_option( ld, LDAP_OPT_EXTRA_THREAD_FN_PTRS, in prldap_install_thread_functions()
360 || ldap_set_option( ld, LDAP_OPT_THREAD_FN_PTRS, in prldap_thread_new_handle()
H A Dldappr-dns.c85 if ( ldap_set_option( ld, LDAP_OPT_DNS_FN_PTRS, (void *)&dnsfns ) != 0 ) { in prldap_install_dns_functions()
270 if (ldap_set_option(ld, LDAP_OPT_DNS_FN_PTRS, &dns_fns) != 0) in prldap_x_install_dns_skipdb()
H A Dldappr-io.c132 if ( ldap_set_option( ld, LDAP_X_OPT_EXTIO_FN_PTRS, &iofns ) != 0 ) { in prldap_install_io_functions()
505 if ( ldap_set_option( ld, LDAP_X_OPT_EXTIO_FN_PTRS, in prldap_newhandle()
/illumos-gate/usr/src/cmd/idmap/idmap/
H A Dnamemaps.c207 (void) ldap_set_option(adh->ad, LDAP_OPT_PROTOCOL_VERSION, &ldversion); in idmap_open_ad_conn()
208 (void) ldap_set_option(adh->ad, LDAP_OPT_REFERRALS, LDAP_OPT_OFF); in idmap_open_ad_conn()
209 (void) ldap_set_option(adh->ad, LDAP_OPT_TIMELIMIT, &zero); in idmap_open_ad_conn()
210 (void) ldap_set_option(adh->ad, LDAP_OPT_SIZELIMIT, &zero); in idmap_open_ad_conn()
211 (void) ldap_set_option(adh->ad, LDAP_X_OPT_CONNECT_TIMEOUT, &timeoutms); in idmap_open_ad_conn()
212 (void) ldap_set_option(adh->ad, LDAP_OPT_RESTART, LDAP_OPT_ON); in idmap_open_ad_conn()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connect.c1409 (void) ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, &ldapVersion); in openConnection()
1410 (void) ldap_set_option(ld, LDAP_OPT_DEREF, &derefOption); in openConnection()
1429 (void) ldap_set_option(ld, LDAP_OPT_REFERRALS, LDAP_OPT_ON); in openConnection()
1431 (void) ldap_set_option(ld, LDAP_OPT_REFERRALS, LDAP_OPT_OFF); in openConnection()
1433 (void) ldap_set_option(ld, LDAP_OPT_TIMELIMIT, &zero); in openConnection()
1434 (void) ldap_set_option(ld, LDAP_OPT_SIZELIMIT, &zero); in openConnection()
1436 (void) ldap_set_option(ld, LDAP_X_OPT_CONNECT_TIMEOUT, in openConnection()
1439 (void) ldap_set_option(ld, LDAP_OPT_RESTART, LDAP_OPT_ON); in openConnection()
1454 (void) ldap_set_option(ld, LDAP_OPT_REFERRALS, LDAP_OPT_OFF); in openConnection()
2575 (void) ldap_set_option(ld, LDAP_OPT_X_SASL_SSF_MIN, in doSASLBind()
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_conf.c839 (void) ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, in connect_to_ldap_config_server()
841 (void) ldap_set_option(ld, LDAP_OPT_DEREF, &derefOption); in connect_to_ldap_config_server()
842 (void) ldap_set_option(ld, LDAP_OPT_REFERRALS, LDAP_OPT_OFF); in connect_to_ldap_config_server()
843 (void) ldap_set_option(ld, LDAP_OPT_TIMELIMIT, &timelimit); in connect_to_ldap_config_server()
844 (void) ldap_set_option(ld, LDAP_OPT_SIZELIMIT, &sizelimit); in connect_to_ldap_config_server()
H A Dldap_op.c530 (void) ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, in ldapInit()
532 (void) ldap_set_option(ld, LDAP_OPT_DEREF, &derefOption); in ldapInit()
533 (void) ldap_set_option(ld, LDAP_OPT_REFERRALS, LDAP_OPT_OFF); in ldapInit()
534 (void) ldap_set_option(ld, LDAP_OPT_TIMELIMIT, &timelimit); in ldapInit()
535 (void) ldap_set_option(ld, LDAP_OPT_SIZELIMIT, &sizelimit); in ldapInit()
536 (void) ldap_set_option(ld, LDAP_OPT_REBIND_ARG, 0); in ldapInit()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dopen.c354 if (ldap_set_option( NULL, LDAP_OPT_THREAD_FN_PTRS, in nsldapi_initialize_defaults()
361 if (ldap_set_option( NULL, LDAP_OPT_EXTRA_THREAD_FN_PTRS, in nsldapi_initialize_defaults()
H A Dsetoption.c49 ldap_set_option(LDAP *ld, int option, const void *optdata) in ldap_set_option() function
H A Dsasl.c389 ldap_set_option( ld, LDAP_X_OPT_EXTIO_FN_PTRS, &ld->ld_sasl_io_fns ); in nsldapi_sasl_close_socket()
491 rc = ldap_set_option( ld, LDAP_X_OPT_EXTIO_FN_PTRS, in nsldapi_sasl_install()
/illumos-gate/usr/src/lib/libldap5/
H A Dmapfile-vers196 ldap_set_option;
/illumos-gate/usr/src/man/man3ldap/
H A DMakefile186 ldap_set_option.3ldap \
328 ldap_set_option.3ldap := LINKSRC = ldap_get_option.3ldap
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dnss_ldap.c460 (void) ldap_set_option(*ld, LDAP_OPT_DEREF, in _connectToLDAP()
462 (void) ldap_set_option(*ld, LDAP_OPT_PROTOCOL_VERSION, in _connectToLDAP()
464 (void) ldap_set_option(*ld, LDAP_OPT_REFERRALS, in _connectToLDAP()

12