Forum archive
Samba cannot connect
I have set up a virtual turnkey lamp server on virtualbox. I have gotten everything to work as desired except samba. The server shows up on my network on my W7 machine, however when I connect it just keeps asking for a user/password. My W7 user/password is set the same as my linux and samba accounts, but the samba share will not take it or any other one I use. I know the linux user name an pw are correct because I am able to login with it via ssh. Here's what I have tried:
- Purge and reinstall samba.
- Configure samba via webmin.
- Configure samba via ssh.
- Verified samba and linux file permissions
- Tried multiple config
The hast server is Ubuntu 12.04 and samba is installed and works flawlessly.
The virtual server was setup using the turnkey-lamp-12.0-squeeze-x86 build.
I have spent hours configuring/reconfiguring this and nothing works. Any help or suggestions would appreciated.
I have attached the smb.conf file.
Update: if I set security type to 'Share level' and fully open all the permissions (777), I can access the share (www). However, this is not the desired setup, I'd really prefer user level access.
But I do remember wrestling with it ages ago, then I ditched Windows and just used SSHFS (solved all my issues...! :D)
A few things come to mind, firstly have you checked the Samba log to see if there are any hints there on what the issue may be?
Second and third come from a quick browse of your conf (to be clear though, this is the first time I've had a good look at it, I always just used Webmin...). Second is perhaps you should try turning off password encryption just to see if you can pinpoint the caause of your issues. Third is that comparing the last 3 entries, home folders aren't browseable, perhaps this is how you want it, but again, perhaps allow access to home folders to see if it the share that is the issue or the user..., also www doesn't have any declaration about users, permissions, etc - I don't know but I suspect that may be problematic?! (so just guessing really...)