Wait until all the samba services are ready before trying to connect

Removed useless and problematic enforceServiceState override
update samba4 version depend