- 论坛徽章:
- 0
|
编译安装samba3.0.32出现“找不到网络路径”的问题。ubuntu8.4为什么在编译安装前有个samba目录(/etc/samba)?
我把samba3.0.32安装在/usr/local/samba目录下和/etc/samba有冲突吗?
运行testparm检测的是/etc/samba/smb.conf 文件不是/usr/local/samba/bin/smb.conf,把/usr/local/samba/bin/smb.conf拷到/etc /samba目录下,运行testparm显示如下:
walker@walker-computer:~$ testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[sh_walker]"
Processing section "[pchome]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
server string = Samba Server
guest account = pcguest
log file = /usr/local/samba/var/log.%m
max log size = 50
dns proxy = No
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No
[sh_walker]
comment = Public Stuff
path = /usr/sh_walker
write list = @staff
read only = No
guest ok = Yes
[pchome]
path = /usr/pc/%m
read only = No
执行:smbclient -L localhost
显示:
walker@walker-computer:~$ smbclient -L localhost
Error connecting to 127.0.0.1 (连接被拒绝)
Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
不知道问题出在什么地方?麻烦指教一下。谢谢 |
|