How to solve samba join active directory - Our netbios name can be at most 15 chars long

Published: 01 August 2024
on channel: Ambar Hasbiyatmoko
42
0

when trying to join samba active directory using this command:
net ads join -U Administrator

its getting this error:
Our netbios name can be at most 15 chars long, "IP-172-31-25-163" is 16 chars long.
Invalid configuration. Exiting....
Failed to join domain: The format of the specified computer name is invalid.

---
That error is caused by your hostname in ubuntu is too long (in this case the hostname is IP-172-31-25-163)
Windows only accepted netbios name (computer name/hostname) max 15 digit characters. So your ubuntu must follow windows rule.

Resolution:
change your ubuntu hostname with smaller characters (no more than 15 characters). Example: 72-31-25-163


Watch video How to solve samba join active directory - Our netbios name can be at most 15 chars long online without registration, duration hours minute second in high quality. This video was added by user Ambar Hasbiyatmoko 01 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 42 once and liked it 0 people.