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

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

Ambar Hasbiyatmoko

54 года назад

24 Просмотров

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

Тэги:

#samba #active_directory #join #domain #netbios_name #computer_name #error #ubuntu #linux #terminal #ads #hostname #net #command #join_domain #ec2 #aws #server #vm
Ссылки и html тэги не поддерживаются


Комментарии: