I have Ubuntu 12.10 running as a guest in VMware. The host is Windows 7 64-bit. The Ubuntu guest is set up a "bridge", so it should just be seen as a computer that is connected to the same switch as the Windows 7 host.
The host has a folder that is shared as a network share. The Ubuntu mounts the share using cifs on startup with the following
//host.ip.address/files /files cifs credentials=/home/user/.smbcredentials,noserverino,file_mode=0777,dir_mode=0777 0 0
The share works fine and I can see it in nautilus. The problem is that the folder is being served by nginx and php-fpm.
Sometimes, certain files could not be accessed by nginx or php-fpm for some reason. I have reason to believe that this is due to the cifs share and should be investigated.
Where are the logs for cifs on Ubuntu? How do I turn on logging for cifs?