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 =======================
[global]
unix extensions = no
log file = /var/log/samba/log.%m
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
obey pam restrictions = yes
follow symlinks = yes
map to guest = bad user
encrypt passwords = true
passwd program = /usr/bin/passwd %u
wins support = yes
dns proxy = no
netbios name = ScruffyServer
wide links = yes
server string =
unix password sync = yes
workgroup = MSHOME
os level = 20
security = user
syslog = 0
usershare allow guests = yes
panic action = /usr/share/samba/panic-action %d
max log size = 1000
pam password change = yes
; passdb backend = tdbsam
; os level = 20
name resolve order = wins lmhosts hosts bcast
[Public]
read list = public
user = public
path = /home/scruffy/Public
[Music]
browseable = no
read list = music
user = music
path = /home/scruffy/Public/Music
write list = music
[Movies]
browseable = no
read list = movies
user = movies
path = /home/scruffy/Public/Movies
write list = movies
[TVShows]
browseable = no
read list = tvshows
user = tvshows
path = /home/scruffy/Public/TVShows
write list = tvshows
[Web]
browseable = no
read list = web
user = web
path = /home/scruffy/Public/Web
write list = web
The original problem I had when trying to fix the samba shares before this problem arose was, the samba server started at boot, but could not access till I logged into SSH and started it as my main user, i tried adding the script to chkconfig and various other things but none of them worked, I have reversed the changes I did to try and fix the current problem, but still no luck.
I have no idea what the hell to do