My hostname like this altp9-ansible-node100
But netbios name in smb.conf altp9-ansible-1
gpupdate tried use altp9-ansible-node100 , - it's wrong
right way get from smb,conf
grep -iP 'netbios\s+name\s+=' /etc/samba/smb.conf | awk -F '=' '{print $2}' | sed -r 's/^\s+|\s+$//g'