- 论坛徽章:
- 0
|
谢谢"光明使者"
可现在我用netbois name =RedHat改了名,但现在用\\RedHat访问时又出现"找不到网络路径",从网上邻居打开也一样!真不知还有哪里出错了,请大家多多指教!谢谢!
以下是我的/etc/samba/smb.conf配置文件:
#======================= Global Settings =====================================
[global]
workgroup = Workgroup
server string = Samba Server
; hosts allow = 192.168.1. 192.168.2. 127.
printcap name = /etc/printcap
load printers = yes
printing = cups
; guest account = pcguest
log file = /var/log/samba/%m.log
max log size = 0
security = share
; password server = <NT-Server-Name>
; password level = 8
; username level = 8
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
; username map = /etc/samba/smbusers
; include = /etc/samba/smb.conf.%m
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
; interfaces = 192.168.12.2/24 192.168.13.2/24
; remote browse sync = 192.168.3.25 192.168.5.255
; remote announce = 192.168.1.255 192.168.2.44
dns proxy = no
netbios name = RedHat
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
[docs]
path = /network
comment = this is network
public = yes |
|