-
Notifications
You must be signed in to change notification settings - Fork 22
Ubuntu logon fails but Azure AD says successful #209
Comments
Hey @AllDeesScripts, thanks for reporting the issue! First, I just want to ask something before asking you for more logs: did you also install the |
Hi @denisonbarbosa, It is showing as installed: xxxxxx@Ubuntu:~$ dpkg -s libnss-aad |
Alright, thanks for checking! The line If it is on the cache and the NSS module is linked properly (you can check by looking in Also, can you set the environment variable |
Thank you for the detailed steps. I have the below outputs for you: getent
nsswitch.conf
journalctl
|
Hey @AllDeesScripts! Sorry for the delay. Did you change anything on your
After changing the nsswitch.conf file:
I know it's some tasking, but it would help a lot to see exactly how everything was set up from the start so I can have a better idea of what could be the issue. Ps.: Don't forget to double-check the previous debug enablers that I told you about. |
Im facing the exact same error. I have followed all your mitigation steps but could not get it running. Here are my logs : Jul 26 16:20:50 johannes-Virtual-Machine aad_auth[2469]: nss_aad: Log output set to syslog |
@denisonbarbosa Thanks for the reply. I will be redeploying my VM and reattempting this process. Redeploying it all previously yielded the same result, but picking this up again I would still like to start afresh and will feedback to you on your points once I've done this. |
Hey @kuhlmanncommasoft, thanks for also collaborating with the issue. In your case, the domain @AllDeesScripts, if your domain also has capitalized letters, the issue could be the same as well. If not, then I'll wait for your feedback on the redeploy. Thanks again! |
Wow!, Thank you @kuhlmanncommasoft for posting your log. And thank you @denisonbarbosa for the solution. This has worked. It logged in straight away when I entered all of the username in lower case. |
Great news! |
@AllDeesScripts Just to make sure: Did you use the module from the Ubuntu repo, or did you compile it yourself? |
@kuhlmanncommasoft from the repo |
.... This is an install from April. So probs isn't the latest version |
@AllDeesScripts Thanks! |
@kuhlmanncommasoft, first clean the cache with the commands that I've described earlier in the issue and then try authenticating using the fully lowercased username. |
Hi,
Getting the error "Sorry, password authentication didn't work. Please try again." when I logon with valid Azure AD credentials.
Screenshot: https://imgur.com/DxNAHEA
The Enterprise App sign-in log says the user was successfully authenticated as per this screenshot: https://imgur.com/3DmRBmz
Are you able to deduce anything from the log below?
The text was updated successfully, but these errors were encountered: