Home
last modified time | relevance | path

Searched refs:nsldapi_strdup (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsetoption.c297 matched = nsldapi_strdup(matched); in ldap_set_option()
298 errstr = nsldapi_strdup(errstr); in ldap_set_option()
304 matched = nsldapi_strdup(matched); in ldap_set_option()
306 nsldapi_strdup((char *)optdata)); in ldap_set_option()
312 errstr = nsldapi_strdup(errstr); in ldap_set_option()
314 nsldapi_strdup((char *)optdata), errstr); in ldap_set_option()
322 ld->ld_preferred_language = nsldapi_strdup((char *)optdata); in ldap_set_option()
329 ld->ld_defhost = nsldapi_strdup((char *)optdata); in ldap_set_option()
349 ld->ld_def_sasl_mech = nsldapi_strdup((char *)optdata); in ldap_set_option()
355 ld->ld_def_sasl_realm = nsldapi_strdup((char *)optdata); in ldap_set_option()
[all …]
H A Dgetoption.c239 *((char **) optdata) = nsldapi_strdup( *((char **) optdata )); in ldap_get_option()
244 *((char **) optdata) = nsldapi_strdup( *((char **) optdata )); in ldap_get_option()
250 nsldapi_strdup(ld->ld_preferred_language); in ldap_get_option()
265 *((char **) optdata) = nsldapi_strdup( ld->ld_defhost ); in ldap_get_option()
275 *((char **) optdata) = nsldapi_strdup(ld->ld_def_sasl_mech); in ldap_get_option()
278 *((char **) optdata) = nsldapi_strdup(ld->ld_def_sasl_realm); in ldap_get_option()
281 *((char **) optdata) = nsldapi_strdup(ld->ld_def_sasl_authcid); in ldap_get_option()
284 *((char **) optdata) = nsldapi_strdup(ld->ld_def_sasl_authzid); in ldap_get_option()
388 if (( aip->ldapai_vendor_name = nsldapi_strdup( LDAP_VENDOR_NAME )) in nsldapi_get_api_info()
404 if (( aip->ldapai_extensions[i] = nsldapi_strdup( in nsldapi_get_api_info()
H A Dgetdn.c79 return( nsldapi_strdup( (char *)dn )); in ldap_dn2ufn()
81 ufn = nsldapi_strdup( ++p ); in ldap_dn2ufn()
167 cpydn = nsldapi_strdup( (char *)dn ); in ldap_explode_dns()
178 rdns[ncomps++] = nsldapi_strdup( s ); in ldap_explode_dns()
H A Dopen.c509 ( ld->ld_defhost = nsldapi_strdup( defhost )) == NULL ) || in ldap_init()
594 nsldapi_strdup( ld->ld_defhost )) == NULL )) { in nsldapi_open_ldap_defconn()
642 *hostp = nsldapi_strdup( "127.0.0.1" ); in ldap_x_hostlist_first()
655 (*statusp)->lhs_hostlist = nsldapi_strdup( hostlist ); in ldap_x_hostlist_first()
706 *hostp = nsldapi_strdup( status->lhs_nexthost ); in ldap_x_hostlist_next()
792 nsldapi_strdup( const char *s ) in nsldapi_strdup() function
H A Dfriendly.c100 (*map)[i].f_unfriendly = nsldapi_strdup( buf ); in ldap_friendly_name()
101 (*map)[i].f_friendly = nsldapi_strdup( s ); in ldap_friendly_name()
H A Dcharray.c157 new[i] = nsldapi_strdup( a[i] ); in ldap_charray_dup()
202 res[i++] = nsldapi_strdup( s ); in ldap_str2charray()
H A Dgetfilter.c136 nextflp->lfl_tag = nsldapi_strdup( tag ); in ldap_init_getfilter_buf()
231 lfdp->lfd_filtprefix = ( prefix == NULL ) ? NULL : nsldapi_strdup( prefix ); in ldap_set_filter_additions()
236 lfdp->lfd_filtsuffix = ( suffix == NULL ) ? NULL : nsldapi_strdup( suffix ); in ldap_set_filter_additions()
284 if (( lfdp->lfd_curvalcopy = nsldapi_strdup( value )) == NULL ) { in ldap_getfirstfilter()
H A Dsasl.c725 return( nsldapi_sasl_cvterrno( ld, saslrc, nsldapi_strdup( sasl_errdetail( ctx ) ) ) ); in nsldapi_sasl_do_bind()
768 NULL, nsldapi_strdup( dgettext(TEXT_DOMAIN, in nsldapi_sasl_do_bind()
800 return( nsldapi_sasl_cvterrno( ld, saslrc, nsldapi_strdup( sasl_errdetail( ctx ) ) ) ); in nsldapi_sasl_do_bind()
809 return( nsldapi_sasl_cvterrno( ld, saslrc, nsldapi_strdup( sasl_errdetail( ctx ) ) ) ); in nsldapi_sasl_do_bind()
923 inp = nsldapi_strdup(in); in nsldapi_sasl_secprops()
H A Dcontrol.c414 if (( ctrl_dst->ldctl_oid = nsldapi_strdup( ctrl_src->ldctl_oid )) in ldap_control_copy_contents()
473 if (( (*ctrlp)->ldctl_oid = nsldapi_strdup( oid )) == NULL ) { in nsldapi_build_control()
H A Drequest.c235 nsldapi_strdup( bindreqdn )) == NULL )) { in nsldapi_send_server_request()
1001 nsldapi_strdup( origreq->lr_conn->lconn_server->lsrv_host ); in chase_one_referral()
1007 srv->lsrv_host = nsldapi_strdup(ludp->lud_host); in chase_one_referral()
1328 if (( srv->lsrv_host = nsldapi_strdup( host )) == NULL in dn2servers()
1330 nsldapi_strdup( server_dn )) == NULL )) { in dn2servers()
H A Ddsparse.c197 return( nsldapi_strdup( tokstart )); in next_token()
H A Dufn.c161 dns[0] = nsldapi_strdup( prefix ); in ldap_ufn_search_ctx()
521 ld->ld_ufnprefix = nsldapi_strdup( prefix ); in ldap_ufn_setprefix()
H A Dgetdxbyname.c101 ( dxs[ 0 ] = nsldapi_strdup( domain )) == NULL ) { in nsldapi_getdxbyname()
H A Durl.c208 if (( urlcopy = nsldapi_strdup( url )) == NULL ) { in nsldapi_url_parse()
439 ( srv->lsrv_host = nsldapi_strdup( host )) == NULL )) { in ldap_url_search()
H A Derror.c520 *matchednp = nsldapi_strdup( m ); in ldap_parse_result()
523 *errmsgp = nsldapi_strdup( e ); in ldap_parse_result()
H A Dsearch.c350 fdup = nsldapi_strdup( filter ); in nsldapi_build_search_req()
680 if (( str = nsldapi_strdup( str )) == NULL ) { in put_simple_filter()
H A Dos-ip.c203 nsldapi_strdup( dgettext(TEXT_DOMAIN, in nsldapi_os_socket()
231 errmsg = nsldapi_strdup( errmsg ); in nsldapi_os_socket()
772 return( nsldapi_strdup( hp->h_name ));
1651 nsldapi_strdup( errmsg ));
H A Ddisptmpl.c411 nsldapi_strdup( includeattrs[ i ] )) == NULL ) { in ldap_tmplattrs()
438 nsldapi_strdup( ticolp->ti_attrname )) == NULL ) { in ldap_tmplattrs()
H A Dgetvalues.c367 *type = nsldapi_strdup( target ); in internal_ldap_get_lang_values()
H A Dmemcache.c309 (*cachep)->ldmemc_basedns[i] = nsldapi_strdup(baseDNs[i]); in ldap_memcache_init()
611 tmpbase = nsldapi_strdup(NSLDAPI_STR_NONNULL(base)); in ldap_memcache_createkey()
1440 pRes->ldmemcr_basedn = (basedn ? nsldapi_strdup(basedn) : NULL);
H A Dldap-int.h679 char *nsldapi_strdup( const char *s ); /* if s is NULL, returns NULL */
H A Dresult.c318 nsldapi_strdup( dgettext(TEXT_DOMAIN,
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-io.c391 char *nsldapi_strdup(char *); in prldap_connect()
442 hostname = nsldapi_strdup(host); in prldap_connect()