Connecting to Windows AD accounts

19 views
Skip to first unread message

Mayur Barge

unread,
Jan 15, 2016, 1:43:01 PM1/15/16
to Ansible Project
Is anyone facing
FAILED => 401 Unauthorized. basic auth failed
issue for AD domain account

what could go wrong ?

J Hawkesworth

unread,
Jan 18, 2016, 12:24:01 PM1/18/16
to Ansible Project
There's a few things that could be wrong

1/ the password supplied is not correct for the user you are connecting as

2/ you must specify the domain in UPPER CASE letters.  

3/ you must use the full domain name, not just the first part

so 

not
user@MY

3/ you must use an @ to separate between the username and the domain name

Probably others too, but check these first.

Also check the windows event viewer to see if the login request is reaching your windows machine.

Hope this helps,

Jon
Reply all
Reply to author
Forward
0 new messages