mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 01:59:38 -05:00
More LDAP_PORT depends.
This commit is contained in:
parent
ff559f551a
commit
40cb8d54c8
2 changed files with 3 additions and 3 deletions
|
|
@ -383,7 +383,7 @@ start_ldap_search(
|
|||
fflush( stdout );
|
||||
}
|
||||
|
||||
if ( (ld = ldap_open( ldaphost, LDAP_PORT )) == NULL ) {
|
||||
if ( (ld = ldap_open( ldaphost, 0 )) == NULL ) {
|
||||
perror( "ldap_open" );
|
||||
return( NULL );
|
||||
}
|
||||
|
|
@ -960,7 +960,7 @@ bind_to_destination_ldap(
|
|||
free( ldapbase );
|
||||
ldapbase = strdup( buf );
|
||||
|
||||
if ( (ld = ldap_open( ldaphost, LDAP_PORT )) == NULL ) {
|
||||
if ( (ld = ldap_open( ldaphost, 0 )) == NULL ) {
|
||||
perror( "ldap_open" );
|
||||
return( NULL );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ main( int argc, char **argv )
|
|||
ldap_debug = 255;
|
||||
lber_debug = 255;
|
||||
*/
|
||||
if ( (ld = ldap_open( "vertigo:5555", LDAP_PORT )) == NULL ) {
|
||||
if ( (ld = ldap_open( "vertigo:5555", 0 )) == NULL ) {
|
||||
perror( "ldap_open" );
|
||||
exit( 1 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue