Linux – Mount cifs share anonymously

anonymouscifslinux

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?

Best Answer

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.