Logoff option problematic

Scott Moomaw scott at bridgewater.edu
Tue Sep 18 07:43:08 GMT 2001


We've noticed that using the LOGOFF option instead of RESTART can be
problematic in reestablishing network connections.  If a user chooses
LOGOFF, the next user may not be able to properly map their drives.  I
don't have much background on this yet as we've only begun to look at it;
however, we're wondering if others have seen this or it might trigger
something in someone's mind.

Below is a snippet of a log file.  I login as user scott, choose LOGOFF
and immediately log back in as user sam.  The observed problem is that the
logon script is then unable to successfully map all drives.  Is the
"Failed to marshall NET_R_SAM_LOGON" possibly related?

[2001/09/18 09:52:39, 1, pid=17841] smbd/service.c:close_cnum(650)
  itctest (147.138.120.225) closed connection to service cescc
[2001/09/18 09:52:39, 1, pid=17841] smbd/service.c:close_cnum(650)
  itctest (147.138.120.225) closed connection to service profiles
[2001/09/18 09:52:50, 1, pid=17841] smbd/service.c:make_connection(610)
  itctest (147.138.120.225) connect to service profiles as user scott (uid=1024, gid=14) (pid 17841)
[2001/09/18 09:53:00, 0, pid=17841] rpc_server/srv_netlog.c:api_net_sam_logon(208)
  api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
[2001/09/18 09:53:00, 0, pid=17841] rpc_server/srv_pipe.c:api_rpcTNP(1204)
  api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.
[2001/09/18 09:53:03, 1, pid=17841] smbd/service.c:make_connection(610)
  itctest (147.138.120.225) connect to service profiles as user sam (uid=9127, gid=60) (pid 17841)
[2001/09/18 09:53:26, 1, pid=17841] smbd/service.c:make_connection(610)
  itctest (147.138.120.225) connect to service netlogon as user sam (uid=9127, gid=60) (pid 17841)
[2001/09/18 09:53:45, 1, pid=17841] smbd/service.c:close_cnum(650)

Curious what others know?
Scott

------------------------------------------------------------------------
 Scott Moomaw, Network Administrator              Scott at Bridgewater.edu
 Bridgewater College, IT Center
 Bridgewater, VA  22812
 Phone (540) 828 - 8000  x5437              FAX:  (540) 828 - 5493





More information about the samba-technical mailing list