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

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

Completed in 58 milliseconds