s3:winbindd Split helper functions to allow s3compat to call them