Home
last modified time | relevance | path

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

12

/titanic_44/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.c323 ldap_set_option( NULL, LDAP_OPT_MEMALLOC_FN_PTRS, &mafns );
329 ldap_set_option( NULL, LDAP_OPT_DEBUG_LEVEL, (void *) &i);
434 ldap_set_option(NULL, LBER_OPT_DEBUG_LEVEL,
441 ldap_set_option( NULL, LDAP_OPT_DEBUG_LEVEL,
1145 (void) ldap_set_option( ld, LDAP_OPT_CACHE_ENABLE, &opt );
1147 (void) ldap_set_option( ld, LDAP_OPT_CACHE_STRATEGY, &opt );
1155 ldap_set_option( ld, LDAP_OPT_REFERRALS, chase_referrals ? LDAP_OPT_ON:
1159 ldap_set_option( ld, LDAP_OPT_REFERRAL_HOP_LIMIT, &refhoplim );
1165 ldap_set_option( ld, LDAP_OPT_PROTOCOL_VERSION, &ldversion );
1231 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.c118 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()
/titanic_44/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);
/titanic_44/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.c613 (void) ldap_set_option(adh->ld, LDAP_OPT_PROTOCOL_VERSION, &ldversion); in open_conn()
614 (void) ldap_set_option(adh->ld, LDAP_OPT_REFERRALS, LDAP_OPT_OFF); in open_conn()
615 (void) ldap_set_option(adh->ld, LDAP_OPT_TIMELIMIT, &zero); in open_conn()
616 (void) ldap_set_option(adh->ld, LDAP_OPT_SIZELIMIT, &zero); in open_conn()
617 (void) ldap_set_option(adh->ld, LDAP_X_OPT_CONNECT_TIMEOUT, &timeoutms); in open_conn()
618 (void) ldap_set_option(adh->ld, LDAP_OPT_RESTART, LDAP_OPT_ON); in open_conn()
H A Daddisc.c859 (void) ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, in ldap_lookup_init()
861 (void) ldap_set_option(ld, LDAP_OPT_REFERRALS, in ldap_lookup_init()
863 (void) ldap_set_option(ld, LDAP_OPT_TIMELIMIT, &zero); in ldap_lookup_init()
864 (void) ldap_set_option(ld, LDAP_OPT_SIZELIMIT, &zero); in ldap_lookup_init()
866 (void) ldap_set_option(ld, LDAP_X_OPT_CONNECT_TIMEOUT, in ldap_lookup_init()
868 (void) ldap_set_option(ld, LDAP_OPT_RESTART, in ldap_lookup_init()
/titanic_44/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()
/titanic_44/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-threads.c210 if ( ldap_set_option( ld, LDAP_OPT_THREAD_FN_PTRS, in prldap_install_thread_functions()
221 if ( ldap_set_option( ld, LDAP_OPT_EXTRA_THREAD_FN_PTRS, in prldap_install_thread_functions()
363 || ldap_set_option( ld, LDAP_OPT_THREAD_FN_PTRS, in prldap_thread_new_handle()
H A Dldappr-dns.c88 if ( ldap_set_option( ld, LDAP_OPT_DNS_FN_PTRS, (void *)&dnsfns ) != 0 ) { in prldap_install_dns_functions()
273 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()
/titanic_44/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dldapsinit.c216 if ( ldapssl_install_routines( ld ) < 0 || ldap_set_option( ld, in ldapssl_init()
567 if ( ldap_set_option( ld, LDAP_X_OPT_EXTIO_FN_PTRS, (void *)&iofns ) < 0 ) { in ldapssl_install_routines()
690 if ( ldap_set_option( ld, LDAP_X_OPT_EXTIO_FN_PTRS, (void *)&iofns ) in ldapssl_enable_clientauth()
1074 if ( ldap_set_option( ld, LDAP_X_OPT_EXTIO_FN_PTRS, (void *)&iofns ) in ldapssl_reset_to_nonsecure()
1088 if ( ldap_set_option( ld, LDAP_OPT_SSL, LDAP_OPT_OFF ) < 0 ) { in ldapssl_reset_to_nonsecure()
1312 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()
/titanic_44/usr/src/cmd/idmap/idmap/
H A Dnamemaps.c206 (void) ldap_set_option(adh->ad, LDAP_OPT_PROTOCOL_VERSION, &ldversion); in idmap_open_ad_conn()
207 (void) ldap_set_option(adh->ad, LDAP_OPT_REFERRALS, LDAP_OPT_OFF); in idmap_open_ad_conn()
208 (void) ldap_set_option(adh->ad, LDAP_OPT_TIMELIMIT, &zero); in idmap_open_ad_conn()
209 (void) ldap_set_option(adh->ad, LDAP_OPT_SIZELIMIT, &zero); in idmap_open_ad_conn()
210 (void) ldap_set_option(adh->ad, LDAP_X_OPT_CONNECT_TIMEOUT, &timeoutms); in idmap_open_ad_conn()
211 (void) ldap_set_option(adh->ad, LDAP_OPT_RESTART, LDAP_OPT_ON); in idmap_open_ad_conn()
/titanic_44/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 …]
/titanic_44/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.c51 ldap_set_option(LDAP *ld, int option, const void *optdata) in ldap_set_option() function
/titanic_44/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_conf.c844 (void) ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, in connect_to_ldap_config_server()
846 (void) ldap_set_option(ld, LDAP_OPT_DEREF, &derefOption); in connect_to_ldap_config_server()
847 (void) ldap_set_option(ld, LDAP_OPT_REFERRALS, LDAP_OPT_OFF); in connect_to_ldap_config_server()
848 (void) ldap_set_option(ld, LDAP_OPT_TIMELIMIT, &timelimit); in connect_to_ldap_config_server()
849 (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()
/titanic_44/usr/src/lib/libldap5/
H A Dmapfile-vers195 ldap_set_option;
/titanic_44/usr/src/man/man3ldap/
H A DMakefile186 ldap_set_option.3ldap \
328 ldap_set_option.3ldap := LINKSRC = ldap_get_option.3ldap
/titanic_44/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_ads.c339 (void) ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, &ldversion); in smb_ads_ldap_ping()
341 (void) ldap_set_option(ld, LDAP_X_OPT_CONNECT_TIMEOUT, &timeoutms); in smb_ads_ldap_ping()
1154 if (ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, &version) in smb_ads_open_main()
1163 (void) ldap_set_option(ld, LDAP_OPT_REFERRALS, LDAP_OPT_OFF); in smb_ads_open_main()
/titanic_44/usr/src/lib/print/libprint/common/
H A Dnss_ldap.c462 (void) ldap_set_option(*ld, LDAP_OPT_DEREF, in _connectToLDAP()
464 (void) ldap_set_option(*ld, LDAP_OPT_PROTOCOL_VERSION, in _connectToLDAP()
466 (void) ldap_set_option(*ld, LDAP_OPT_REFERRALS, in _connectToLDAP()

12