Stop services already provided by main samba daemon

def stop_other_daemons(self):
        """
        Stop services already provided by main samba daemon
        """
        if self.smbd.running:
            self.smbd.stop()

        if self.nmbd.running:
            self.nmbd.stop()