ahaenggli / AzureAD-LDAP-wrapper

LDAP-Wrapper for 'microsoft 365' work or school accounts/users (former 'office 365' - via Entra ID, former AzureAD without AADDS)
https://ahaenggli.github.io/AzureAD-LDAP-wrapper/
MIT License
119 stars 28 forks source link

Error When Try To Authenticate To a Share with a Entra ID Joined Device #92

Open NicholasK516 opened 3 weeks ago

NicholasK516 commented 3 weeks ago

When mapping one of the network shares I get the error "System cannot contact a domain controller to service the authentication request. Please try again later."

ahaenggli commented 3 weeks ago

The error usually occurs if you do not connect via user name and password. For azure ad joined devices, Windows suggests logging in via PIN or the currently logged in user (similar to SSO). Neither works, as the wrapper cannot know this information.

NicholasK516 commented 3 weeks ago

On some machines Windows just automatically passed the credentials and it worked. Those machines had Windows Hello enabled as well. So typical then users would need to put in their Network credentials as the pass through authentication should not work? Is there anyway to make it work properly?

ahaenggli commented 3 weeks ago

you could try removing the current network credentials from the windows credential manager and then add the shares by console to make sure the correct username/password is used, like in issue #7