Searched refs:ludp (Results 1 – 8 of 8) sorted by relevance
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | url.c | 184 LDAPURLDesc *ludp; in nsldapi_url_parse() local 201 if (( ludp = (LDAPURLDesc *)NSLDAPI_CALLOC( 1, sizeof( LDAPURLDesc ))) in nsldapi_url_parse() 207 ludp->lud_options |= LDAP_URL_OPT_SECURE; in nsldapi_url_parse() 212 ldap_free_urldesc( ludp ); in nsldapi_url_parse() 221 ludp->lud_scope = -1; in nsldapi_url_parse() 222 ludp->lud_filter = NULL; in nsldapi_url_parse() 225 ludp->lud_string = urlcopy; in nsldapi_url_parse() 228 if (( ludp->lud_dn = strchr( urlcopy, '/' )) == NULL ) { in nsldapi_url_parse() 230 ldap_free_urldesc( ludp ); in nsldapi_url_parse() 235 *ludp->lud_dn++ = '\0'; in nsldapi_url_parse() [all …]
|
H A D | request.c | 51 int msgid, LDAPURLDesc *ludp, BerElement **berp ); 954 LDAPURLDesc *ludp; in chase_one_referral() local 957 ludp = NULLLDAPURLDESC; in chase_one_referral() 959 if ( nsldapi_url_parse( refurl, &ludp, 0 ) != 0 ) { in chase_one_referral() 967 secure = (( ludp->lud_options & LDAP_URL_OPT_SECURE ) != 0 ); in chase_one_referral() 986 ludp, &ber )) != LDAP_SUCCESS ) { in chase_one_referral() 998 if (ludp->lud_host == NULL && ld->ld_defhost == NULL) { in chase_one_referral() 1001 if (ludp->lud_host == NULL) { in chase_one_referral() 1009 srv->lsrv_host = nsldapi_strdup(ludp->lud_host); in chase_one_referral() 1032 if (ludp->lud_port == 0 && ludp->lud_host == NULL) { in chase_one_referral() [all …]
|
H A D | llib-lldap | 304 void ldap_free_urldesc( LDAPURLDesc *ludp );
|
/titanic_41/usr/src/lib/libsldap/common/ |
H A D | ns_common.c | 1344 LDAPURLDesc *ludp = NULL; in __s_api_addRefInfo() local 1363 ldap_url_parse_nodn(url, &ludp) != 0) { in __s_api_addRefInfo() 1369 if (ludp) in __s_api_addRefInfo() 1370 ldap_free_urldesc(ludp); in __s_api_addRefInfo() 1377 ldap_free_urldesc(ludp); in __s_api_addRefInfo() 1387 if ((ludp->lud_port == 0) && (ludp->lud_host == NULL)) { in __s_api_addRefInfo() 1394 ldap_free_urldesc(ludp); in __s_api_addRefInfo() 1407 ldap_free_urldesc(ludp); in __s_api_addRefInfo() 1413 ldap_free_urldesc(ludp); in __s_api_addRefInfo() 1426 hostlen = strlen(ludp->lud_host) + in __s_api_addRefInfo() [all …]
|
/titanic_41/usr/src/cmd/ldap/common/ |
H A D | ldaptest.c | 274 LDAPURLDesc *ludp; in main() local 799 if (( i = ldap_url_parse( line, &ludp )) != 0 ) { in main() 803 if ( ludp->lud_host == NULL ) { in main() 806 printf( "<%s>\n", ludp->lud_host ); in main() 809 if ( ludp->lud_port == 0 ) { in main() 812 printf( "%d\n", ludp->lud_port ); in main() 814 printf( "\t dn: <%s>\n", ludp->lud_dn ); in main() 816 if ( ludp->lud_attrs == NULL ) { in main() 819 for ( i = 0; ludp->lud_attrs[ i ] != NULL; ++i ) { in main() 820 printf( " <%s>", ludp->lud_attrs[ i ] ); in main() [all …]
|
/titanic_41/usr/src/cmd/sendmail/libsm/ |
H A D | ldap.c | 179 LDAPURLDesc *ludp = NULL; 182 err = ldap_url_parse(lmap->ldap_uri, &ludp); 188 lmap->ldap_host = sm_strdup_x(ludp->lud_host); 192 ldap_free_urldesc(ludp); 196 lmap->ldap_port = ludp->lud_port; 197 ldap_free_urldesc(ludp);
|
/titanic_41/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_misc.c | 2289 LDAPURLDesc *ludp = NULL; in ldap_initialize() local 2304 rc = ldap_url_parse_nodn(url, &ludp); in ldap_initialize() 2306 rc = ldap_url_parse(url, &ludp); in ldap_initialize() 2310 ld = ldapssl_init(ludp->lud_host, ludp->lud_port, 1); in ldap_initialize() 2312 ld = ldap_init(ludp->lud_host, ludp->lud_port); in ldap_initialize() 2322 ldap_free_urldesc(ludp); in ldap_initialize()
|
/titanic_41/usr/src/head/ |
H A D | ldap.h | 791 LDAP_API(void) LDAP_CALL ldap_free_urldesc(LDAPURLDesc *ludp);
|