I want to report a crash in utility smbcacls. I built Samba 4.23.4 from sources. It happens against a Windows 11 host which is NOT a member of a domain. The problem is that info->domain.sid is NULL at source3/utils/smbcacls.c:109 , routine cli_lsa_lookup_domain_sid(), source code line: *sid = *info->domain.sid; info->domain.name is "WORKGROUP". info->domain.sid is a NULL pointer, and that is what causes the crash. I gather smbcacls has only been tested against hosts which are a member of a domain. A work-around is to specify this option: --domain-sid="S-1-5-43-4342332-4365423-981231-1015" That SID is an example I found on the Internet. It does not matter what SID you use, as long as it is parsable, as this domain SID seems to be ignored, at least when connecting to a host which is not a member of a domain. Just having a domain SID is enough to prevent the crash.