zillow / ctds

Python DB-API 2.0 library for MS SQL Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to specify client hostname for connection

adh opened this issue · comments

We have application that needs to pass hostname of it's real client (instead of the API server's hostname) in client_hostname of LOGINREC structure. Thus it would be helpful for cTDS to support client_hostname argument in ctds.connect() (in the same way as currently existing appname)

I'll look into this. It would also be useful when running in a Docker container I'd imagine.

Fixed in v1.8.0.