ctdb: use properly configured ctdb in functions