Checking the smb.conf existance and moving around the server role check