[Samba] Group
Gokan Atmaca
linux.gokan at gmail.com
Sun Sep 14 09:48:52 MDT 2014
Yes, WORKGROUP include all clients.
I changed the password. Still the same problem.
Thanks.
On Sun, Sep 14, 2014 at 3:24 PM, Rowland Penny <rowlandpenny at googlemail.com>
wrote:
> On 14/09/14 13:09, Gokan Atmaca wrote:
>
>> > Hi, I think you are going to have to give us a bit more info, can you
>> post your smb.conf.
>>
>> Please Check here;
>> http://paste.debian.net/120811/
>>
>>
>>
>>
>>
>>
>>
>>
>> On Sun, Sep 14, 2014 at 3:01 PM, Rowland Penny <
>> rowlandpenny at googlemail.com <mailto:rowlandpenny at googlemail.com>> wrote:
>>
>> On 14/09/14 12:50, Gokan Atmaca wrote:
>>
>> Something like:
>> useradd gokan
>> smbpasswd -a gokan
>> groupadd sales
>> useradd -G sales gokan
>>
>> Yes
>>
>> error jpeg;
>> http://i.hizliresim.com/78VLlW.jpg
>>
>>
>>
>>
>> On Sun, Sep 14, 2014 at 2:25 PM, steve <steve at steve-ss.com
>> <mailto:steve at steve-ss.com>> wrote:
>>
>> On Sun, 2014-09-14 at 13:51 +0300, Gokan Atmaca wrote:
>>
>> Hello
>>
>>
>> Thanks for the reply. As I am getting an error.
>> "group name could not be found"
>>
>> Something like:
>>
>> useradd gokan
>> smbpasswd -a gokan
>> groupadd sales
>> useradd -G sales gokan
>>
>> ?
>>
>>
>> On Sun, Sep 14, 2014 at 1:22 PM, steve
>> <steve at steve-ss.com <mailto:steve at steve-ss.com>> wrote:
>> On Sun, 2014-09-14 at 12:50 +0300, Gokan
>> Atmaca wrote:
>> > revised:
>> >
>> > usermod sample-u1 -G sales
>> >
>> > excuse me
>> >
>> > On Sun, Sep 14, 2014 at 12:49 PM, Gokan Atmaca
>> <linux.gokan at gmail.com
>> <mailto:linux.gokan at gmail.com>>
>>
>> > wrote:
>> >
>> > > hello
>> > >
>> > > How can I give permissions based on the
>> groups SAMBA. ?
>> > >
>> > > for example:
>> > > mkdir -p /fileserver/sales
>> > > useradd -m sample-u1
>> > > smbpasswd -a sample-u1
>> > > groupadd sales
>> > > chgrp -R sales /fileserver/sales
>> > >
>> > >
>> > > Smb.conf;
>> > >
>> > > [sales]
>> > > comment = sales
>> > > browseable = yes
>> > > path = /fileserver/sales
>> > > valid users = @sales
>> > > force users = @sales
>> > > force group = @sales
>> > > write list = @sales
>> > > writable = Yes
>> > > readonly = No
>> > > create mode = 0770
>> > > directory mode = 0770
>> > >
>> > >
>> > >
>> > >
>>
>>
>> Probably easier not to use smb.conf:
>> [sales]
>> path = /fileserver/sales
>> read only = no
>>
>> chmod 1770 /fileserver/sales
>> chmod g+s /fileserver/sales
>> setfacl -d -m g:sales:rw /fileserver/sales
>>
>> HTH,
>> Steve
>>
>>
>>
>> --
>> To unsubscribe from this list go to the
>> following URL and read
>> the
>> instructions:
>> https://lists.samba.org/mailman/options/samba
>>
>>
>>
>>
>> Hi, I think you are going to have to give us a bit more info, can
>> you post your smb.conf.
>>
>> Rowland
>>
>>
>> -- To unsubscribe from this list go to the following URL and read
>> the
>> instructions: https://lists.samba.org/mailman/options/samba
>>
>>
>> OK, several questions, does the group 'sales' exist on all clients and
> in samba, are all computers in the workgroup 'WORKGROUP', do all the users
> exist everywhere and do they use the same password everywhere?
>
> Also, it is nice to remove all the comments from a file before you post it.
>
>
> Rowland
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
More information about the samba
mailing list