Leland,
Thank you. I don't know which smb.conf file you want, the one on the Linux
file server, or the one on the Mac laptop.
Please remember: The Linux (CentOS) server is the file server, the Mac is a
client.
Please also remember, this isn't just SAMBA sharing, this is a SAMBA
NT-style domain, where security is handled by the domain server, not the
file server. The smb.conf file on the server refers "security issues" to
the domain server (which is not the same box as the file server) for
resolution. It has to stay that way in order for this to work as a domain.
The share function on the server, using SAMBA 3, works just fine for nearly
100 Windows workstations on my domain. Therefore I have to assume that the
server share is configured correctly. And if it's not, I'm not going to
change it to make one Mac work and potentially cause it to stop working for
the Windows machines. The problem has to be on the Mac.
That being said:
There is no /samba/ directory in /etc/ on this Mac. I'm assuming that would
mean that SAMBA is not installed.
However, the following commands:
cifs://xxx.xxx.xxx.xxx
smb://xxx.xxx.xxx.xxx
both work, insofar as they will generate a dialog where the user can enter
credentials. How can that be if SAMBA is required for this operation, but
is not installed? If SAMBA is not installed, shouldn't the cifs and smb
commands not be recognized and generate an error?
The problem is that when the user enters the credentials, they are not
accepted.
Thanks.
Ken Dibble
www.stic-cil.org
Could you post a copy of your /etc/samba/smb.conf file, or post the full
output of [ testparm -v ], without the brackets, from the command line?
The -v option lists everything including defaults.
Try to connect your Mac user to samba using smbclient. I'm running samba
locally and can connect to samba from 192.168.1.109 using the following
command:
$ smbclient -L 192.168.1.78 --user=leland
After typing the above into a command line, I'm prompted for a
password. After entering the password, I can connect.
Make sure you have all necessary samba programs install on the Mac.
Make sure the Mac user has been properly added to the your Linux samba
server, and his samba password setup. The following link explains how:
http://www.cyberciti.biz/faq/adding-a-user-to-a-samba-smb-share/
Make sure the samba ports 137, 138, and 139 are not blocked by any firewalls.
Make sure your smb.conf file give read/write permissions to the share, (eg
read only = no).
The following link may also help:
https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/problems.html
Regards,
LelandJ
On 03/11/2014 02:02 PM, Leland F Jackson wrote:
Could you post a copy of your /etc/samba/smb.conf file, or post the full
output of [ testparm -v ], without the brackets, from the command
line? The -v option list everything including defaults.
Try to connect your Mac user to samba using smbclient. I'm running samba
locally and can connect to samba from 192.168.1.109 using the following
command:
smbclient -L 192.168.1.78 --user=leland
After typing the above into a command line, I'm prompted for a password,
and able to connect after entering it. The password must be enter into
the samba server using the
Make sure you have samba install on the Mac.
Make sure the Mac samba user has been properly added with samba password.
http://www.cyberciti.biz/faq/adding-a-user-to-a-samba-smb-share/
Make sure the samba ports 137, 138, and 139 and not blocked by any firewalls.
Regards,
LelandJ
On 03/11/2014 10:11 AM, Ken Dibble wrote:
A gray share means that the user is already connected, most likely with
his default account.
Thanks Christof.
"Default account"? I am not familiar with Macs, but the user is not
logging into his local machine with the domain user account I am
referring to. He has his own local account for the Mac. I don't see how
the Mac would automatically know his domain user account credentials in
order to connect to a network share. However, he is clearly not
connected to the share I want him to access.
The user can see all machines on the network.
The user can see all the share folders on the CentOS file server.
Sometimes the Mac indicates the user is connected to the file server as
"Guest", and sometimes it does not. Clearly there are bugs in this
interface. However, whether or not a successful connection is indicated,
the user has no access to the contents of the share I want him to have.
Being "allegedly" connected as "Guest" no longer confers access since
changes were made to the file server to disallow guest access.
From the Network list, the Mac user can click on the share folder on
the server and press "Connect As..." and get a dialog to present his
credentials today (yesterday this wouldn't work). He can then enter the
domain user credentials to log into the share, but the Mac won't accept
them. The dialog box shakes back and forth and nothing happens.
As I mentioned, I know these credentials are correct because they work
for the internal email being served by the SAMBA 3 domain controller.
It has been suggested that these problems may be due to bugs in SMB2.
If you have any further thoughts I would be most appreciative.
Thanks.
Ken Dibble
www.stic-cil.org
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.