[Samba] problem giving setting user permissions on specific folder

Gaiseric Vandal
Wed, 28 Jan 2015 18:27:28 -0000

Sometimes I have had problems with member servers.  With the windows
client, I set permissions on the file.  But when I open the permissions
windows, the permissions have not been retained.         I use Samba 3.x
machines as "classic" domain controllers-  I suspect you are using an
Win 200x AD domain controller.


On the linux machine, what happens if you type "wbinfo -u" or
"wbinfo -g" ?




On 01/28/15 13:21, Alberto Valdes Gonzalez wrote:
> Hello:
>
> INTERN is the domain name.
>
> The samba server is running on a linux machine and the domain server
> in another windows machine
>
> When i go to the security tab and add the user i see him as
> user at domain.com.
>
> What do you mean with "Are the permissions sticking in windows"?
>
> thanks
>
> Alberto
>
>
> On 28.01.2015 18:54, Gaiseric Vandal wrote:
>> On 01/28/15 12:07, Alberto Valdes Gonzalez wrote:
>>> Hello:
>>>
>>> I have this user who should have read write permissions in the
folders
>>>
>>> \\server/folder1/folder2
>>>
>>> \\server/folder4
>>>
>>> Using windows I set the permission for this user but it does not
>>> work. I can not access the folders
>>>
>>> If I try
>>>
>>> server ~ # smbclient //server/folder1 -U username
>>> Enter username's password:
>>> Domain=[INTERN] OS=[Unix] Server=[Samba 3.6.23]
>>> tree connect failed: NT_STATUS_ACCESS_DENIED
>>>
>>> i get that.
>>>
>>> Can anyone please help me?
>>>
>>> Thanks
>>>
>>> Alberto
>>>
>>
>>
>> Is this server a domain controller or member server?  If a member
>> server, do you have winbind running?
>>
>> Is "INTERN" the domain name or the local machine name?
>>
>> When setting the permissions in windows, do you see the user as
>> INTERN\user or UNIX\user?   Are the permissions sticking in windows?
>
> --
>
> /Alberto Valdes/
>
> /I.T. Engineer/
>
>
> /SpaceTech GmbH/
>
> /Seelbachstr.//13/
>
> /D-88090 Immenstaad/
>
> /www.spacetech-i.com/ <http://www.spacetech-i.com/>
>
>
> /Phone: +49-7545-93284-103 /
>
> /Email: //alberto.valdes at spacetech-i.com/
> <mailto:alberto.valdes at spacetech-i.com>
>
>
> SpaceTech GmbH, Amtsgericht Ulm, HRB-Nr. 632023
>
> Executive board: Bernhard Doll (CEO), Frank Gilles
>