Example concsm.cfg entries for password encryption

You must specify parameters and fields in the concsm.cfg file for password encryption.

The following two examples illustrate the two alternatives for parameters that you must enter in the concsm.cfg file to define the Simple Password Communication Support Module.

The following configuration example is for a database server and client computers that use different CSMs.
SPWDCSM("client=/usr/informix/lib/client/csm/libixspw.so,
   server=/usr/informix/lib/csm/libixspw.so", "", "")

The following configuration example is for a database server and client computers that share a CSM.

SPWDCSM("/usr/informix/lib/csm/libixspw.so", "", "")
The following configuration example shows the connection option p set to 0, so a password is not required:
SPWDCSM("/work/informix/csm/libixspw.so", "", "p=0")