Alberto Valdes Gonzalez
2015-Jan-28 17:07 UTC
[Samba] problem giving setting user permissions on specific folder
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
Gaiseric Vandal
2015-Jan-28 17:54 UTC
[Samba] problem giving setting user permissions on specific folder
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?
Gaiseric Vandal
2015-Jan-28 18:27 UTC
[Samba] problem giving setting user permissions on specific folder
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 >
Alberto Valdes Gonzalez
2015-Jan-28 18:31 UTC
[Samba] problem giving setting user permissions on specific folder
Yes actually the AD is a windows server 2003. The folder and files retain the permissions without any problem. The user i am adding belongs to the group owning that folder i checked that, and the group has read write permissions. Alberto On 28.01.2015 19:27, Gaiseric Vandal wrote:> 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 >> >-- /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
Alberto Valdes Gonzalez
2015-Jan-28 18:33 UTC
[Samba] problem giving setting user permissions on specific folder
If i type "wbinfo -u" i get a list of the users and the problematic user is on that list and when i type "wbinfo -g" i get the list of groups and the group owning the folder is there Alberto On 28.01.2015 19:27, Gaiseric Vandal wrote:> 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 >> >-- /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
Rowland Penny
2015-Jan-28 18:39 UTC
[Samba] problem giving setting user permissions on specific folder
On 28/01/15 17: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 >Can you post the results of the following commands: ls -la /folder1 ls -la /folder1/folder2 getfacl /folder1 getfacl /folder1/folder2 Rowland
Alberto Valdes Gonzalez
2015-Jan-28 18:45 UTC
[Samba] problem giving setting user permissions on specific folder
Hi Rowland: voyager /data/company # ls -la folder1/ insgesamt 56 drwxrwxr-x+ 1 administrator dom?nen-benutzer 744 26. Sep 12:45 . drwxr-xr-x 9 root root 4096 25. Sep 23:33 .. drwxrwxr-x+ 1 user dom?nen-benutzer 200 20. Jan 14:40 folderx drwxrwxr-x+ 1 user dom?nen-benutzer 288 19. Jan 14:19 folderxt drwxrwxr-x+ 1 administrator dom?nen-benutzer 20 26. Sep 00:18 folderx drwxrwxr-x+ 1 user dom?nen-benutzer 1210 26. Sep 00:18 folderx drwxrwxr-x+ 1 administrator dom?nen-benutzer 474 25. Sep 23:39 folderx drwxrwxr-x+ 1 user dom?nen-benutzer 536 25. Sep 23:39 folderx sorry i had to change the owner name to "user" and the folders name to "folderx" because i cannot publish the real names. The user i am having problem with belongs to the "dom?nen-benutzer" group. "dom?nen-benutzer" is the group owning all the folders in my samba server thanks Alberto - On 28.01.2015 19:39, Rowland Penny wrote:> On 28/01/15 17: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 >> > > Can you post the results of the following commands: > > ls -la /folder1 > > ls -la /folder1/folder2 > > getfacl /folder1 > > getfacl /folder1/folder2 > > Rowland-- /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
Maybe Matching Threads
- problem giving setting user permissions on specific folder
- problem giving setting user permissions on specific folder
- problem giving setting user permissions on specific folder
- Sub-Sub-Subfolders not shown after converting from maildir to mdbox
- fI'll post again as I did not get any replies