分页: 1 / 1

求助ubuntu 9.04 装samba,xp连接总是报"计算机说连接数最大值,无法再同此远程计算机连接",怎么解决?

发表于 : 2009-10-21 20:20
alvise
很奇怪,我装的 synergyc 还连着呢..,怎么samba无论如何都连接不上,我还参考了 Ray在ubuntu论坛上发的那个 samba的帖子,也没搞定.

在 [homes] 段里 加上了 max connections = 100 也不行,搜索了半天也没解决.

那位大侠帮帮忙吧

SMB.CONF配置文件如下

代码: 全选

[global]
   workgroup = WORKGROUP
   dispaly charset = UTF-8
   unix charset = UTF-8
   dos charset = cp939
   server string = %h server (Samba, Ubuntu)
   dns proxy = no
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   username map = /etc/samba/smbusers
   encrypt passwords = true
   passdb backend = tdbsam
   obey pam restrictions = yes
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
   pam password change = yes
   map to guest = bad user
   usershare allow guests = yes
[homes]

[share]
    comment = Shared Folder with username and password
    path = /home/alvise/share
    public = yes
    writable = yes
    valid users = alvise
    create mask = 0700
    directory mask = 0700
    force user = alvise
    fore group = admin
    available = yes
    browseable = yes
    max connections = 100 
 

Re: 求助ubuntu 9.04 装samba,xp连接总是报"计算机说连接数最大值,无法再同此远程计算机连接&qu

发表于 : 2009-10-21 20:28
O_O_BOT
irc <fvw> say: 用vsftp挺好的

Re: 求助ubuntu 9.04 装samba,xp连接总是报"计算机说连接数最大值,无法再同此远程计算机连接",怎么解决?

发表于 : 2009-10-21 21:14
alvise
好吧我整了个最简单的..,还是连不上,报错,找不到网络路径...


[global]
workgroup = MSHOME
display charset = UTF-8
unix charset = UTF-8
dos charset = cp939
server string = %h server (Samba, Ubuntu)
hosts allow = 10.13.36
security = share
#username map = /etc/samba/smbusers
socket options = TCP_NODELAY
dns proxy = no

log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0

encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
[homes]
comment = Shared Folder with username and password
path = /home/alvise/share
writable = yes
browseable = yes
[share]
comment = Shared Folder with username and password
path = /home/alvise/share
public = yes
writable = yes
valid users = alvise
create mask = 0700
directory mask = 0700
# force user = alvise
# force group = admin
available = yes
browseable = yes
max connections = 100
[webpage]
comment = samba server
path = /home/alvise/share
read only = No
create mask = 0664
directory mask = 0775
public = yes