Answer the question
In order to leave comments, you need to log in
How to set up samba on debian 7?
Essence:
There is a server with the screw in 250 giktar and RAID6 4.5tb. I picked up Debian 7 on it, installed samba 3.6.6, read the sea of configuration manuals, about the maximum. what happened. this is through the Windows Explorer, go to the server by ip address and see the shared folder, which I can’t get into.
[global]
workgroup = WORKGROUP
netbios name = ftp
server string = %h server
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = share
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = no
unix password sync = no
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
[homes]
comment = Home Directories
browseable = no
read only = no
create mask = 0700
directory mask = 0700
valid users = %S
[MediaContent]
path = /media/ftp-data/MediaContent
readonly = yes
writable = yes
guest ok = yes
create mask = 777
directory mask = 777
Answer the question
In order to leave comments, you need to log in
Here is my config, if you need anything.
[Global]
workgroup = VLG SERVER34
netbios name = Server
server string =
security = share
browseable = Yes
[all]
path = "/"
force user = root
force group = users
read only = no
create mask = 0777
direcrory mask = 0777
guest ok = Yes
[file]
path = "/home/server/"
force user = server
force group = users
read only = no
create mask = 0777
direcrory mask = 0777
guest ok = Yes
[SERVERWEB]
path = "/media/serverweb/"
force user = root
force group = users
read only = no
create mask = 0777
direcrory mask = 0777
guest ok = Yes
[HOSTING]
path = "/media/hosting/"
force user = server
force group = users
read only = no
create mask = 0777
direcrory mask = 0777
guest ok = Yes
[Log]
path = "/var/log/"
force user = root
force group = users
read only = no
create mask = 0777
direcrory mask = 0777
guest ok = Yes
[WWW]
path = "/media/serverweb/www/webserver/data/"
force user = webserver
force group = webserver
read only = no
create mask = 0777
direcrory mask = 0777
guest ok = Yes
readonly = yes
writable = yes
testparm
[global]
workgroup = MYGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb backend = tdbsam
map to guest = Bad User
load printers = yes
cups options = raw
[share]
comment = Public Stuff
path = /media/ftp-data/MediaContent
public = yes
writable = yes
printable = no
guest ok = yes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question