Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Trusted Connection #24

Open
wmess opened this issue May 3, 2018 · 1 comment
Open

Windows Trusted Connection #24

wmess opened this issue May 3, 2018 · 1 comment

Comments

@wmess
Copy link

wmess commented May 3, 2018

We are using:
Django 1.11 / django mssql 1.8 / django-sqlserver 1.11 / python-tds 1.9.0 / sql server 2016

running on windows servers.

Does this support a trusted connection?

We currently put the database username/password in settings.py and can't get a database connection with username and password set to ''. We get an ..invalid user '' error.

Using Django channels 1.x and have the worker process running as a windows service with a valid windows account.

@Wedge009
Copy link

I found the underlying python-tds required the use of an explicit cafile parameter and use_sso set to True in the connect() call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants