Skip to content

[QUESTION] Connecting using "domain credentials" #353

Open
@djl0

Description

@djl0

Hi everyone - I'm running myself in circles, and I was hoping someone might be able to shed some light on my situation. The credentials I was given from the DB admin was in the form of "domain\username". When I connect in Pycharm, it uses what it calls "domain credentials". I'm using a python-slim docker image and ODBC Driver 17. In my settings.py, I've tried every combination of domain and username in the user, host, instance fields with no success (still getting "login failed"). I saw an issue (linked below) where someone said "windows authentication" doesn't work; is my auth-style that? Or I'm seeing these extra flags that refer to Active directory.

Any help is greatly appreciated.

Relevant Issues and Pull Requests
Is this the same issue as here?
That refers to this: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-containers-ad-auth-adutil-tutorial?view=sql-server-ver16

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions