I have resources on my network that offer file sharing over both AFP and CIFS. I'd like the Macs on my network to use AFP. One Mac, however, continues to connect to this resource using CIFS, and I cannot figure out why. There are no startup items for the user that have been mapped with CIFS, and I can't find any process that should be trying to use CIFS.
How can I find out what process is using a CIFS connection instead of AFP and, additionally, what process is initiating this connection?
It is up to your NAS. I'm not aware of a mechanism on the Mac side that would blacklist or re-route some calls to specific mounts.
You can use "grep"in Terminal on the XML file of theiTunes Library and see if ShareNAS-1 is still referenced but that's all I can think of. You will have to be familiar with unix environment.
If you change the name of the CIFS share tho, future mount attempt will fail, but can lead to unpredictable behaviors (locking, spinning wheel, etc).
Take a look at the NAS configuration, maybe there is a built-in firewall where you can blacklist incoming connection from your Mac IP of CIFS TCP/IP port.