[Samba] Can Map shares but cannot write

Tom Reijnders reijnders at tor.nl
Wed Jun 30 09:11:11 MDT 2010


Do you have SELinux active?

Op 30-6-2010 17:05, Michael Lyon schreef:
> I've added in: username map = /etc/samba/smbusers
>
> [root at vm-stusrv ~]# more /etc/samba/smbusers
> # Unix_name = SMB_name1 SMB_name2 ...
> root = administrator
> nobody = guest
>
> Restarted smb.
>
> No luck.
>
> Thanks all for the help so far though!
>
> Mike
>
>
> On Wed, Jun 30, 2010 at 9:59 AM, Chris Smith<smb_77 at chrissmith.org>  wrote:
>
>    
>> On Wed, Jun 30, 2010 at 10:45 AM, Michael Lyon<mjlyon at gmail.com>  wrote:
>>      
>>> I've simplified the share as you noted, and still have the same results.
>>>        
>>   If
>>      
>>> I create a file/folder on the linux side, I can read it without a
>>>        
>> problem.
>>      
>>>   Once I map as a Window$ client, I cannot write.
>>>        
>> You have 'public = yes' which is the synonym for 'guest ok = yes' ,
>> therefore anyone should be able to write. Let's make sure we have
>> proper guest capabilities by adding 'username map' parameter and its
>> associated file. For example:
>> In global:
>> username map = /etc/samba/smbusers
>>
>> Contents of  /etc/samba/smbusers:
>> root = administrator
>> nobody = guest
>>
>> And as the guest account is nobody make sure that the nobody account is
>> valid.
>>
>> Restart Samba and if you still have trouble it looks to be a
>> permissions issue on the nix side.
>>
>> Chris
>>
>>      

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196




More information about the samba mailing list