[Date Prev][Date Next] [Chronological] [Thread] [Top]

bind timeout



	Hi!

	I'm using openldap 2.0.27 libs, while trying to do a small ldap
client, everything was fine, until I try to set a connection timeout.

(...)
/* get a handle to an LDAP connection */
if ( (ld = ldap_init( HOST, PORT )) == NULL ) {
         perror( "ldap_init" );
         return( 1 );
}

ld->ld_timelimit=30;
(...)

	I get a 'dereferencing pointer to incomplete type' message.

	Shouldn't this be possible? Is there another way to set a 
connection timeout?

	Appreciate some directions,

	Thanks in advance,

-- 
	Paulo Matos
 ----------------------------------- ----------------------------------
|Sys & Net Admin                    | Serviço de Informática           |
|Faculdade de Ciências e Tecnologia | Tel: +351-21-2948596             |
|Universidade Nova de Lisboa        | Fax: +351-21-2948548             |
|P-2829-516 Caparica                | e-Mail: pjsm@fct.unl.pt          |
 ----------------------------------- ----------------------------------