Re: Need help connecting to NT from UNIX
Posted in 1998
I'm going to answer your questions at each point below Ravi Navanee wrote in message <353E0512.FD2D31A0@i-kinetics.com>... >Hi, > >I am not sure how to make an UNIX host a trusted host on NT. Here are my >questions. I would appreciate if you can provide any information. > >1) How do I make my UNIX machine a trusted host on an NT 4.0 server? I >have created a Hosts file in winnt\\system32\\drivers\\etc directory with >the entry Short answer -- you can't >2) What are users/passwords on the Informix database on NT? The ones you setup (not the user accounts, that's a separate thing) >Does Informix use the OS accounts as database accounts? No. You have to go into informix and setup the user -- referr to your documentation for doing this. >Here is the configuration in more detail: > >I am running Informix OnLine Server 7.23 on an NT 4.0 Server. I am >running an ESQL/C demo program on a Sun workstation running Solaris >2.5.x. The demo program is part of the Informix Client SDK 2.01. It is >getdiag.ec > >When I run the program, I get the following message: > >>>>>>>>>>>>> >GETDIAG Sample ESQL Program running. > >********Error encountered in CONNECT stmt******** >---------------------------------------------------------- >SQLSTATE: IX000 >SQLCODE: -956 > >EXCEPTIONS: Number=2 More? N >- - - - - - - - - - - - - - - - - - - - >EXCEPTION 1: SQLSTATE=IX000 >MESSAGE TEXT: Client host or user %s is not trusted by the server. >CLASS ORIGIN: IX >SUBCLASS ORIGIN: IX000 >- - - - - - - - - - - - - - - - - - - - >EXCEPTION 2: SQLSTATE=IX000 >MESSAGE TEXT: Not owner >CLASS ORIGIN: IX >SUBCLASS ORIGIN: IX000 >---------------------------------------------------------- >********Program terminated******* >>>>>>>>>>>> > >The ESQL/C code that is used to establish connection is: > >EXEC SQL connect to 'stores7'; > >I run the program as user informix on the client. > >Thanks! >Ravi. >-- >Ravi Navanee. (781) 270 1382 >I-Kinetics, Inc., Burlington, MA, USA >http://www.i-kinetics.com