Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm currently connected to a VPN, but the machine I'm on is not connected to the Windows domain that the rest of the network is on.

On that network is a Windows 2008R2 server that I am an admin on. Files on that server can be accessed through Explorer by going \\server.fqdn\share.

There is a share on that server called git (can you tell where I'm going yet?). Through Explorer I can go \\server.fqdn\git\website.git and see the contents of that folder.

However, I would like to access a git repo in that folder. I know that I can add a remote as //server.fqdn/git/website.git but I keep getting an error saying I do not have permission.

I used to get past this error by opening up Windows Explorer, going to \\server.fqdn\git and entering my username and password, however this doesn't seem to be working anymore.

Any thoughts?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Rather than connecting using just my username and password, I used domain\username and password (despite being told not to include the domain).

Works fine now.

share|improve this answer
    
What is the git command you used? –  Saj 23 hours ago

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.