samba 问题

http://askubuntu.com/questions/772730/samba-software-caused-connection-abort




I am trying to create samba file server(ubuntu 14.04) on my local network, I can connect to samba server from another ubuntu 14.04 and enter the shared folder as a guest, but after creating a directory i'm getting following error:

Software caused connection abort

The point is that when i re-enter the shared folder i can see the created directory! so i have required write and read permissions,

i have tried different forms of configuration in smb.conf with no success, even when i share a directory by right clicking and selecting local network share from the context menu, i will face the same error!

Also when i do the same procedure using smbclient:

NT_STATUS_CONNECTION_DISCONNECTED making remote directory \test smb: > SMBecho failed (NT_STATUS_CONNECTION_DISCONNECTED). The connection is disconnected now

share edit
 

2 Answers

up vote 0 down vote accepted

After two weeks i finally solved it! 

The problem is that the new version of samba has a mind blowing bug, so every one that has a similar problem use following command to downgrade their samba:

sudo apt-get install samba=2:4.1.6+dfsg-1ubuntu2 samba-common=2:4.1.6+dfsg-1ubuntu2 samba-libs=2:4.1.6+dfsg-1ubuntu2 samba-common-bin=2:4.1.6+dfsg-1ubuntu2 samba-dsdb-modules=2:4.1.6+dfsg-1ubuntu2 python-samba=2:4.1.6+dfsg-1ubuntu2 libldb1=1:1.1.16-1 python-ldb=1:1.1.16-1

share edit
 

In a security update (19 april 2016) a dependency has been forgotten. You have to update library libtalloc2 with apt-get install libtalloc2


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值