Samba共享不适用于osx用户,但适用于Windows用户?

在Linux上使用webmin我设置了几个samba共享。 我可以使用任何windows计算机访问它们,但是当我使用osx连接到服务器时,finder提示我input用户名和密码,然后告诉我没有骰子。 有什么具体的,需要设置为OSX访问共享与Windows?

我input我的凭据后,它显示我的股份,但是当我select它们中的任何一个,然后给我一个连接到服务器消息的一般错误。

我的smb.conf如下:

[global] log file = /var/log/samba/samba.log guest account = nobody passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . add group script = /usr/sbin/groupadd '%g' admin users = root obey pam restrictions = yes delete group script = /usr/sbin/groupdel '%g' socket options = TCP_NODELAY add user to group script = /usr/sbin/usermod -G '%g' '%u' encrypt passwords = yes passdb backend = tdbsam passwd program = /usr/bin/passwd %u wins support = true dns proxy = no netbios name = FILESERVER server string = Company FileServer unix password sync = yes workgroup = OfficeWG os level = 20 add user script = /usr/sbin/useradd -m '%u' -g users -G users auto services = global security = share syslog = 0 panic action = /usr/share/samba/panic-action %d delete user script = /usr/sbin/userdel -r '%u' max log size = 1000 pam password change = yes [officemain] writeable = yes path = /mainstorage/officemain [homes] browseable = no comment = Home Directory writeable = yes path = /mainstorage/home/%S [markshome] browseable = no comment = Marks Home Folder writeable = yes path = /mainstorage/home/markepstien 

我已经清除了Samba日志,并尝试重新连接。 这里是日志的内容。 我看到它说不正确的密码,但我可以连接正常使用用户/传递从Windows机器。

 [2013/05/06 14:57:52.261776, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2013/05/06 14:57:52.263770, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2013/05/06 14:57:52.264188, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2013/05/06 14:57:52.266115, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2013/05/06 14:57:52.268249, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2013/05/06 14:57:52.271604, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2013/05/06 14:57:55.265867, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2013/05/06 14:57:55.267877, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2013/05/06 14:57:55.268336, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2013/05/06 14:57:55.270168, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2013/05/06 14:57:55.272388, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2013/05/06 14:57:55.275714, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2013/05/06 14:58:02.073941, 1] smbd/service.c:678(make_connection_snum) create_connection_server_info failed: NT_STATUS_WRONG_PASSWORD [2013/05/06 14:58:02.076238, 1] smbd/service.c:678(make_connection_snum) create_connection_server_info failed: NT_STATUS_WRONG_PASSWORD [2013/05/06 14:58:08.104229, 0] param/loadparm.c:8445(check_usershare_stat) check_usershare_stat: file /var/lib/samba/usershares/ owned by uid 0 is not a regular file 

我想我以前曾经在这个testing环境中遇到这个问题。 尽我所能记得,我不得不添加工作组(像你一样),然后从我的Mac连接到server.workgroup.local。

另一个要尝试的是使用[email protected]格式的用户名进行身份validation。

我将尝试从我遇到的问题中find任何注释。

原来是在smbd.conf文件的全局部分中。 只要我删除全局部分中的所有内容,然后用一个workgroup = officeWGreplace它,然后所有的东西都开始在osx上工作了。

问题出在您的security = share设置。 我有一个类似的情况,我的OS X客户端无法连接到我的Samba共享。 我解决了它通过使用security = user

我有这个问题,并通过确保共享目录是由samba用户拥有和mod是774的目录来解决它。