|
|
这个SMB 服务器已经弄好了~~(这个是看的精华贴弄的)
用smbclient -L 自己的IP 也可以看得到 已弄好 的服务器的名字等等~~
但是,要WINDOWS 下 看不到~~
是不是要通过什么方法才可以共享呀~~
下面这个是我的SMB.conf 文件
- [global]
- workgroup = FERORA4
- server string = HOOXIN'LINUX
- netbios name=fedara4
- security = user
- encrypt passwords = yes
- log file = /var/log/samba/log.%m
- max log size = 50
- ; preferred master = yes
- socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
- wins support = yes
- smb passwd file = /etc/samba/smbpasswd
- username map = /etc/samba/smbusers
- dns proxy = no
- ; idmap uid = 16777216-33554431
- ; idmap gid = 16777216-33554431
- ; template shell = /bin/false
- ; winbind use default domain = no
- dos filetime resolution = True
- printcap name = /etc/printcap
- load printers = yes
- printing = lprng
-
- [homes]
- comment = Home Directories
- browseable = no
- writable = yes
- valid users = %S
- create mode = 0775
- directory mode = 0775
-
- [MyDoc]
- comment = this is a doc
- path = /home/hooxin/MyDoc
- writeable = no
- read only=yes
- browseable = yes
- valid users = hooxin, new
- create mask = 0775
- directory mode = 0775
- [CM]
- comment=this is CM
- path =/home/hooxin/Download/CM
- writeable=no
- read only=yes
- create mask=0775
- directory mode=0775
- browseable= yes
- valid users=new,hooxin
复制代码 |
|