At the start of my script I have the following statements:

; Display some basic network information
color y+/n
? " User Name : "+@userid
? " Domain : "+@ldomain
? " Logon server : "+@lserver
? " Machine : "+@domain+"\"+@wksta
? " Net Address : "+@address
? " Primary Group: "+@primarygroup

and when I logon from NT I see that the domain is correct but when I logon using a 95 machine, the Domain field is blank and none of my mappings work.

The funny thing is that when I manually run the script from the 95 client, it does see the domain and the mappings work.

Anyone able to shed some light?