Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unattend.txt setting for Auto update of NWClient

Status
Not open for further replies.

Datong

IS-IT--Management
Feb 15, 2005
118
GB
I am currently setting up LDAP for Contextless login on our NW6SP5 Server. I am trying to rollout the updated client with the new settings, set with nciman.exe and creating an unattend.txt file. The first problem is that it copies the existing username and stores it in the unattend.txt file. Not a problem, just edit the file and remove the username text. Thus this creates the problem, what do I replace it with to remember the username (and Windows Domain username) so that when the user has updated the client (automatically through the login script) it remebers who they were so that they dont have to re-enter the username and windows doamin information. If anyone has an idea or a solution Novell support may be interested as it doesnt appear in any documentation! All it says is that the information will be kept but what if you manually edit the file like you have to after you import the workstation reg with the settings in?AAAAHHHHHH

Portion of imported file >

!LoginServiceSZ1="Default","UserName","Fred"
!LoginServiceSZ7="Default\Tab3","DefaultDomainName","DATONG"

removed "fred" so line is

!LoginServiceSZ1="Default","UserName",""

but then all I get is a blank username when updated. What parameter should be here to remeber the correct username of the person who last logged in and performed the upgrade ?

Many thanks, frustrated.....
 
try using the %USERNAME% or the %NWUSERNAME% variable and see if that works.

you may also try removing the trailing "" in the !LoginServiceSZ1="Default","UserName","" line

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Brent Schmidt Certified nut case [hippy]
Senior Network Engineer
 
Thanks for the tip but the lines do not seem to parse variables at all, simply display text values no matter what you try. But... having tested some more and reading between the lines on some other TIDs there is a solution. The answer is to delete the line(s) containing the "username","fred". This apparently causes the process to ignore any changes that the unattend.txt file makes, and therefore keeps the username of the last successfully logged in user in that field. Novell don't explain this clearly but after comparing unattend.txt files made at different times showed that some lines were missing and that the previous info was then restored correctly.
Now off to do some real work. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top