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

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
alvise
帖子: 4
注册时间: 2009-10-21 16:19

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

#1

帖子 alvise » 2009-10-21 20:20

很奇怪,我装的 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 
 
头像
O_O_BOT
帖子: 2461
注册时间: 2009-05-20 19:32

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

#2

帖子 O_O_BOT » 2009-10-21 20:28

irc <fvw> say: 用vsftp挺好的
irc 聊天室
ubuntu-cn 的irc 频道为
irc.ubuntu.com 8001 #ubuntu-cn
UTF8编码 可用 irssi xchat pidgin weechat 登录

http://webchat.freenode.net/?channels=ubuntu-cn
[url]irc://irc.freenode.net/ubuntu-cn[/url]
alvise
帖子: 4
注册时间: 2009-10-21 16:19

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

#3

帖子 alvise » 2009-10-21 21:14

好吧我整了个最简单的..,还是连不上,报错,找不到网络路径...


[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
回复