Resolution
Directory and Resource Administrator 6.60
symptom
The 'Pre-Windows 2000 name' field only allows for a maximum of 14 characters instead of 15 in the Web Console.
symptom
When a computer account is being created using the Web Console. The Assistant Admin can enter 15 characters in the Pre-Windows 2000 name field, however as soon as the focus is moved to a different field the Pre-Windows 2000 name is truncated from 15 characters to 14 characters. The last character entered is dropped and a $ sign is appended instead.
cause
This problem occurs because of the field length restriction in the Web Console. The Web Console does not take into consideration the $ sign automatically entered for computer accounts in the Pre-Windows 2000 name field.
fix
The above described problem has been corrected in Directory and Resource Administrator version 7.0. To resolve this issue upgrade to the latest version:
Download: Directory and Resource Administrator (requires username and password)
The following workaround is available if you are running version 6.60
To create a computer account with 15 characters in the Pre-Windows 2000 name field, Assistant Admins can use the Directory and Resource Administrator (DRA) MMC interface instead.
OR
To create computer accounts using the Web Console with 15 characters in the Pre-Windows 2000 name field, the ASP file must be modified. Please refer to the following workaround for DRA 6.60:
- Launch Windows Explorer on the IIS server running the DRA Web Component.
- Browse and select the \Innetpub\wwwroot\DraWeb\WebConsole\BuiltIn\AccountManagement\Computer\ComputerCreate directory.
- Copy the file TaskMain.asp.
- Paste the file into \Innetpub\wwwroot\DraWeb\WebConsole\Custom\AccountManagement\Computer\ComputerCreate directory.
- Open the file in Notepad.
- Search for the following text: "Application("Maxlength_Computer_PreW2K")".
- Replace that text with "16" so the line reads:
- FormCtrl.Maxlength = 16
- Search for text: "Sub WriteClientScript".
- Change the following code:
From
dim sPreW2kMaxLength
sPreW2kMaxLength = 0
if IsNumeric(Application("Maxlength_Computer_PreW2K")) then sPreW2kMaxLength = Application("Maxlength_Computer_PreW2K")
end ifTo
dim sPreW2kMaxLength
sPreW2kMaxLength = 16 Select Save from theFile menu and close the file.