当前位置: 技术问答>linux和unix
100分求一个samba的配置文件,好用就给分
来源: 互联网 发布时间:2016-03-22
本文导语: 要求:可以在Window里面读写Solaris系统中的/share文件目录 | OpenSolaris下配置文件:/ect/sfw/smb.conf [global] workgroup = PVL netbios name = SERVER server string = server security = SHARE...
要求:可以在Window里面读写Solaris系统中的/share文件目录
|
OpenSolaris下配置文件:/ect/sfw/smb.conf
[global]
workgroup = PVL
netbios name = SERVER
server string = server
security = SHARE
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
printing = lprng
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[share]
path = /share
read only = No
guest ok = Yes
开启samba服务:
#svcadm enable samba
[global]
workgroup = PVL
netbios name = SERVER
server string = server
security = SHARE
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
printing = lprng
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[share]
path = /share
read only = No
guest ok = Yes
开启samba服务:
#svcadm enable samba