I've tried many variations of net join ads, some with -U Administrator , -U Administrator@REALM and also -k for Kerberos ticket user, which was the last one I tried and thus the one I copied in.
Debian's package is a good few versions behind the version I think that Samba's mailing list so I thought I'd try here first in case there were any distribution specific directions. The Debian wiki pages looked out of date and poorly covered joining an Active Directory domain. -----Original Message----- From: Andrew Bartlett [mailto:[email protected]] Sent: Tuesday, November 16, 2021 12:33 PM To: Michael Evans; [email protected] Subject: Re: [Pkg-samba-maint] Bug#999797: Unable to net ads join samba to an active directory domain Failed to join domain: failed to connect to AD: Can't contact LDAP server For user assistance, please use the samba mailing list. You are trying to join as 'root' which isn't a user on the domain, let alone an administrative one. You should use "-Uadministrator" to set the correct user. Andrew Bartlett

