freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Ken Collins <ken AT metaskills.net>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Using SSL With DBLIB/TinyTDS
- Date: Tue, 12 Apr 2011 22:18:49 -0400
> DBSETLDBNAME(), as it should, simply sets the default database in the
> login packet, obviating the need to call dbuse(). It has nothing to do
> with encryption.
Crap, copy paste fail on my part. I meant to say that my program is now using:
DBSETLSECURE(login)
What was this supposed to do? Just make the login secure?
> To affect encryption in a db-lib program, your only option is to use
> the encryption property in freetds.conf. It can be set per-server or
> globally for the client, but not programmatically per connection.
>
> To change that would mean extending db-lib, adding
>
> DBSETLENCRYPT( LOGINREC*, TDS_ENCRYPTION_LEVEL)
>
> and/or adding an environment variable. (DB-Library has no equivalent
> of a connection string, but environment variables do roughly the same
> job.)
I'll look into that.
- Ken
-
[freetds] Using SSL With DBLIB/TinyTDS,
Ken Collins, 04/11/2011
-
Re: [freetds] Using SSL With DBLIB/TinyTDS,
James K. Lowden, 04/12/2011
-
Re: [freetds] Using SSL With DBLIB/TinyTDS,
Ken Collins, 04/12/2011
- Re: [freetds] Using SSL With DBLIB/TinyTDS, James K. Lowden, 04/13/2011
-
Re: [freetds] Using SSL With DBLIB/TinyTDS,
Ken Collins, 04/12/2011
-
Re: [freetds] Using SSL With DBLIB/TinyTDS,
James K. Lowden, 04/12/2011
Archive powered by MHonArc 2.6.24.