Home
last modified time | relevance | path

Searched refs:dxs (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdxbyname.c89 char **dxs; in nsldapi_getdxbyname() local
98 || ( dxs = decode_answer( buf, rc )) == NULL ) { in nsldapi_getdxbyname()
102 if (( dxs = (char **)NSLDAPI_MALLOC( 2 * sizeof( char * ))) == NULL || in nsldapi_getdxbyname()
103 ( dxs[ 0 ] = nsldapi_strdup( domain )) == NULL ) { in nsldapi_getdxbyname()
104 if ( dxs != NULL ) { in nsldapi_getdxbyname()
105 NSLDAPI_FREE( dxs ); in nsldapi_getdxbyname()
107 dxs = NULL; in nsldapi_getdxbyname()
109 dxs[ 1 ] = NULL; in nsldapi_getdxbyname()
113 return( dxs ); in nsldapi_getdxbyname()
121 char buf[ 256 ], **dxs; in decode_answer() local
[all …]
H A Drequest.c1272 char *p, *domain, *host, *server_dn, **dxs; in dn2servers() local
1282 if (( dxs = nsldapi_getdxbyname( domain )) == NULL ) { in dn2servers()
1289 for ( i = 0; dxs[ i ] != NULL; ++i ) { in dn2servers()
1292 if ( strchr( dxs[ i ], ':' ) == NULL ) { in dn2servers()
1293 host = dxs[ i ]; in dn2servers()
1294 } else if ( strlen( dxs[ i ] ) >= 7 && in dn2servers()
1295 strncmp( dxs[ i ], "ldap://", 7 ) == 0 ) { in dn2servers()
1296 host = dxs[ i ] + 7; in dn2servers()
1341 ldap_value_free( dxs ); in dn2servers()