国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Linux > 正文

Fedora 8下成功配置好SAMBA服務

2024-08-28 00:10:39
字體:
來源:轉載
供稿:網友

最近全新安裝了Fedora Core8,雖然我們有可愛的rz/sz命令可用,但是像Windows一樣的文件共享更方便,這也我們不得不佩服Windows的地方。同時,我也需要向同事們共享我的文件,所以決定采用SAMBA來配置我的共享服務。

1、使用yum命令來安裝或更新你的SAMBA包。
yum install samba
2、samba的配置文件在如下
/etc/samba/smb.conf
修改其配置如下:

#======================= Global Settings =====================================
[global]

# ----------------------- Netwrok Related Options -------------------------
#
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
#
# server string is the equivalent of the NT Description field
#
# netbios name can be used to specify a server name not tied to the hostname
#
# Interfaces lets you configure Samba to use multiple interfaces
# If you have multiple network interfaces then you can list the ones
# you want to listen on (never omit localhost)
#
# Hosts Allow/Hosts Deny lets you restrict who can connect, and you can
# specifiy it as a per share option as well
#
workgroup = robin
server string = MYSERVER

netbios name = MYSERVER

; hosts allow = 127. 192.168.

# --------------------------- Logging Options -----------------------------
#
# Log File let you specify where to put logs and how to split them up.
#
# Max Log Size let you specify the max size log files should reach

# logs split per machine
log file = /var/log/samba/log.%m
# max 50KB per log file, then rotate
max log size = 50

# ----------------------- Standalone Server Options ------------------------
#
# Scurity can be set to user, share(deprecated) or server(deprecated)
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.

security = share
; encrypt passwords = yes
guest ok = yes
guest account = root

 


#============================ Share Definitions ==============================

[homes]
comment = Home Directories
browseable = no
writable = yes
; valid users = %S
; valid users = MYDOMAIN/%S

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
; guest ok = no
; writable = No
printable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /var/lib/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
; [Profiles]
; path = /var/lib/samba/profiles
; browseable = no
; guest ok = yes


# A publicly accessible directory, but read only, except for people in
# the "staff" group

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 潞西市| 交城县| 腾冲县| 孟州市| 宁夏| 富裕县| 东莞市| 鄂州市| 金溪县| SHOW| 绥芬河市| 台山市| 泾川县| 祥云县| 荆门市| 新源县| 理塘县| 栾川县| 静安区| 威海市| 襄城县| 壤塘县| 陈巴尔虎旗| 三明市| 青河县| 澎湖县| 武川县| 同心县| 志丹县| 西吉县| 东城区| 泾阳县| 新龙县| 南安市| 德惠市| 西宁市| 清徐县| 民县| 罗江县| 西安市| 鹤岗市|