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

I have a Windows 2003 Server sharing out a few folders as read-only to "Everyone". The server is a domain member, so I'm not able to connect to the share on computers that aren't on the domain without passing some form of credentials.

I have a linux box that I want to mount the share on at startup, so I want to put the share mountpoint in fstab. I have this setup by specifying a credentials file that is only readable by root, but I would rather either not use a credentials file or specify some guest/anonymous user. Can I do that, & if so, how?

share|improve this question
    
Is there some reason why you can't just create an account on the server for this computer? It seems like it would be better to just create an account and put it in the "Domain Guests' instead of enabling the guest account. –  Zoredache Mar 2 '11 at 17:30

1 Answer 1

up vote 2 down vote accepted

Enable the guest account on the Win server, give it a trivial (or good, whatever you want) password. Use the guest account from the Linux boxen.

share|improve this answer
    
What about using Guest with no password? Is that do-able? –  churnd Mar 2 '11 at 17:00
    
I believe that works; though I'd avoid it if possible. –  Chris S Mar 2 '11 at 18:07
    
Yeah, for obvious reasons, but what exactly does "Guest" have access to other than the share? –  churnd Mar 2 '11 at 19:00
    
"Guest" doesn't have access to anything by default. However, many things have access granted to "Authenticated Users", which Guest will now be. –  Chris S Mar 2 '11 at 19:15

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.