[unixODBC-dev] ConfigDSN: semi-colon

Peter Harvey pharvey at peterharvey.org
Fri Aug 6 05:43:06 BST 2004


Nick,

Seems there may be another issue. Using ODBCConfig to edit dsn causes a 
call to ConfigDSN in setup lib ok but the attributes string is coming in 
to ConfigDSN with;

DSN=myodbc;\0

Looking at the spec for this func it seems fairly clear that the use of 
the ';' is invalid? The spec uses this example;

DSN=Personnel Data\0UID=Smith\0PWD=Sesame\0DATABASE=Personnel\0\0

I am assuming the ODBCConfig code is calling the dm to get to ConfigDSN - although I do not recall for sure.

Peter






More information about the unixODBC-dev mailing list