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

John R. Graham john at graham-family.org
Thu Nov 14 16:17:11 UTC 2024


On 11/14/24 10:48, Rowland Penny via samba wrote:
> The only things that a Samba AD DC pulls from AD is the uidNumber and
> gidNumber attributes (if they are set) and only then if 'idmap_ldb:use
> rfc2307 = yes' is set in the DCs smb.conf.
>
> What are you expecting ?
>
> Rowland

Oh. Well, I was expecting that the home directory and the shell 
attributes would be retrieved from AD--or else constructed from the 
'template homedir' and 'template shell' lines in smb.conf. The values I 
set there were:

      template shell = /bin/bash
      template homedir = /home/%U

but the getent is returning

HOME\jgraham:*:10000:100::/home/SAMDOM/jgraham:/bin/false

which appear to be the defaults for those two as opposed to what's 
specified in either smb.conf or AD.

- John





More information about the samba mailing list