Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Writing modified password to DSN

22 views
Skip to first unread message

Vineet Sadhu

unread,
Apr 20, 2011, 9:30:00 AM4/20/11
to
Hi,

I am connecting to Sybase database through File DSN ("Encrypt
Password" was enabled while creating file DSN).
Connection is successful using SQLDriverConnect() where I am only
providing the .dsn file path. Rest is stored in .dsn file.

Requirement: Enabling password modification.

Problem: I am not able to store new password in encryption form
in .dsn file using SQLWriteFileDSN. Is there any separate keyword I
need to provide or I am missing something?

Any help is highly appreciated.

Thanks

Vineet Sadhu

unread,
Apr 20, 2011, 9:41:09 AM4/20/11
to

Driver is DBODBC9.DLL from IAnywhere Solutions Inc

Vineet Sadhu

unread,
Apr 25, 2011, 12:10:10 AM4/25/11
to
Got one solution for this problem:

dbdsn.exe utility provides switch -pe for creating dsn with encrypted
password. I can get encrypted password using this utility and put it
in the fileDSN(that involves creation of DSN, reading value from
registry and deletion of DSN).

0 new messages