Subject | RE: [IBDI] Interbase reject... |
---|---|
Author | Leyne, Sean |
Post date | 2000-12-28T18:05:32Z |
Marco,
This is not a support list for Interbase/Firebird, please report this message at the MERS support list (www.mers.com).
Also, please do not post using HTML – plain text only.
Sean
-----Original
Message-----
From: Marco Süß
[mailto:ms@...]
Sent: Thursday, December 28, 2000
12:49 PM
To: IBDI@egroups.com
Subject: [IBDI] Interbase
reject...
Hello,
by programming with interbase superserver api (under Linux) I get the
error "connection rejected by remote interface" from the
Interbase-lib,
if I try to connect a non-local database with following simple C-code:
/* tmpdbname, tmpdbuser, tmpdbpasswd is (char *) */
.
.
.
/* deliver database parameter buffer */
isc_expand_dpb(&dpb,&dpb_length, isc_dpb_user_name, tmpdbuser,
isc_dpb_password,tmpdbpasswd,NULL);
/* connecting db */
if (isc_attach_database(status_vector,strlen(tmpdbname), (char *)
tmpdbname, &db1, 0, NULL)) {
error_exit(); /* prints the errormessage */
}
.
.
.
If I set enviroment-variables ISC_USER etc. there are no problems to
connect the database. my /etc/host.equiv has entries of localhost and
myhostname, DNS and /etc/services are correct installed. Also the
strings tmpdbname etc. contains the correct values. I have used
Superserver 6, Linux with Debian-Distribution.
Have you any hints or ideas, please do not hesitate to contact me
quickly,
Bye Andreas
Community email
addresses:
Post message: IBDI@onelist.com
Subscribe: IBDI-subscribe@onelist.com
Unsubscribe: IBDI-unsubscribe@onelist.com
List owner: IBDI-owner@onelist.com
Shortcut URL to this page:
http://www.onelist.com/community/IBDI