[smb] only log if samba logging is enabled
Merge pull request #5362 from tamland/smb-logging

[smb] remove logging of url on open