Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm a developer who is working on a site that needs to use some network resources that are located on a linux network that is managed by Samba (sorry, I don't know the exact mix of terms and technology). Basically, I have a user/password provided to me by the Admin. How do I make IIS 7 use this user so I can get access to the network resources?

share|improve this question
up vote 1 down vote accepted

You should just be able to configure it as a virtual directory for your site; give it the full path to the share, and specify the username/password that your admin gave you when you're creating the virtual directory.

There are a couple of permission problems you may run up against while doing this, which are described (along with a workaround) here.

share|improve this answer

I would avoid whenever possible doing this - you can run in to really obscure networking/file permission issues (As Rainy Rat has already mentioned).

However if you have to, why not just map the Samba share as a network drive? Nice and simple!

share|improve this answer

Your Answer


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.