recently, i installed samba server and fix smb.conf without backup. then when rebooting , my pc went to emergency mode. then uninstall samba server.
then i reinstalled samba, but i have wrong smb.conf.(fixed conf , not default smb.conf) So anybody have default smb.conf could upload the smb.conf?
pl. i am newbie competelyl to samba setup.
anybody help me out for samba server?
Re: anybody help me out for samba server?
here is my smb.conf
# See smb.cinf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = WORKGROUP
Server string = Samba Server Version %v
netBios name = yoonjungsuep-PC
//Netbios 네임을 설정하는 영역으로 윈도우의 컴퓨터 이름과 동일함 주석처리하는경우 호스트이름을 Netbios네임으로 사용하게 되지 현재 내가 seob01라는 호스트이름으로 씀
interfaces=lo eth0 192.168.10.150/24
hosts allow=192.168.10.
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
writable = yes
inherit acls = Yes
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
create mask = 0600
browseable = No
guest ok = no
writable = no
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = root
create mask = 0664
directory mask = 0775
[share]
comment = samba share server
path = /home
#실제 파일이 저장될 공간으로, 설정이 끝나고 폴더를 생성 해 주어야 한다.
public = yes
browseable = yes
#no로 해도 무관
13,1-8 꼭대기
could you fix this? #testparm is ok..
# See smb.cinf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = WORKGROUP
Server string = Samba Server Version %v
netBios name = yoonjungsuep-PC
//Netbios 네임을 설정하는 영역으로 윈도우의 컴퓨터 이름과 동일함 주석처리하는경우 호스트이름을 Netbios네임으로 사용하게 되지 현재 내가 seob01라는 호스트이름으로 씀
interfaces=lo eth0 192.168.10.150/24
hosts allow=192.168.10.
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
writable = yes
inherit acls = Yes
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
create mask = 0600
browseable = No
guest ok = no
writable = no
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = root
create mask = 0664
directory mask = 0775
[share]
comment = samba share server
path = /home
#실제 파일이 저장될 공간으로, 설정이 끝나고 폴더를 생성 해 주어야 한다.
public = yes
browseable = yes
#no로 해도 무관
13,1-8 꼭대기
could you fix this? #testparm is ok..
Re: anybody help me out for samba server?
Comments in smb.conf start with semi-colon (";") or hash ("#").//Netbios네임을 설정하는 영역으 로 윈도우의 컴퓨터 이름과 동일함 주석처리하는경우 호스트이름을 Netbios네임으로 사용하게 되지 현재 내가 seob01라는 호스트이름으로 씀
What exactly do you mean by
?went to emergency mode
Just a failure of the samba service to start?
[Solved]Re: anybody help me out for samba server?
by correnting this to the below
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = SAMBA
security = user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
writable = yes
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = root
create mask = 0664
directory mask = 0775
[share]
comment = sharedata
path = /data
public = no
writable = yes
printable = no
write list = root yoonjungsuep
create mask = 0777
directory mask = 0777
47,0-1 bottom
this works ok!!! thanks anyway for reply!!!
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = SAMBA
security = user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
writable = yes
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = root
create mask = 0664
directory mask = 0775
[share]
comment = sharedata
path = /data
public = no
writable = yes
printable = no
write list = root yoonjungsuep
create mask = 0777
directory mask = 0777
47,0-1 bottom
this works ok!!! thanks anyway for reply!!!