Skip to content

Instantly share code, notes, and snippets.

@khuongduybui
Created December 26, 2023 22:37
Show Gist options
  • Save khuongduybui/80b16697cecf0a8e0e84378b2bedd034 to your computer and use it in GitHub Desktop.
Save khuongduybui/80b16697cecf0a8e0e84378b2bedd034 to your computer and use it in GitHub Desktop.
ubuntu etc release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
@khuongduybui
Copy link
Author

Notice: /Stage[main]/Ad_join/Exec[JOIN AD ]/returns: Password for glolinwksjoin01-svc: See: journalctl REALMD_OPERATION=r366.14335
Notice: /Stage[main]/Ad_join/Exec[JOIN AD ]/returns: realm: Couldn't join realm: Insufficient permissions to join the domain

@khuongduybui
Copy link
Author

Jan 23 15:59:25 wcxt47-x09.ds.mot.com realmd[7339]:  * Resolving: _ldap._tcp.ds.mot.com
Jan 23 15:59:25 wcxt47-x09.ds.mot.com realmd[7339]:  * Performing LDAP DSE lookup on: 10.38.32.126
Jan 23 15:59:25 wcxt47-x09.ds.mot.com realmd[7339]:  * Successfully discovered: ds.mot.com
Jan 23 15:59:25 wcxt47-x09.ds.mot.com realmd[7339]:  * Unconditionally checking packages
Jan 23 15:59:25 wcxt47-x09.ds.mot.com realmd[7339]:  * Resolving required packages
Jan 23 15:59:25 wcxt47-x09.ds.mot.com realmd[7339]:  * LANG=C /usr/sbin/adcli join --verbose --domain ds.mot.com --domain-realm DS.MOT.COM --domain-controller 10.38.32.126 --computer-ou OU=Linux Workstations,OU=AA101,OU=AACountry,OU=Moto>
Jan 23 15:59:25 wcxt47-x09.ds.mot.com realmd[7339]:  * Using domain name: ds.mot.com
Jan 23 15:59:25 wcxt47-x09.ds.mot.com realmd[7339]:  * Calculated computer account name from fqdn: WCXT47-X09
Jan 23 15:59:25 wcxt47-x09.ds.mot.com realmd[7339]:  * Using domain realm: ds.mot.com
Jan 23 15:59:25 wcxt47-x09.ds.mot.com realmd[7339]:  * Sending NetLogon ping to domain controller: 10.38.32.126
Jan 23 15:59:26 wcxt47-x09.ds.mot.com realmd[7339]:  * Received NetLogon info from: AUSE1DSDC2252.ds.mot.com
Jan 23 15:59:26 wcxt47-x09.ds.mot.com realmd[7339]:  * Wrote out krb5.conf snippet to /var/cache/realmd/adcli-krb5-BMOrfp/krb5.d/adcli-krb5-conf-34RDjn
Jan 23 15:59:26 wcxt47-x09.ds.mot.com realmd[7339]:  * Authenticated as user: glolinwksjoin01-svc@DS.MOT.COM
Jan 23 15:59:26 wcxt47-x09.ds.mot.com realmd[7339]:  * Using GSS-SPNEGO for SASL bind
Jan 23 15:59:26 wcxt47-x09.ds.mot.com realmd[7339]:  ! Couldn't authenticate to active directory: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure.  Minor code may provide more information (Server not found in Kerberos da>
Jan 23 15:59:26 wcxt47-x09.ds.mot.com realmd[7339]: adcli: couldn't connect to ds.mot.com domain: Couldn't authenticate to active directory: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure.  Minor code may provide more i>
Jan 23 15:59:26 wcxt47-x09.ds.mot.com realmd[7339]:  ! Insufficient permissions to join the domain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment