Windows authentication question

282 views
Skip to first unread message

Scott Nichol

unread,
Jan 4, 2016, 6:19:00 PM1/4/16
to tedious
I am able to connection with Windows authentication by specifying userName, password and domain in the config supplied to the Connection constructor.  I'd prefer something like the ODBC Trusted_Connection=yes, wherein the credentials of the current user are used without being explicitly specified.  Is that possible with tedious?

TIA,

Scott

Scott Nichol

unread,
Jan 29, 2016, 7:33:50 PM1/29/16
to tedious
I don't believe that what I am looking for is in tedious.  If someone wants a reference for implementation, python-tds has a class pytds.login.SspiAuth that is used to specify information for the pytds.connect() function.  This only works on Windows, of course, but it's very nice when Windows is the platform as no password needs to be specified.
Reply all
Reply to author
Forward
0 new messages