Searched refs:ludp (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Durl.c184 LDAPURLDesc *ludp; local
201 if (( ludp = (LDAPURLDesc *)NSLDAPI_CALLOC( 1, sizeof( LDAPURLDesc )))
207 ludp->lud_options |= LDAP_URL_OPT_SECURE;
212 ldap_free_urldesc( ludp );
221 ludp->lud_scope = -1;
222 ludp->lud_filter = NULL;
225 ludp->lud_string = urlcopy;
228 if (( ludp->lud_dn = strchr( urlcopy, '/' )) == NULL ) {
230 ldap_free_urldesc( ludp );
235 *ludp
408 LDAPURLDesc *ludp; local
[all...]
H A Drequest.c51 int msgid, LDAPURLDesc *ludp, BerElement **berp );
954 LDAPURLDesc *ludp; local
957 ludp = NULLLDAPURLDESC;
959 if ( nsldapi_url_parse( refurl, &ludp, 0 ) != 0 ) {
967 secure = (( ludp->lud_options & LDAP_URL_OPT_SECURE ) != 0 );
986 ludp, &ber )) != LDAP_SUCCESS ) {
998 if (ludp->lud_host == NULL && ld->ld_defhost == NULL) {
1001 if (ludp->lud_host == NULL) {
1009 srv->lsrv_host = nsldapi_strdup(ludp->lud_host);
1032 if (ludp
1107 re_encode_request( LDAP *ld, BerElement *origber, int msgid, LDAPURLDesc *ludp, BerElement **berp ) argument
[all...]
H A Dllib-lldap304 void ldap_free_urldesc( LDAPURLDesc *ludp );
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptest.c274 LDAPURLDesc *ludp; local
799 if (( i = ldap_url_parse( line, &ludp )) != 0 ) {
803 if ( ludp->lud_host == NULL ) {
806 printf( "<%s>\n", ludp->lud_host );
809 if ( ludp->lud_port == 0 ) {
812 printf( "%d\n", ludp->lud_port );
814 printf( "\t dn: <%s>\n", ludp->lud_dn );
816 if ( ludp->lud_attrs == NULL ) {
819 for ( i = 0; ludp->lud_attrs[ i ] != NULL; ++i ) {
820 printf( " <%s>", ludp
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_common.c1344 LDAPURLDesc *ludp = NULL; local
1363 ldap_url_parse_nodn(url, &ludp) != 0) {
1369 if (ludp)
1370 ldap_free_urldesc(ludp);
1377 ldap_free_urldesc(ludp);
1387 if ((ludp->lud_port == 0) && (ludp->lud_host == NULL)) {
1394 ldap_free_urldesc(ludp);
1407 ldap_free_urldesc(ludp);
1413 ldap_free_urldesc(ludp);
[all...]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dldap.c179 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);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_misc.c2289 LDAPURLDesc *ludp = NULL; local
2304 rc = ldap_url_parse_nodn(url, &ludp);
2306 rc = ldap_url_parse(url, &ludp);
2310 ld = ldapssl_init(ludp->lud_host, ludp->lud_port, 1);
2312 ld = ldap_init(ludp->lud_host, ludp->lud_port);
2322 ldap_free_urldesc(ludp);
/illumos-gate/usr/src/head/
H A Dldap.h791 LDAP_API(void) LDAP_CALL ldap_free_urldesc(LDAPURLDesc *ludp);

Completed in 97 milliseconds