merge status code changes from samba4 ctdb