Toggling CIFS login tracing

Description

You can enable login information to be displayed after every CIFS login. You can do this any time you need to troubleshoot mapping problems. Login problems are often the cause of users being denied access to files they should have access to. CIFS login tracing is especially useful in producing verbose messages when a login attempt fails.

Caution

Turning on CIFS login tracing should be used carefully because every CIFS login is traced and results in console messages. Constant use of CIFS login tracing can result in many console and log messages.

Step to turn on CIFS login tracing

To turn on CIFS login tracing, complete this step.

Step Action
1 Enter the following command:
options cifs.trace_login on

Sample output

If user jdoe attempts to log in, messages like the following appear on the console:

Mon Jan  4 15:21:38 PST [CIFSAuthen]: Login attempt by NETAPP\jdoe 
from SMITH-PC
Mon Jan  4 15:21:38 PST [CIFSAuthen]: User authenticated by DC
Mon Jan  4 15:21:38 PST [CIFSAuthen]: PC user name maps to UNIX user 
smith
Mon Jan  4 15:21:38 PST [CIFSAuthen]: Unix user set to root by 
wafl.nt_admin_priv_map_to_root
Mon Jan  4 15:21:38 PST [CIFSAuthen]: Login accepted

Step to turn off CIFS login tracing

To turn off CIFS login tracing, complete this step.

Step Action
1 Enter the following command:
options cifs.trace_login off


Copyright © 1999, Network Appliance, Inc. All rights reserved.

Part No. 210-02334
File: multi30.htm
Last updated: 04/26/99 08:11:26