[Samba] Re: Can the logon script know username?

Michael Lueck mlueck at lueckdatasystems.com
Wed Dec 22 03:29:03 GMT 2004

Jim C. wrote:

> Type 'set' in any dos window to see the list of environment variables
> for a windows user.  Pay particular attention to %USERNAME%.

It is critical to run the 'set' to view available vars in the login script as variables present in "any dos window" might not be present at the time or in the context the login script runs in...

Michael Lueck
Lueck Data Systems

Remove the upper case letters NOSPAM to contact me directly.

More information about the samba mailing list