LOGIN_NAME Truncated to 8 Characters

(Last modified: 12Aug1998)

This document (2905523) is provided subject to the disclaimer at the end of this document.

Symptom

When using the LOGIN_NAME parameter in a login script and logging in using any of the following Logins:
     - NetWare Client 32 for Windows 95
     - NetWare Client 32 for DOS/Windows
     - intraNetWare Client 4.1 for Windows NT
     - NetWare 4.x LOGIN.EXE
     - intraNetWare LOGIN.EXE

the login name is truncated to 8 characters during the login script processing.

Cause

The LOGIN_NAME parameter was truncated to 8 characters back when NetWare 4.0 was released because of directory mapping issues. With the DOS limitation of 8.3, mapping drives to a users %LOGIN_NAME caused problems. The truncation to 8 chars was a result of this issue.

Solutions

The solution is to use one of a couple of different login script variables.

NetWare 3.x:
Use %1 variable for the users login name (%0 is the servername)
Use the FULL_NAME variable instead of LOGIN_NAME.

NetWare 4.x
Use %1 variable for the users login name (%0 is the servername)
Use the CN (Common name) variable instead of LOGIN_NAME.
Note: The FULL_NAME parameter will work in NetWare 4.x if the administrator puts the user's login name in the Full Name field in NWAdmin.

NOTE:
To use the CN variable in an IF...THEN statement use the following syntax:

IF "%CN"="mylongusername" THEN

Keywords:
Login, Name, Eight, 8, truncated, shortened, long name, LONG.NAM, name space, user directory, NWAdmin, GUI Login, LOGINW95, LOGINW3X, intraNetWare, NetWare 4.11, 4.10, 4.x. MAP, home, attach

document

Document Title: LOGIN_NAME Truncated to 8 Characters
Document ID: 2905523
Creation Date: 04Mar1996
Modified Date: 12Aug1998
Revision: 9
Novell Product Class:End of Life (EOL)
NetWare
Other

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.