From 40cb8d54c888a3924707515eab21d23df16ab501 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 30 Nov 1998 04:04:00 +0000 Subject: [PATCH] More LDAP_PORT depends. --- servers/slapd/tools/centipede.c | 4 ++-- servers/slapd/tools/sizecount.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/servers/slapd/tools/centipede.c b/servers/slapd/tools/centipede.c index 8792fb58ad..5cc275f8b1 100644 --- a/servers/slapd/tools/centipede.c +++ b/servers/slapd/tools/centipede.c @@ -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 ); } diff --git a/servers/slapd/tools/sizecount.c b/servers/slapd/tools/sizecount.c index 535243f330..c88ff565c5 100644 --- a/servers/slapd/tools/sizecount.c +++ b/servers/slapd/tools/sizecount.c @@ -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 ); } -- 2.39.5