Searched defs:ludp (Results 1 - 7 of 7) sorted by relevance

/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_misc_solaris.c29 LDAPURLDesc *ludp = NULL; local
44 rc = ldap_url_parse_nodn(url, &ludp);
46 rc = ldap_url_parse(url, &ludp);
50 ld = ldapssl_init(ludp->lud_host, ludp->lud_port, 1);
52 ld = ldap_init(ludp->lud_host, ludp->lud_port);
62 ldap_free_urldesc(ludp);
/osnet-11/usr/src/lib/libldap4/common/
H A Dreferral.c106 LDAPURLDesc *ludp; local
149 if (ldap_url_parse(refs[i], &ludp) != 0){
158 if (( ber = re_encode_request( ld, origreq->lr_ber, ++ld->ld_msgid, ludp )) == NULL ) {
160 ldap_free_urldesc(ludp);
168 ldap_free_urldesc(ludp);
177 if (( srv->lsrv_host = strdup( ludp->lud_host ? ludp->lud_host : ld->ld_defhost)) == NULL ) {
178 ldap_free_urldesc(ludp);
188 srv->lsrv_port = ludp->lud_port ? ludp
[all...]
H A Durl.c180 LDAPURLDesc *ludp; local
196 if (( ludp = (LDAPURLDesc *)calloc( 1, sizeof( LDAPURLDesc )))
201 ludp->lud_port = LDAP_PORT;
205 ldap_free_urldesc( ludp );
215 ludp->lud_scope = LDAP_SCOPE_UNKNOWN;
216 ludp->lud_filter = NULL;
220 ludp->lud_string = url;
223 if (( ludp->lud_dn = strchr( url, '/' )) != NULL ) {
224 *ludp->lud_dn++ = '\0';
231 ludp
363 LDAPURLDesc *ludp; local
[all...]
/osnet-11/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...]
/osnet-11/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...]
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_common.c1425 LDAPURLDesc *ludp = NULL; local
1451 ldap_url_parse_nodn(urls[i], &ludp) != 0) {
1457 if (ludp) {
1458 ldap_free_urldesc(ludp);
1459 ludp = NULL;
1474 if ((ludp->lud_port == 0) && (ludp->lud_host == NULL)) {
1481 ldap_free_urldesc(ludp);
1482 ludp = NULL;
1498 ldap_free_urldesc(ludp);
[all...]

Completed in 44 milliseconds