[Samba] AD DC lost sub.conf

Rowland Penny rpenny at samba.org
Mon Nov 28 21:39:00 UTC 2022



On 28/11/2022 21:07, Callum MacEwan via samba wrote:
> Hello Team Samba
> 
> I have a Debian Samba AD DC 4.13.13 and a Debian Domain member
> Everything was working fine then one day my Linux ID’s changed from UID 10000 GID 11001 to UID 3000017 and GID 100.

Are we talking about the DC here ?
Have you added uidNumber & gidNumber attributes to AD ?

If you have, uncomment (remove the '#') from '#idmap_ldb:use rfc2307 = 
yes', restart Samba and run 'net cache flush'


> After a little fiddling with the AD DC and Domain Memeber everything returned to normal so I tidy up the configs and reboot both machines.
> 
> After the restart nothing was working and my smb.conf on the AD DC was missing a section. I rebuilt what I thought was correct
> 
> I now have the AD DC responding normally locally but my Debian Domain member reports DC1 offline but lists users correctly  with wbinfo -u but without the domain wbinfo -g responds with nothing
> 

Do you have only one DC ?
It is better if you have at least two and backup the domain with samba-tool.

Have you run 'net ads testjoin' on the Unix domain member ?

Rowland




More information about the samba mailing list