Reverted change that breaks Samba reprovision after domain change

Ruben confirmed that the change reverted here broke the domain change with Samba.