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 > Problem in accessing Informix DB (9.2-IDS2000 server) through ODBC

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-10-06, 02:48
radhakrishnan radhakrishnan is offline
Registered User
 
Join Date: Feb 2006
Posts: 5
Question Problem in accessing Informix DB (9.2-IDS2000 server) through ODBC

Hello friends,

I have the following configuration.

Informix Server : Informix 9.2 (IDS 2000) Running on Solaris 8 machine
Client : Windows 2000 machine installed with Informix ODBC
driver (2.90.TC4)

Now I am trying to connect Informix DB Server through the ODBC.In informix DBserver I have enabled Simple password encryption and it is must for smooth running of my application (csm=(SPWDCSM) ). Now when I am trying to connect to Informix server through ODBC it is giving Authentication error.The handsone work around is to disable the csm option.But I would like to keep the encryption option enabled at the same time I should be able to access the Informix DB through ODBC.

Is it possible like Both Informix server and Client should have same csm encryption facility.If it is correct how can we configure these settings.I need suggestions on how to configure the CSM option in Informix Client on my windows machine.

I have configure-concsm.cfg the csm option like this in my Informix server on solaris machine

SPWDCSM("/usr/users/informix92/lib/csm/libixspw.so","","p=1")

Now what are all the steps I follow to configure the csm option from the Client.I have installed Informix ODBC driver (2.90.TC4) and I do not found libixspw.so in the lib and its sub directories.Please help me on this ..
Reply With Quote
  #2 (permalink)  
Old 05-11-06, 11:00
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,
Please test follow:

_ On server
By default $INFORMIXDIR/etc/concsm.cfg or define variable INFORMIXCONCSMCFG=$INFORMIXDIR/etc/concsm.xxx and
add this file on $INFORMIXDIR/etc.
In the file $INFORMIXDIR/etc/comcsm.xxx write:
dm4("$INFORMIXDIR/lib/csm/iencs09a.sl","cipher[all],mac[levels:high],switch[cipher:6,key:6]","").
The name dm4 is add in sqlhosts file: DBSER CONNECT HOSTS csm=(dm4).

_ On Client
By default %INFORMIXDIR%\etc\concsm.cfg
In the file %INFORMIXDIR%\etc\comcsm.cfg write:
dm4("c:%INFORMIXDIR%\lib\client\csm\iencs09a.dll", "cipher[all],mac[levels:hig
h],switch[cipher:6,key:6]","")

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 05-13-06, 01:26
radhakrishnan radhakrishnan is offline
Registered User
 
Join Date: Feb 2006
Posts: 5
Hi,
Thanks for your reply.Actually the problem get resolved after setting the client configuration file( comcsm.cfg ) like the below
SPWDCSM("C:\Program Files\Informix\Client-SDK\lib\client\csm\ispws07a.dll","","p=0")
Reply With Quote
Reply

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