[Samba] Problems with Access Control for Shares on Samba 2

remote remote at leat.ruhr-uni-bochum.de
Wed Jan 26 13:07:36 GMT 2005


Hi Christoph,

thanks for the help.... unfortunately your suggestion doesn´t change the 
server´s behavior. hobbit5 still has both read and write permission (as 
intended), but other users still can´t enter the directory. Any other ideas 
?

Thanks,

Jörg


> hi,
> to achive what you want the [hobbit5] should read
> [hobbit5]
>      comment = hobbit5
>      path = /ALPHA-DATA/hobbit5
>      browseable = yes
>      read only = yes
>      guest ok = yes
>      write list = hobbit5
>  ;    force user = hobbit5
>
> Christoph
>
> remote schrieb:
>> Hi all !
>>
>> I have a question regarding the access control in Samba 2. I want to make 
>> shares available to the Windows Network for which only the owner of the 
>> share has write access. Other users however should be able to read and 
>> browse these shares. My smb.conf : global]
>>    workgroup = leat
>>    guest account = nobody
>>    keep alive = 30
>>    os level = 2
>>    kernel oplocks = false
>>    security = user
>>
>> [hobbit5]
>>     comment = hobbit5 path = /ALPHA-DATA/hobbit5
>>     browseable = yes
>>     read only = no guest = ok
>>     valid user = hobbit5 ;    force user = hobbit5
>>
>> As far as I understand Samba, with this configuration any Samba user 
>> should be able to browse and read the hobbit5 - share, while only hobbit5 
>> himself can write and delete within this share. However, what happens is 
>> that any Samba user can see the share in the Network Neighborhood, but 
>> except for hobbit5, none can enter it. Windows tells me that either the 
>> path is not correct or I don´t have the network privileges to do this. 
>> What do I do wrong ?
>>
>> Thanks,
>>
>> Jörg
> 



More information about the samba mailing list