Forums
 

Can only use one account to access samba shares from windows 7?


Reply
 
Thread Tools Search this Thread
Old 22-04-2012, 08:45   #1
jayzee786
Forum Member
 
Join Date: Jul 2008
Location: Cardiff UK
Services: Sky, Talk Talk Pro 70Mb, Win 7, Netflix, Lovefilm, WDTV
Posts: 890
Can only use one account to access samba shares from windows 7?

I can only use my account to access samba shares on ubuntu from windows if i use another account with the correct user/pass details i just get the login box again?

Any idea how to fix this

thanks
jayzee786 is offline Follow this poster on Twitter   Reply With Quote
Please sign in or register to remove this advertisement.
Old 22-04-2012, 10:20   #2
s2k
Forum Member
 
Join Date: Apr 2006
Posts: 4,302
The user/passwords your using have to also be present on the Ubuntu machine. Only other alternative is to give everyone access to the share.

There is also a tickbox option under the folder view settings part of Windows (not sure about Linux) to enable or disable "Simple File Sharing"/"Sharing Wizard". If you disable this then the shares are authenticated per account, otherwise with it enabled it will try as a guest user. To make things more awkward, MS decided not to put this tickbox in home versions of Windows but there is probably a workaround.
s2k is offline   Reply With Quote
Old 22-04-2012, 16:32   #3
jayzee786
Forum Member
 
Join Date: Jul 2008
Location: Cardiff UK
Services: Sky, Talk Talk Pro 70Mb, Win 7, Netflix, Lovefilm, WDTV
Posts: 890
I have been using all windows machines on all 3 of my computers.

My file server used to be win 7 and each user had to use their own user/pass to access their docs/pics/music in their user folder under \\desktop\userdocs\usernamehere.

only user1 could access \\desktop\userdoc\user1 and user2 could access their own folder. if they tried to access another folder it would come up as permission denied.

however at the moment ive only got my account working whereas all the other account i click on \\desktop and nothing happens just permission denied error.

edit: i created all these samba users using my own account in ubuntu going to try and create each user using their own ubuntu account.
jayzee786 is offline Follow this poster on Twitter   Reply With Quote
Old 22-04-2012, 17:13   #4
jayzee786
Forum Member
 
Join Date: Jul 2008
Location: Cardiff UK
Services: Sky, Talk Talk Pro 70Mb, Win 7, Netflix, Lovefilm, WDTV
Posts: 890
ive found out the problem.

the drive which the actual shares are on isn't being mounted
whichever user account on ubuntu i use to mount the drive can access the shares from win 7 pc's but as soon as i log out the drive is unmounted and i can't access from win 7. only one user at a time is allowed to mount the drive if i try mounting using a second user i just get a permission error or a device busy error?
jayzee786 is offline Follow this poster on Twitter   Reply With Quote
Old 22-04-2012, 18:50   #5
1saintly
Forum Member
 
Join Date: Oct 2005
Location: Box Room
Services: Sky+, Linux as main, Win 7 for gaming, 02 Broadband
Posts: 2,717
Does the same thing happen when you try youre Mint one?
1saintly is online now   Reply With Quote
Old 22-04-2012, 19:57   #6
jayzee786
Forum Member
 
Join Date: Jul 2008
Location: Cardiff UK
Services: Sky, Talk Talk Pro 70Mb, Win 7, Netflix, Lovefilm, WDTV
Posts: 890
oops haven't update my user info in a while. Am using Windows 7 and Ubuntu 11.10 only atm lol.

Have sorted the problem out now. The Hard drive was being auto unmounted but not mounted when i was logging in and out. So when I logged out and logged into the other account the drive was unmounted hence they windows pc's couldn't access the shares.

All sorted now. Thanks for your help guys.
jayzee786 is offline Follow this poster on Twitter   Reply With Quote
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search

 
Forum Jump


All times are GMT +1. The time now is 16:22.