Jeremy Allison
2019-Jul-18 22:39 UTC
[Samba] SAMBA AD DC - Windows explorer.exe crashes on security tab access
On Mon, Jul 15, 2019 at 09:23:57AM +0100, Rowland penny wrote:> On 14/07/2019 22:03, ?brah?m Gyula via samba wrote: > > I have a Raspberry Pi 3 B+ with Raspbian Buster and a Samba AD DC is running on it. Everything works fine, I use Active Directory Users And Computers and Computer Management on Windows to control the users and the Samba share permissions. Until this point everything works fine, but the following error raised on Windows. > > > > If there is a shared directory which was made by mkdir command and a UNIX user is the owner and/or a UNIX group is the group owner the following happens in Windows. > > > > I do right click on the shared directory, select Properties and on the property window I select the Security tab the explorer.exe crashes and the property window being closed. > > This phenomenon does not occur if the directory is made on Windows. > > > > I found a mailing thread about this problem on samba mailing list: > > > > https://lists.samba.org/archive/samba/2018-August/217676.html > > > > But the thread ends with no solution unfortunately. The suspect that this is a bug related to Windows OS. Maybe someone who has met this error (bug?) and could help? > > Ah, that thread, this is a Windows bug and if I remember correctly, they > were supposed to be looking into it. > > Jeremy, did we ever here anything about this ?I got sidetracked with other stuff, and didn't bug the Microsoft engineers with it whilst I was up in Redmond recently, sorry. Can you write up a method of reproducing and I'll see if someone at Microsoft can get the client team to take a look ? Thanks, Jeremy.
Rowland penny
2019-Jul-19 09:18 UTC
[Samba] SAMBA AD DC - Windows explorer.exe crashes on security tab access
On 18/07/2019 23:39, Jeremy Allison wrote:> On Mon, Jul 15, 2019 at 09:23:57AM +0100, Rowland penny wrote: >> On 14/07/2019 22:03, ?brah?m Gyula via samba wrote: >>> I have a Raspberry Pi 3 B+ with Raspbian Buster and a Samba AD DC is running on it. Everything works fine, I use Active Directory Users And Computers and Computer Management on Windows to control the users and the Samba share permissions. Until this point everything works fine, but the following error raised on Windows. >>> >>> If there is a shared directory which was made by mkdir command and a UNIX user is the owner and/or a UNIX group is the group owner the following happens in Windows. >>> >>> I do right click on the shared directory, select Properties and on the property window I select the Security tab the explorer.exe crashes and the property window being closed. >>> This phenomenon does not occur if the directory is made on Windows. >>> >>> I found a mailing thread about this problem on samba mailing list: >>> >>> https://lists.samba.org/archive/samba/2018-August/217676.html >>> >>> But the thread ends with no solution unfortunately. The suspect that this is a bug related to Windows OS. Maybe someone who has met this error (bug?) and could help? >> Ah, that thread, this is a Windows bug and if I remember correctly, they >> were supposed to be looking into it. >> >> Jeremy, did we ever here anything about this ? > I got sidetracked with other stuff, and didn't > bug the Microsoft engineers with it whilst I > was up in Redmond recently, sorry. > > Can you write up a method of reproducing > and I'll see if someone at Microsoft can > get the client team to take a look ? > > Thanks, > > Jeremy.er, no ;-) Mainly because I cannot get it to crash any more. It used to be that if the group on a file was 'root', File Explorer would crash. Now, for myself, it just works, I have tried Win 7 & 10 against a standalone server and a Unix domain member. Has Microsoft silently fixed it ? Rowland
Joachim Lindenberg
2019-Jul-19 11:10 UTC
[Samba] SAMBA AD DC - Windows explorer.exe crashes on security tab access
Hi Jeremy, this is what I do to get windows explorer (mine was a virtual machine windows 10 pro upgraded recently to 1903) to crash: - on samba DC, obtain your sysvol directory from /etc/samba/smb.conf and do a sudo mkdir <sysvoldir>/<domain>/test validate the directory has permissions like drwxrwx---+ 2 root root 4096 Jul 19 12:58 test. - on windows PC navigate to \\<dc>\sysvol\<domain>, select test, right mouse properties, tab security, and boom I still believe it is two bugs: one in windows explorer crashing, another one in samba file server not mapping the (missing) ACL to something useful. When I look at the ACLs with different tools, they all show something different.. On dc try: - samba-tool ntacl get /var/lib/samba/sysvol/<domain>/test | grep trustee -> roundabout a dozen entries - smbclient -e -P \\\\<dc>\\sysvol -c "cd <domain>; getfacl test;" ->Server doesn't support UNIX CIFS calls. - smbcacls -P -e //<dc>/sysvol <domain>/test -> roundabout a dozen entries On windows try: Powershell: get-acl -path \\<dc>\sysvol\<domain>/\test -> one entry Cmd: icacls \\<dc>\sysvol\<domain>\test -> two entries If I modify permissions to drw-------+ 2 root root 4096 Jul 19 12:58 test, windows explorer does not crash but complains about missing authorizations even though I am domain administrator. Joachim -----Urspr?ngliche Nachricht----- Von: samba <samba-bounces at lists.samba.org> Im Auftrag von Rowland penny via samba Gesendet: Friday, 19 July 2019 11:18 An: Jeremy Allison <jra at samba.org> Cc: samba at lists.samba.org Betreff: Re: [Samba] SAMBA AD DC - Windows explorer.exe crashes on security tab access On 18/07/2019 23:39, Jeremy Allison wrote:> On Mon, Jul 15, 2019 at 09:23:57AM +0100, Rowland penny wrote: >> On 14/07/2019 22:03, ?brah?m Gyula via samba wrote: >>> I have a Raspberry Pi 3 B+ with Raspbian Buster and a Samba AD DC is running on it. Everything works fine, I use Active Directory Users And Computers and Computer Management on Windows to control the users and the Samba share permissions. Until this point everything works fine, but the following error raised on Windows. >>> >>> If there is a shared directory which was made by mkdir command and a UNIX user is the owner and/or a UNIX group is the group owner the following happens in Windows. >>> >>> I do right click on the shared directory, select Properties and on the property window I select the Security tab the explorer.exe crashes and the property window being closed. >>> This phenomenon does not occur if the directory is made on Windows. >>> >>> I found a mailing thread about this problem on samba mailing list: >>> >>> https://lists.samba.org/archive/samba/2018-August/217676.html >>> >>> But the thread ends with no solution unfortunately. The suspect that this is a bug related to Windows OS. Maybe someone who has met this error (bug?) and could help? >> Ah, that thread, this is a Windows bug and if I remember correctly, >> they were supposed to be looking into it. >> >> Jeremy, did we ever here anything about this ? > I got sidetracked with other stuff, and didn't bug the Microsoft > engineers with it whilst I was up in Redmond recently, sorry. > > Can you write up a method of reproducing and I'll see if someone at > Microsoft can get the client team to take a look ? > > Thanks, > > Jeremy.er, no ;-) Mainly because I cannot get it to crash any more. It used to be that if the group on a file was 'root', File Explorer would crash. Now, for myself, it just works, I have tried Win 7 & 10 against a standalone server and a Unix domain member. Has Microsoft silently fixed it ? Rowland -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Possibly Parallel Threads
- SAMBA AD DC - Windows explorer.exe crashes on security tab access
- SAMBA AD DC - Windows explorer.exe crashes on security tab access
- SAMBA AD DC - Windows explorer.exe crashes on security tab access
- SAMBA AD DC - Windows explorer.exe crashes on security tab access
- SAMBA AD DC - Windows explorer.exe crashes on security tab access