LDAP_PORT
fprintf( stderr, gettext(" -p port\tLDAP server1 TCP port number (default: %d)\n"), LDAP_PORT );
fprintf( stderr, gettext(" -p port\tLDAP server2 TCP port number (default: %d)\n"), LDAP_PORT );
fprintf( stderr, gettext(" -p port\tLDAP server TCP port number (default: %d)\n"), LDAP_PORT );
int ldaptool_port = LDAP_PORT;
int ldaptool_port2 = LDAP_PORT;
replicaport = LDAP_PORT;
port = LDAP_PORT;
lmap->ldap_port = LDAP_PORT;
addr6.sin6_port = htons(LDAP_PORT);
ld->ld_defport = ( defport == 0 ) ? LDAP_PORT : defport;
srv->lsrv_port = (secure) ? LDAPS_PORT : LDAP_PORT;
port = LDAP_PORT;
srv->lsrv_port = LDAP_PORT;
port = proxyInfo.tls_method == ssl_tls ? LDAPS_PORT : LDAP_PORT;
port = useSSL ? LDAPS_PORT : LDAP_PORT;
int ldapPort = LDAP_PORT; /* default LDAP port number */