NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Network and Storage Protocols

Monitoring CIFS issues

ADMWWHITEHURST
8,623 Views

New to CIFS here. Trying to figure out how to access/monitor a CIFS share. We have one particular share that will intermittently deny access to a user. Most of the time she can access this share without any issues, but every so often the share will give her an access denied error. All other shares work fine during this time. Where can I find logs on the toaster that will show this error?

1 ACCEPTED SOLUTION

scottgelb
8,623 Views

You can also enable options cifs.trace_login on and view the console and messages...turn off when done.

View solution in original post

6 REPLIES 6

HENRYPAN2
8,623 Views

Will,

The syslog on filer is located in /etc/message if you prefer CLI.

On old  Filer View or new Sys Mgr v 2R1 you'll find system log as well.

You may also wish to double check on Windows logs from the host side.

Good luck

Henry

ADMWWHITEHURST
8,623 Views

i looked through the SYSLOG and saw nothing that pertained to user connections/activity, just system related logs. Is there a Windows equivalent "security" log for CIFS?

scottgelb
8,622 Views

You can also enable cifs auditing and use event viewer to view the cifs audit... there are good KBs on this on the support.netapp.com page.  Enable auditing with options, turn on liveview typically, then on the windows client go to advanced settings on the share to select audit events.

scottgelb
8,624 Views

You can also enable options cifs.trace_login on and view the console and messages...turn off when done.

ADMWWHITEHURST
8,623 Views

Being that the issue is intermittent, would leaving this enabled for a day or so cause too much overhead?

scottgelb
8,623 Views

It would make the console a bit busy depending on number of users… easier to catch it but you could monitor messages size in the root volume to make sure you aren’t filling up… on most systems there is plenty of room to do this.

Public