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