First: what a more detailed listing gives you? Try (all on the same line):
rpm -qa --qf '%{name}_%{version}-%{release}.%{arch}\n' | grep samba
I'd also recommend creating a file called .rpmmacros in your home directory, and also for your root user if you're so inclined. the contents of the file should be
%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
This makes the effect listed in the rpm command above permenant, and is quite helpful especially with multi-arch systems.