[Samba] Very strange: Samba is unable to access one of its own files

John R. Graham john at graham-family.org
Fri Nov 15 15:18:53 UTC 2024


On 11/14/24 11:35, Rowland Penny via samba wrote:
> ... I suggest you set a gidNumber on Domain Users, just in
> case you decide to run a Unix domain member in future with the 'ad'
> idmap backend.
>
> This is from one of my DCs with 'template shell = /bin/bash' set:
>
> adminuser at tmpdc1:~ $ getent passwd rowland
> SAMDOM\rowland:*:3000020:100:Rowland
> Penny:/home/SAMDOM/rowland:/bin/bash

Does this mean that you do not have a GID=100 group in your tmpdc1 
/etc/groups file, thus it can be used as the "Domain Users" GID?

Is it correct to use

      ldbedit -H /var/lib/samba/private/sam.ldb '(sAMAccountName=Domain 
Users)'

to add the gidNumber?

- John





More information about the samba mailing list