I am running Raspbian jessie 8 on my RPi3. I am trying to see what version of samba is installed if any. I do not remember installing it as far as i know it is for remote access but I am not totally sure. It seems like when I update I see it updating but again i am not 100% sure. Can some one give me a hint on the command. I have already tried uname -a, smbd -v, and smbdstatus.
It should not be installed by default.
The command to use is
apt-cache policy samba
E.g. on my Pi3
$ apt-cache policy samba samba: Installed: (none) Candidate: 2:4.2.14+dfsg-0+deb8u5 Version table: 2:4.2.14+dfsg-0+deb8u5 0 500 http://mirrordirector.raspbian.org/raspbian/ jessie/main armhf Packages
If you don't use it I don't know why you care.
Rather than a specific answer you can use a command like the following to find installed packages, which will generally give you a version.
dpkg-query -l | grep samba
shows on my system
ii python-samba 2:4.2.14+dfsg-0+deb8u6 armhf Python bindings for Samba ii samba-common 2:4.2.14+dfsg-0+deb8u6 all common files used by both the Samba server and client ii samba-common-bin 2:4.2.14+dfsg-0+deb8u6 armhf Samba common files used by both the server and the client ii samba-libs:armhf 2:4.2.14+dfsg-0+deb8u6 armhf Samba core libraries