Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Password Encryption
Date: Dec 3 2003 6:34PM
On Tue, 2003-12-02 at 01:47, Henson, David A [IT] wrote:
> Hi Michael,
> Sorry to mail you directly, we have a requirement to set password encryption
> in sybperl - but, unfortunately, some of our older applications are still
> using DBLib. I am under the impression from this old posting that
> DBSETLENCRYPT has not been implemented:
> Would you kindly let me know if this has been done since this posting, or if
> you have any plans to.
I didn't really have any plans to add it, but it's pretty trivial:
RETVAL = DBSETLENCRYP(login, value);
which you can add to DBlib.xs and rebuild.
You'll need to call this before requesting a new connection, of course.
Michael Peppler Data Migrations, Inc.
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.mbay.net/~mpeppler/resume.html