Skip to content
Snippets Groups Projects
Commit 40cb8d54 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

More LDAP_PORT depends.

parent ff559f55
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment