the one 未能链接服务器,一个Windows 2008 R2服务器无法连接到samba共享,其他人可以(One Windows 2008 R2 server can't connect to s...

一个Windows 2008 R2服务器无法连接到samba共享,其他人可以(One Windows 2008 R2 server can't connect to samba share, others can)

嗨,我有以下Samba配置

[root@PCP66STORAGE04 log]# testparm

Load smb config files from /etc/samba/smb.conf

rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)

WARNING: The "null passwords" option is deprecated

Processing section "[public]"

Processing section "[data]"

Processing section "[recstore66]"

WARNING: The security=share option is deprecated

Loaded services file OK.

Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

[global]

server string = Data Centre Server Version %v

security = SHARE

null passwords = Yes

log file = /var/log/samba/log.%m

max log size = 50

preferred master = Yes

default service = global

winbind use default domain = Yes

idmap config * : backend = tdb

path = /var/local/public

read only = No

guest ok = Yes

cups options = raw

[public]

comment = Public Stuff

create mask = 0755

[data]

path = /var/local/data

[recstore66]

comment = recstore66

path = /var/local/samba/recstore66

[root@PCP66STORAGE04 log]#

我的一个Windows 2008服务器无法浏览Samba recstore66共享,但其他人可以这样做。 无法连接的服务器位于同一子网内,具有相同的网关等。它们可以相互ping通。 不确定这里发生了什么,你能指点我正确的方向吗?

谢谢。

Hi I have the following Samba configuration

[root@PCP66STORAGE04 log]# testparm

Load smb config files from /etc/samba/smb.conf

rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)

WARNING: The "null passwords" option is deprecated

Processing section "[public]"

Processing section "[data]"

Processing section "[recstore66]"

WARNING: The security=share option is deprecated

Loaded services file OK.

Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

[global]

server string = Data Centre Server Version %v

security = SHARE

null passwords = Yes

log file = /var/log/samba/log.%m

max log size = 50

preferred master = Yes

default service = global

winbind use default domain = Yes

idmap config * : backend = tdb

path = /var/local/public

read only = No

guest ok = Yes

cups options = raw

[public]

comment = Public Stuff

create mask = 0755

[data]

path = /var/local/data

[recstore66]

comment = recstore66

path = /var/local/samba/recstore66

[root@PCP66STORAGE04 log]#

One of my windows 2008 servers can not browse the Samba recstore66 share, but others can do this just fine. The server that can not connect is on the same subnet, has same gateway etc. They can ping each other. Not sure what's going on here, can you please point me in the right direction?

Thanks.

原文:https://stackoverflow.com/questions/19625201

更新时间:2020-01-04 15:44

最满意答案

我的Windows服务器正在使用SMB2。

赛跑

To disable SMBv2 and SMBv3 on the SMB client, run the following commands:

sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi

sc.exe config mrxsmb20 start= disabled

修好了:D

My Windows server was using SMB2.

running

To disable SMBv2 and SMBv3 on the SMB client, run the following commands:

sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi

sc.exe config mrxsmb20 start= disabled

fixed it :D

相关问答

windows server 2008 R2 IIS7.5配置PHP 在Windows server 2008 R2的官方文档上说IIS7.5运行PHP性能有显著的提升,完全可以和LAMP比拼。笔者就亲自配置一下在Windows Server 2008 R2的IIS7.5上运行PHP程序。 准备工作: IIS7.5 PHP_5.2.14_Thread safe MySQL_5.1.51(x64) Zend optimizer 3.3.3 首先安装IIS7.5,IIS7.5采用模块化设计,根据所需功

...

在您的FreeTDS配置中(通常在配置中的/etc/freetds/freetds.conf中),更改text size的值: text size = 4294967295

这是IIRC的最大值。 我相信FreeTDS 0.91你的默认值可能是64512。 Looking at the SQL Profiler, I found out the Rails application was opening way too many connections on the MSSQL server.

...

如果您的实例被称为SQLEXPRESS ,那么您需要使用.\SQLEXPRESS或(local)\SQLEXPRESS或yourMachineName\SQLEXPRESS作为您的服务器名称 - 如果您有命名实例 ,则需要在服务器名称中指定实例的名称。 If your instance is called SQLEXPRESS, then you need to use .\SQLEXPRESS or (local)\SQLEXPRESS or yourMachineName\SQLEXPRESS

...

看看这篇文章 。 如果您的错误消息如下所示: 消息18456,级别14, 状态1 ,服务器,第1行登录失败,用户'' 您需要查看错误消息的状态部分以找出问题的原因。 无论如何,如果您提供完整的错误消息会更好。 Look at this article. If your error message looks like this: Msg 18456, Level 14, State 1, Server , Line 1 Login failed for user '' you need to lo

...

我似乎对TCP连接权限错了,这不是编程/ php特定的错误。 以下博客文章描述了这个问题,如果将来有人在这个问题上遇到同样的错误。 http://dbccpage.wordpress.com/2011/11/19/how-to-solve-error-18456-severity-14-state-12-login-based-server-access-validation-failed-with-an-基础设施错误检查换先前的错误/ 我不知道为什么这个问题只出现在我们的Windows Serv

...

我的Windows服务器正在使用SMB2。 赛跑 To disable SMBv2 and SMBv3 on the SMB client, run the following commands:

sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi

sc.exe config mrxsmb20 start= disabled

修好了:D My Windows server was using SMB2. running To

...

你尝试过什么? 什么不起作用? 最直接的解决方案是通过SQL身份验证(用户/密码)访问数据库并使用类似于下面的连接字符串,其中datasource是您的数据库本地IP地址

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值