If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back  dBforums > Database Server Software > Informix > Error 956. Not trusted server/client

LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Registered User
Join Date: Jan 2008
Posts: 10
Error 956. Not trusted server/client


I have two systems (in the same network):

1. HPUX where is installated informix 7.31 (I know is an older version, but I cannot change it now).
2. w2003 where I've just installed an informix 9.40 and I've created a database (called exampledb).

I need to connect whith the "exampledb" database from a HPUX. So, HPUX is the client from the w2003.

In HPUX I set /etc/services, /etc/hosts and $INFORMIXIDIR/etc/sqlhosts with right values. I change the INFORMIXSERVER to the name of the informixserver in w2003, etc.

Aflter do "dbaccess" in HPUX I can see the interface of dbaccess, and then, when I try to select the database ("exampledb") I get the follow message:

"956: Client host or user (informix@marck) is not trusted by the server." (Where marck is the hostname of my HPUX)

What can i do to set a trusted connection between this machines in order to connect whit informix?

I've read about /etc/host.equiv and /etc/hosts.equiv, but I suposse this files are necessary to trust w2003 to HPUX, not HPUX to w2003 (actually, what I need).

Neither HPUX nor w2003 are within a domain, they are in the same network, but there isn't any domain. It's not a connectivity problem, because either from any of the server, i can see the other one.

Thx in advance!
Reply With Quote
  #2 (permalink)  
Registered User
Join Date: Jan 2008
Posts: 10
I've just found the answer: this issue is resolved by adding hosts.file in C:\WINDOWS\System32\drivers\etc\ (in the remote server, my w2003). Within the hots.equiv file is necessary to write the host's name ("the client", my HPUX).

After to do this, It works fine
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On