r5929: Use cli_credentials for the SMB functions as well.