[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::pwv50ift

Title:Kit: Note 4229; Please use NOTED::PWDOSWIN5 for V4.x server
Notice:Kit: Note 4229; Please use NOTED::PWDOSWIN5 for V4.x server
Moderator:CPEEDY::KENNEDY
Created:Fri Dec 18 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:4319
Total number of notes:18478

4254.0. "NT Share session (map drive) creates 2 sessions on Alpha" by CTHU22::M_MORIN (Mario Morin, Hull CSC - Canada) Tue Apr 08 1997 16:16

Hi,

From my NT 4.0 PC when I connect to a share on our PATHWORKS 
server it seems to create 2 sessions from my PC when I do the
$NET SESSION on the server, 1 session with GUEST and 1 session 
with my username.

$NET SESSION \\MYPC shows that I'm connected to IPC$ and the 
share that I actually intended to connect to.  When I disconnect 
from the share from my NT PC then after a few minutes both 
sessions disappear.

This is V5.0E eco 1 with the "ghosted connection" patch applied.

PWRK$LMSRV                     V5.0-510E        20-MAR-1997 04:09  A11-14
PWRK$LMMCP                     V5.0-510E         2-MAR-1997 10:46  A11-14
PWRK$LMDMN                     V5.0-510E         2-MAR-1997 10:45  A11-14
PWRK$MASTER                    V5.0-510E         2-MAR-1997 03:28  A11-14
PWRK$MONITOR                   V5.0-510E         2-MAR-1997 04:33  A11-14
PWRK$NBDAEMON                  V5.0-510E         2-MAR-1997 04:17  A11-14
PWRK$KNBDAEMON                 V5.0-510E         2-MAR-1997 04:19  A11-14
PWRK$STREAMSOS_V6              V5.0-510E         2-MAR-1997 04:03  A11-14
PWRK$STREAMSOS_V7              V5.0-510E         2-MAR-1997 04:04  A11-14
PWRK$ADMIN                     V5.0-510E         2-MAR-1997 10:48  A11-14
NETBIOS                        V5.0-510E         2-MAR-1997 04:08  A11-14
NETBIOSSHR                     V5.0-510E         2-MAR-1997 04:10  A11-14

This only happens on Alpha, VAX is OK.

PATHWORKS V5.0E ECO1

/Mario
T.RTitleUserPersonal
Name
DateLines
4254.1CTHU22::M_MORINMario Morin, Hull CSC - CanadaTue Apr 08 1997 17:528
Just checked and same problem occurs on patched VAX as well.

When I try from W95 clients, no problems.

Am I overlooking something obvious here or is the patch not
doing what it's supposed to do?

/Mario
4254.2see 4242VMSNET::P_NUNEZWed Apr 09 1997 09:577
    Mario,
    
    You too eh?  See 4242.  I think it's WNT that's the culprit.
    But I'm not sure it's even a problem...guess a trace will
    tell the story.
    
    Paul
4254.3UTRTSC::SWEEPI want a lolly...Thu Apr 10 1997 06:596
    This is normal behaviour, don't worry.
    
    I normally take 2 aspirines and go to bed early
    when I encounter NT workstations.
    
    Adrie
4254.4CTHU22::M_MORINMario Morin, Hull CSC - CanadaThu Apr 10 1997 10:177
And when you get up in the morning the problem has gone away?

I wish this was the case for me :-(

Confused...

/Mario
4254.5PTGSYS::SWEEPI want a lolly...Thu Apr 10 1997 11:4437
    OK lets explain
    
    Windows NT when you log on remembers the username and
    password.
    
    When you make a connection to a share, it uses that
    username and password, or the ones you supplied when
    connecting to the share. This session shows up as a
    session with your username.
    
    Now at some moment NT decides to do some administrative
    functions. It therefore connects to IPC$. When it connects
    to IPC$ it uses a blank username (don't ask me why??).
    
    This IPC$ connection is left open for the duration of
    your username's life (login time). Now when you show this
    session it either shows a blank username or if guest is
    enabled the name guest. 
    
    This is where the session comes from.
    
    The session patch you are talking about resolves the
    problem where you would get the noaccess errors.
    When the IPC$ connection with the blank username
    was made, the origional session (with the username)
    was by accident marked as a blank session.
    
    LM uses blank usernames to identify a session that
    is only allowed to do a limited nr of smb requests.
    So for other requests the server returns a noaccess
    error.
    
    Adrie
    
    Hope you're no longer confused but if you still are,
    I still have some aspirines ;-)
    
4254.6CTHU22::M_MORINMario Morin, Hull CSC - CanadaTue Apr 15 1997 13:3413
Here's a twist to the problem:

Assuming I had selected the "reconnect at logon" box when
I connected to the share on the PATHWORKS server:

If I logoff from the NT 4.0 WKSTN I then see that the session
on the server disappears.

If I log back on and re-click on the network drive, to 
re-establish the session, then check on the server, I then
only see my 1 session.  The one with GUEST disappears.

/Mario