Can only connect to Samba shares when logged into SSH
Hi,
Im a bit of a noob when it comes to Linux and servers, but I've got a home server and its running Samba 3.5.8. It was working fine up till a couple days ago. Basically what happens is, when I try to access the samba shares from my Windows 7 PC, I get an access denied error or permissions error. But it isn't until I log into the server via Putty SSH, it begins working again. I try to restart samba logged in to SSH and accessing it, its fine up till i logout or close the terminal window. I've literally no idea what the hell has happened for it to do that, i've looked absolutely everywhere for an answer and can't find one. I've tried reinstalling samba, restoring the config, upgrading the OS but they all have the same issue. Here is my config Code:
#======================= Global Settings ======================= I have no idea what the hell to do |
Your access when you ssh is through ssh not samba. So samba is not working at all. Your config appears after a scan appears to have no settings. You have eberything commented out ( ; / # ).
This will give you a idea of a base config. https://www.linux.com/learn/tutorial...sy-samba-setup Hope this helps. |
When no master browser is running on the subnet, potential browsers choose a new master browser among themselves in a process called an election. Try to set your OS Level to 32 this makes your Samba server the PDC rather then W7 looks to itself as domain controller. see: http://www.samba.org/samba/docs/usin...-CHP-7-TABLE-2
|
Quote:
---------- Post added 06-06-12 at 12:39 PM ---------- Quote:
Whats weird is that when I try to view the server in the networking folder, I can see the main 2 folders that are open for every user (public and private) but can't actually go inside them. |
It is not a question of being able to read. Those "special" characters are indicators to the program not to include in the the programs configuration.
|
Quote:
|
All times are GMT -5. The time now is 02:13 PM. |