Re: [Samba] explorer.exe crashes on security tab access
- Date: Thu, 16 Aug 2018 16:22:25 +0100
- From: Rowland Penny via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] explorer.exe crashes on security tab access
On Thu, 16 Aug 2018 16:59:22 +0200
Kacper <kacper@xxxxxxxxx> wrote:
> By primary group I mean the group that is set by chgrp. that is the
> group returned after the pound key (#) from getfacl. In other words
> the Unix group and not the one managed by ACLs.
That is not necessarily the users primary group, the users primary
group is the one displayed by 'getent passwd username' e.g.
root@dc4:~# getent passwd SAMDOM\\rowland
The second number is the users primary group, in this case '10000',
root@dc4:~# getent group 10000
But if I create a file in a share and ensure it belongs to the user
with a group that isn't the users primary group (which seems to be what
you are describing), I get:
root@dc4:~# ls -la /srv/samba/Demo/test.txt
-rw-rwxr--+ 1 SAMDOM\rowland SAMDOM\unixgroup 0 Aug 16 11:29 /srv/samba/Demo/test.txt
And getfacl shows:
root@dc4:~# getfacl /srv/samba/Demo/test.txt
getfacl: Removing leading '/' from absolute path names
# file: srv/samba/Demo/test.txt
# owner: SAMDOM\134rowland
# group: SAMDOM\134unixgroup
If I now go to a Win7 machine, log in as 'rowland', open explorer and
navigate to the file, right click it, select 'Properties' ->
'Security', it opens correctly (without crashing) and displays the
The share in smb.conf is this:
path = /srv/samba/Demo/
read only = no
If it is crashing for you, we need to know why.
What OS ?
What version of Samba ?
What is in your smb.conf ?
What is the DC ?
To unsubscribe from this list go to the following URL and read the