If your SME server configured as domain controller for the domain called WORKGROUP, you may need first to change workstations workgroup to TEMP, restart and then try to join domain WORKGROUP using SME admin account then prompted. Samba doesn't like the existing connections to the server while changing domain membership.