- 论坛徽章:
- 0
|
- [root@2 samba]# testparm
- Load smb config files from /etc/samba/smb.conf
- Processing section "[homes]"
- Processing section "[printers]"
- Processing section "[file]"
- Loaded services file OK.
- Server role: ROLE_STANDALONE
- Press enter to see a dump of your service definitions
- [global]
- workgroup = SHENGQUAN
- netbios name = REDHATSMBSERVER2
- server string = Samba Server Version %v
- interfaces = lo, eth0, 192.168.12.2/24, 192.168.13.2/24, 192.168.1.1, /24
- security = SHARE
- passdb backend = tdbsam
- log file = /var/log/samba/log.%m
- max log size = 50
- hosts allow = 127., 192.168.12., 192.168.13., 192.168.1.
- cups options = raw
- [homes]
- comment = Home Directories
- read only = No
- browseable = No
- [printers]
- comment = All Printers
- path = /var/spool/samba
- printable = Yes
- browseable = No
- [file]
- comment = File
- path = /file
- read only = No
- guest ok = Yes
复制代码
工作组也对了!
smb,nmb服务也启了!
为什么我还是在工作组中找不到这个机器呢
- C:\Documents and Settings\user>nbtstat -a 192.168.1.24
- 本地连接:
- Node IpAddress: [0.0.0.0] Scope Id: []
- Host not found.
- 无线网络连接:
- Node IpAddress: [192.168.1.18] Scope Id: []
- Host not found.
复制代码 |
|