to delete or change a PC from the domain,
userdel machine$
pbdedit -x machine$
delete machine entries from /usr/local/samba/var/locks/wins.dat
restart samba