Philippe LeCavalier
2017-Jan-27 15:52 UTC
[Samba] AD DC Corrupt recycle bin in redirected folders
On Thu, Jan 26, 2017 at 10:32 AM Philippe LeCavalier < support at plecavalier.com> wrote:> On Wed, Jan 18, 2017 at 10:43 AM Philippe LeCavalier < > support at plecavalier.com> wrote: > > Hi everyone, > > First off, I really don't know what to provide so please just ask what is > needed. Here's what I think is relevant starting with a brief description: > > I have samba4 as AD DC for windows 10 clients. Roaming profiles are on a > share on the DC and are working perfectly. However, redirected folder, also > residing on the DC are not working as expected. I have yet to put my finger > on exactly how this is occurring but at some random time, usually a few > days, the user suddenly gets a warning that each recycle bin on /her/his > redirected folders is corrupt. > > I manage the permissions on a Win7 station in the local LAN. When I login > to that station and check the permissions and ownership it appears fine to > me. However, if I check off the 'replace permissions and ownership...' > checkbox to re-apply (without changing anything) and have the user log > off/on everything returns to normal. A few days go by and the same issue > re-appears. > > This is a pretty fresh setup. I install the AD DC on a brand new system, > created all the users from scratch and copied their docs over. (and set > permissions accordingly including a replace on subfolders for perms and > owner). Windows stations are also brand new and have the most recent MS > updates. > > Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 > GNU/Linux > > samba 4.2.10+dfsg-0+deb8u3 amd64 > > redirected folders are: documents, favorites, desktop, cookies and start > menu applied via GPO as per wiki. (permissions initially set as per wiki as > well) > > I know it's not advised to host shared files on the DC but was thinking > since they're not shares accessed by anyone else but the owner it would be > suitable to host them on the DC. I can host them on a separate samba > machine if that will resolve this (or make things simpler and at least help > in resolving this). > > The only thing catching my eye in the logs is this: > open_internal_pipe: Could not connect to lsarpc pipe: > NT_STATUS_UNSUCCESSFUL > [2016/12/07 12:24:28.522364, 0] > ../source3/winbindd/winbindd_cm.c:1670(wb_open_internal_pipe) > open_internal_pipe: Could not connect to dssetup pipe: > NT_STATUS_UNSUCCESSFUL > > Like I said if there's something I can provide that's more relevant please > just ask. > -- > Regards, > Phil > > > Anyone? > -- > Regards, > Phil >Just wanted to clarify that the problem isn't the corrupt recycle bin error. Once this happens the user is denied all access to the redirected folders- I just mentioned the recycle bin because that's the first error the user sees. I've revisited the wiki on redirected folders many many times to no avail. Yet placing a checkmark on replacing permissions for subfolders in advanced fixes the problem every time. Any insight whatsoever would be greatly appreciated! I'm forced to fix this 2 or 3 times a day now. -- Regards, Phil
lingpanda101
2017-Jan-27 16:11 UTC
[Samba] AD DC Corrupt recycle bin in redirected folders
On 1/27/2017 10:52 AM, Philippe LeCavalier via samba wrote:> On Thu, Jan 26, 2017 at 10:32 AM Philippe LeCavalier < > support at plecavalier.com> wrote: > >> On Wed, Jan 18, 2017 at 10:43 AM Philippe LeCavalier < >> support at plecavalier.com> wrote: >> >> Hi everyone, >> >> First off, I really don't know what to provide so please just ask what is >> needed. Here's what I think is relevant starting with a brief description: >> >> I have samba4 as AD DC for windows 10 clients. Roaming profiles are on a >> share on the DC and are working perfectly. However, redirected folder, also >> residing on the DC are not working as expected. I have yet to put my finger >> on exactly how this is occurring but at some random time, usually a few >> days, the user suddenly gets a warning that each recycle bin on /her/his >> redirected folders is corrupt. >> >> I manage the permissions on a Win7 station in the local LAN. When I login >> to that station and check the permissions and ownership it appears fine to >> me. However, if I check off the 'replace permissions and ownership...' >> checkbox to re-apply (without changing anything) and have the user log >> off/on everything returns to normal. A few days go by and the same issue >> re-appears. >> >> This is a pretty fresh setup. I install the AD DC on a brand new system, >> created all the users from scratch and copied their docs over. (and set >> permissions accordingly including a replace on subfolders for perms and >> owner). Windows stations are also brand new and have the most recent MS >> updates. >> >> Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 >> GNU/Linux >> >> samba 4.2.10+dfsg-0+deb8u3 amd64 >> >> redirected folders are: documents, favorites, desktop, cookies and start >> menu applied via GPO as per wiki. (permissions initially set as per wiki as >> well) >> >> I know it's not advised to host shared files on the DC but was thinking >> since they're not shares accessed by anyone else but the owner it would be >> suitable to host them on the DC. I can host them on a separate samba >> machine if that will resolve this (or make things simpler and at least help >> in resolving this). >> >> The only thing catching my eye in the logs is this: >> open_internal_pipe: Could not connect to lsarpc pipe: >> NT_STATUS_UNSUCCESSFUL >> [2016/12/07 12:24:28.522364, 0] >> ../source3/winbindd/winbindd_cm.c:1670(wb_open_internal_pipe) >> open_internal_pipe: Could not connect to dssetup pipe: >> NT_STATUS_UNSUCCESSFUL >> >> Like I said if there's something I can provide that's more relevant please >> just ask. >> -- >> Regards, >> Phil >> >> >> Anyone? >> -- >> Regards, >> Phil >> > Just wanted to clarify that the problem isn't the corrupt recycle bin > error. Once this happens the user is denied all access to the redirected > folders- I just mentioned the recycle bin because that's the first error > the user sees. > > I've revisited the wiki on redirected folders many many times to no avail. > Yet placing a checkmark on replacing permissions for subfolders in advanced > fixes the problem every time. Any insight whatsoever would be greatly > appreciated! I'm forced to fix this 2 or 3 times a day now.I can think of two things. One when applying the GPO, did you grant the user exclusive rights? Two, I think the issue stems from redirecting the users desktop. I had similar issues as well. Does this issue happen when a user deletes a file? I'm curious if you disable the recycle bin for that folder where the file was deleted, if the issue goes away. You can do this by right clicking the recycle bin and choosing properties. -- - James
Philippe LeCavalier
2017-Feb-09 16:02 UTC
[Samba] AD DC Corrupt recycle bin in redirected folders
On Fri, Jan 27, 2017 at 10:52 AM Philippe LeCavalier < support at plecavalier.com> wrote:> On Thu, Jan 26, 2017 at 10:32 AM Philippe LeCavalier < > support at plecavalier.com> wrote: > > On Wed, Jan 18, 2017 at 10:43 AM Philippe LeCavalier < > support at plecavalier.com> wrote: > > Hi everyone, > > First off, I really don't know what to provide so please just ask what is > needed. Here's what I think is relevant starting with a brief description: > > I have samba4 as AD DC for windows 10 clients. Roaming profiles are on a > share on the DC and are working perfectly. However, redirected folder, also > residing on the DC are not working as expected. I have yet to put my finger > on exactly how this is occurring but at some random time, usually a few > days, the user suddenly gets a warning that each recycle bin on /her/his > redirected folders is corrupt. > > I manage the permissions on a Win7 station in the local LAN. When I login > to that station and check the permissions and ownership it appears fine to > me. However, if I check off the 'replace permissions and ownership...' > checkbox to re-apply (without changing anything) and have the user log > off/on everything returns to normal. A few days go by and the same issue > re-appears. > > This is a pretty fresh setup. I install the AD DC on a brand new system, > created all the users from scratch and copied their docs over. (and set > permissions accordingly including a replace on subfolders for perms and > owner). Windows stations are also brand new and have the most recent MS > updates. > > Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 > GNU/Linux > > samba 4.2.10+dfsg-0+deb8u3 amd64 > > redirected folders are: documents, favorites, desktop, cookies and start > menu applied via GPO as per wiki. (permissions initially set as per wiki as > well) > > I know it's not advised to host shared files on the DC but was thinking > since they're not shares accessed by anyone else but the owner it would be > suitable to host them on the DC. I can host them on a separate samba > machine if that will resolve this (or make things simpler and at least help > in resolving this). > > The only thing catching my eye in the logs is this: > open_internal_pipe: Could not connect to lsarpc pipe: > NT_STATUS_UNSUCCESSFUL > [2016/12/07 12:24:28.522364, 0] > ../source3/winbindd/winbindd_cm.c:1670(wb_open_internal_pipe) > open_internal_pipe: Could not connect to dssetup pipe: > NT_STATUS_UNSUCCESSFUL > > Like I said if there's something I can provide that's more relevant please > just ask. > -- > Regards, > Phil > > > Anyone? > -- > Regards, > Phil > > > Just wanted to clarify that the problem isn't the corrupt recycle bin > error. Once this happens the user is denied all access to the redirected > folders- I just mentioned the recycle bin because that's the first error > the user sees. > > I've revisited the wiki on redirected folders many many times to no avail. > Yet placing a checkmark on replacing permissions for subfolders in advanced > fixes the problem every time. Any insight whatsoever would be greatly > appreciated! I'm forced to fix this 2 or 3 times a day now. > -- > Regards, > Phil >Something isn't right here. I was searching the web for alternate help on this and landed on this thread and low and behold someone answered to this the very same day[1] yet I don't have this in my email thread. I thought it was odd no one responded. Now it looks like I'm the one who did not respond... ref: [1] L.P.H. van Belle belle at bazuin.nl Wed Jan 18 16:20:53 UTC 2017 -- Regards, Phil
Philippe LeCavalier
2017-Feb-09 16:52 UTC
[Samba] AD DC Corrupt recycle bin in redirected folders
There is another reply to this I never got and I'm unable to communicate back to respond to their suggestions. On Thu, Feb 9, 2017 at 11:02 AM Philippe LeCavalier <support at plecavalier.com> wrote:> On Fri, Jan 27, 2017 at 10:52 AM Philippe LeCavalier < > support at plecavalier.com> wrote: > > On Thu, Jan 26, 2017 at 10:32 AM Philippe LeCavalier < > support at plecavalier.com> wrote: > > On Wed, Jan 18, 2017 at 10:43 AM Philippe LeCavalier < > support at plecavalier.com> wrote: > > Hi everyone, > > First off, I really don't know what to provide so please just ask what is > needed. Here's what I think is relevant starting with a brief description: > > I have samba4 as AD DC for windows 10 clients. Roaming profiles are on a > share on the DC and are working perfectly. However, redirected folder, also > residing on the DC are not working as expected. I have yet to put my finger > on exactly how this is occurring but at some random time, usually a few > days, the user suddenly gets a warning that each recycle bin on /her/his > redirected folders is corrupt. > > I manage the permissions on a Win7 station in the local LAN. When I login > to that station and check the permissions and ownership it appears fine to > me. However, if I check off the 'replace permissions and ownership...' > checkbox to re-apply (without changing anything) and have the user log > off/on everything returns to normal. A few days go by and the same issue > re-appears. > > This is a pretty fresh setup. I install the AD DC on a brand new system, > created all the users from scratch and copied their docs over. (and set > permissions accordingly including a replace on subfolders for perms and > owner). Windows stations are also brand new and have the most recent MS > updates. > > Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 > GNU/Linux > > samba 4.2.10+dfsg-0+deb8u3 amd64 > > redirected folders are: documents, favorites, desktop, cookies and start > menu applied via GPO as per wiki. (permissions initially set as per wiki as > well) > > I know it's not advised to host shared files on the DC but was thinking > since they're not shares accessed by anyone else but the owner it would be > suitable to host them on the DC. I can host them on a separate samba > machine if that will resolve this (or make things simpler and at least help > in resolving this). > > The only thing catching my eye in the logs is this: > open_internal_pipe: Could not connect to lsarpc pipe: > NT_STATUS_UNSUCCESSFUL > [2016/12/07 12:24:28.522364, 0] > ../source3/winbindd/winbindd_cm.c:1670(wb_open_internal_pipe) > open_internal_pipe: Could not connect to dssetup pipe: > NT_STATUS_UNSUCCESSFUL > > Like I said if there's something I can provide that's more relevant please > just ask. > -- > Regards, > Phil > > > Anyone? > -- > Regards, > Phil > > > Just wanted to clarify that the problem isn't the corrupt recycle bin > error. Once this happens the user is denied all access to the redirected > folders- I just mentioned the recycle bin because that's the first error > the user sees. > > I've revisited the wiki on redirected folders many many times to no avail. > Yet placing a checkmark on replacing permissions for subfolders in advanced > fixes the problem every time. Any insight whatsoever would be greatly > appreciated! I'm forced to fix this 2 or 3 times a day now. > -- > Regards, > Phil > > > Something isn't right here. I was searching the web for alternate help on > this and landed on this thread and low and behold someone answered to this > the very same day[1] yet I don't have this in my email thread. I thought it > was odd no one responded. Now it looks like I'm the one who did not > respond... > > ref: > > [1] L.P.H. van Belle belle at bazuin.nl > Wed Jan 18 16:20:53 UTC 2017 > -- > Regards, > Phil >-- Regards, Phil