fix up cred code in lib_smb