[SOLVED] can mount WinXP share but not Win7 share in fstab
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
this gets mounted correctly and i can read/write the shared folder
at home i have a win7 box that i create a share on and use the exact same code in fstab, but it wont mount the share. i get something like permission denied or access denied
is there a difference in how winxp and win7 share folders? my usernames on the linux boxes match those of my windows boxes at each location. i have given my win accounts full access and control over the win shares.
am i missing something in linux? i wouldnt think so as it works with xp but not 7
ok made some changes to the lanmanworkstation settings in the win7 registry, specifically this
HKLM\System\CCS\Services\LanmanWorkstation\Parameters
DWORD DomainCompatibilityMode = 1
DWORD DNSNameResolutionRequired = 0
not sure if it did anything though, still have the same problem with the fstab mounts
however i can do this
Code:
mount -t cifs //win7/temp$ /home/user/temp -o user=username
and it mounts fine but i dont have r/w access to it
thanks for the links, yeah been to the first two, but that last one helped. i dug a little deeper in the win7 security settings, advanced settings, effective permissions. it had my name already there, but i added it again and checked everything and changed my fstab to
spoke too soon, its weird, i can mount it using the mount -t command like above but not with the fstab settings. is there a way to put those mount commands in a script file that runs when i log in?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.