[Samba] SAMBA AD DC - Windows explorer.exe crashes on security tab access

Amit Kumar amitkuma at redhat.com
Tue Jul 16 07:30:31 UTC 2019

Hey Joachim,

So 2 things!

1. Accessing unix created samba share from Windows. Can you provide your
share definition or complete smb.conf? It will better to repro and

2. I believe samba-tool needs investigation!

# /usr/local/samba/bin/samba-tool ntacl sysvolcheck
ERROR(runtime): uncaught exception - samdb_domain_sid failed
line 185, in _run
    return self.run(*args, **kwargs)
line 451, in run
    domain_sid = security.dom_sid(samdb.domain_sid)
  File "/usr/local/samba/lib64/python3.6/site-packages/samba/samdb.py",
line 677, in get_domain_sid
    return dsdb._samdb_get_domain_sid(self)


On 07/16/2019 12:50 AM, Ábrahám Gyula via samba wrote:
> Hi Joachim,
> I tried to use samba-tool ntacl sysvolreset command, but the it did not resolve the problem.
> It it very interesting there are not much reports about this bug. Why? Is it not a common problem? Especially if it is related to a Windows bug.
> Best,
> Abraham
> ________________________________
> Feladó: samba <samba-bounces at lists.samba.org>, meghatalmazó: Joachim Lindenberg via samba <samba at lists.samba.org>
> Elküldve: 2019. július 15., hétfő 14:07
> Címzett: 'Rowland penny'; 'Ábrahám Gyula'; 'Jeremy Allison'
> Másolatot kap: samba at lists.samba.org
> Tárgy: Re: [Samba] SAMBA AD DC - Windows explorer.exe crashes on security tab access
> I experienced a Windows Explorer crash in https://lists.samba.org/archive/samba/2019-July/224346.html as well...
> Try samba-tool ntacl sysvolreset (or check first).
> Joachim Lindenberg
> -----Ursprüngliche Nachricht-----
> Von: Rowland penny <rpenny at samba.org>
> Gesendet: Monday, 15 July 2019 10:24
> An: samba at lists.samba.org
> Cc: Jeremy Allison <jra at samba.org>
> Betreff: Re: [Samba] SAMBA AD DC - Windows explorer.exe crashes on security tab access
> 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 ?
> Rowland
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list