We have a local Artifactory Pro server that serves nuget packets and uses LDAP to authenticate all users. Using Artifactory-NuGet from cmdline works fine, but when I try to use the package manager from Visual Studio, authentication fails.
I noticed that Visual Studio is trying to add a domain prefix after the first failed authentication attempt: the login attempt as a "user" fails, and then the login authorization window "DOMAIN \ user" is the username.
I am not sure if the source of the problem is in Visual Studio or in Artifactory. I noticed that web access to Artifactory does not accept user names in the form "DOMAIN \ user", although I believe that this is necessary.
So my question is: how do I authenticate to the NuGet-supported LDAP server provided by Artifactory from Visual Studio?
source
share