[Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-05-31 Thread alberto fiaschi
i have also 'nt acl support = No' in samba config -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1743354 Title: samba with backend ldap: can not access share or file even if user is authorized

Re: [Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-05-31 Thread alberto fiaschi
yes , give acccess to all solve the problem. No i I do not use acl , ( for each shared folder two groups of users are associated. A group for rw and one for ro . Groups used in samba [valid users] and [ write list ] in addition I force the creation of all ifle with the same owner and group

[Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-05-30 Thread Andreas Hasenack
In another comment you said you had to chmod files so the user would get access, correct? Are you using, or relying on, posix ACLs? If yes, did you enable that support in the zfs datasets you are exporting? -- You received this bug notification because you are a member of Ubuntu Server, which is

[Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-05-30 Thread Andreas Hasenack
In another comment you said you had to chmod files so the user would get access, correct? Are you using, or relying on, posix ACLs? If yes, did you enable that support in the zfs datasets you are exporting? -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-05-30 Thread alberto fiaschi
@ahasenack Yes. Unfortunately we still have about 2000 clients with windows xp. But I can not verify if the situation described in the bug has occurred. I doubt, because our average user is very obtuse and therefore usually calls helpdesk to restore files -- You received this bug notification

Re: [Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-05-30 Thread alberto fiaschi
*«L'immaginazione è più importante della conoscenza.» - Albert Einstein.* *Alberto M.Fiaschi* *http://it.linkedin.com/pub/alberto-fiaschi * 2018-05-29 22:05 GMT+02:00

[Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-05-29 Thread Andreas Hasenack
I wonder if this from the 4.3.12 release notes is relevant: https://bugzilla.samba.org/show_bug.cgi?id=12172 * BUG 12172: Fix access of snapshot folders via SMB1. @alberto-fiaschi are you seeing this error when accessing the server via protocol SMB1? I'll take a closer look at that bug. **

[Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-05-29 Thread Andreas Hasenack
I wonder if this from the 4.3.12 release notes is relevant: https://bugzilla.samba.org/show_bug.cgi?id=12172 * BUG 12172: Fix access of snapshot folders via SMB1. @alberto-fiaschi are you seeing this error when accessing the server via protocol SMB1? I'll take a closer look at that bug. **

Re: [Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-01-24 Thread alberto fiaschi
2018-01-24 13:41 GMT+01:00 Andreas Hasenack : > Are all your shares on zfs? Or, more importantly, all shares where this > problem happens? > > all shares are on zfs > Do you have it happening on shares where there are no vfs modules being > used? > > all shares use vfs

[Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-01-24 Thread Andreas Hasenack
Are all your shares on zfs? Or, more importantly, all shares where this problem happens? Do you have it happening on shares where there are no vfs modules being used? Also, about my earlier question about the "id" command, I meant if the id command correctly resolves the groups *at the time*

[Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-01-24 Thread Andreas Hasenack
Are all your shares on zfs? Or, more importantly, all shares where this problem happens? Do you have it happening on shares where there are no vfs modules being used? Also, about my earlier question about the "id" command, I meant if the id command correctly resolves the groups *at the time*

Re: [Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-01-24 Thread alberto fiaschi
moreover all shared files are owned by local user nobody and all shares have option force user nobody. See a share config example: [Staff] comment = Staff DAI path = /samba/shares/DAI/groups/dip_staff shadow:format = %Y-%m-%d_%H.%M.%S--5d shadow:sort = desc shadow:snapdir =

[Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-01-24 Thread alberto fiaschi
moreover all shared files are owned by local user nobody and all shares have option force user nobody. See a share config example: [Staff] comment = Staff DAI path = /samba/shares/DAI/groups/dip_staff shadow:format = %Y-%m-%d_%H.%M.%S--5d shadow:sort = desc shadow:snapdir =

Re: [Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-01-23 Thread alberto fiaschi
2018-01-23 13:25 GMT+01:00 Andreas Hasenack : > Thanks for filing this bug in Ubuntu. > > When the problem occurs, does the command "id " show the correct > group membership info for the affected ? > > yes : id show all groups > Do you have any sort of NSS caching service

[Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-01-23 Thread Andreas Hasenack
Thanks for filing this bug in Ubuntu. When the problem occurs, does the command "id " show the correct group membership info for the affected ? Do you have any sort of NSS caching service running, like nscd? If yes, you should perhaps disable it. -- You received this bug notification because

[Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-01-23 Thread Andreas Hasenack
Thanks for filing this bug in Ubuntu. When the problem occurs, does the command "id " show the correct group membership info for the affected ? Do you have any sort of NSS caching service running, like nscd? If yes, you should perhaps disable it. -- You received this bug notification because

[Bug 1743354] Re: samba with backend ldap: can not access share or file even if user is authorized : NT_STATUS_ACCESS_DENIED

2018-01-15 Thread alberto fiaschi
the problem occurs randomly so I think it's a race condition or so -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1743354 Title: samba with backend ldap: can not access share or file even if user