Network Connections Made From Logon Script May Fail

Last reviewed: January 7, 1997
Article ID: Q131062
The information in this article applies to:
  • Microsoft Windows for Workgroups version 3.11
  • Microsoft Windows 95

SYMPTOMS

When a Windows for Workgroups 3.11 or Windows 95 client initiates a session between the client and a server (for example, you run NET USE) from a login script, the connection may fail.

CAUSE

The connection fails because the domain name is not passed to the server in the Session Setup&X SMB. Without a domain name in the Session Setup&X SMB, the server checks to see if the user name exists in the local SAM database. If found, the user's password is compared to the one in local SAM database. If the user's name is not present in the server SAM database, the server sends pass-through authentication requests to each domain being trusted. The first one that responds is used to authenticate the user. If the password for the account doesn't match, the user is prompted for the password.

This can cause problems when your network environment requires users to have duplicate accounts in multiple domains.

WORKAROUND

To work around this problem, manually keep the passwords in each domain synchronized for users requiring multiple accounts.

Once the user is logged in and the logon script has completed, any subsequent commands that initiate a session between the client and a server are sent with the domain name. Therefore, the problem should not occur when you attempt to initiates a session again.


KBCategory: kbnetwork
KBSubcategory: ntdomain
Additional reference words: 3.11 95 win95 winnt wfw wfwg logon script in-
sync sync



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 7, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.