Binary package “adcli” in ubuntu jammy

Tool for performing actions on an Active Directory domain

 This tool allows the administrator to join the local machine to an Active
 Directory (AD) domain. It's taking care of creating the computer account on the
 domain and adjusting the kerberos (keytab) configuration.
 .
 It also allows the domain administrator to manage the users or the groups and
 the computer accounts in Active Directory (AD) domains.