[Samba] Win8 account sees its home share, but "does not have permissions to access"

Mark Galeck mark at xpliant.com
Tue Jul 2 12:34:57 MDT 2013


Dale, thank you for your help!  However...

I had already checked all the things you are asking.  Permissions are good,
I tried without this parameter, and there is not any error indication in
the logs.  Still the same problem.


On Mon, Jul 1, 2013 at 9:11 AM, Dale Schroeder <
dale at briannassaladdressing.com> wrote:

> Mark,
>
> First verify that the posix permissions are good for your home directory:
> ls -lA /home/mark
> If those are good, then I would try removing the hosts allow parameter in
> [global].
> If that doesn't work, checking the Samba logs is always a good idea.
>
> Dale
>
>
> On 06/28/2013 6:03 PM, Mark Galeck wrote:
>
>> Hello,
>>
>> I am a beginner to Samba and I RTFMd carefully but cannot get started.
>>
>> I want to access my user account "mark" home directory on Linux, with the
>> same account name on Windows 8.
>>
>> The user "mark" has the same password on Linux and Windows 8.  In addition
>> I did this on Linux
>>
>>  smbpasswd -a mark
>>>
>> and gave the same password.
>>
>> Following the manuals on samba website I edited the samba configuration
>> smb.conf file so:
>>
>> [global]
>>          hosts allow = ALL
>>          client signing = no
>>          # log files split per-machine:
>>          log file = /var/log/samba/log.%m
>>          # maximum size of 50KB per log file, then rotate:
>>          max log size = 50
>>          security = user
>>
>> [homes]
>>          valid users = %S
>>          read only = No
>>
>>
>> and successfully started the samba service.
>>
>> I can then see "mark" share on that Linux machine from Windows, I can map
>> it to a drive letter in Windows Explorer, and I also see this:
>>
>> [root at v64-sw-dev003-mark /]# smbstatus
>>
>> Samba version 3.6.12-1.fc17
>> PID     Username      Group         Machine
>> ------------------------------**------------------------------**-------
>> 14678     mark          mark          mark-pc      (192.168.221.76)
>>
>> Service      pid     machine       Connected at
>> ------------------------------**-------------------------
>> mark         14678   mark-pc       Fri Jun 28 15:56:39 2013
>>
>> No locked files
>>
>>
>>
>> This all looks very good to me, as Samba server sees my client with the
>> correct username, Windows machine name and IP address.
>>
>>
>> YET, when I actually try to double-click on the share in the Windows
>> Explorer, I get an error dialog:
>>
>>
>> Windows cannot access \\192.168.221.32\mark
>> You do not have permission to access \\192.168.221.32\mark\. Contact your
>> network administrator to request access.
>>
>>
>> 192.168.221.32 is the Linux machine address.
>>
>> Please, what am I doing wrong??
>>
>> Thank you,
>>
>> Mark
>>
>
>
>


More information about the samba mailing list