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

2004-12-21 Thread Michael Lueck
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.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2004-12-20 Thread Michael Lueck
Depends on the client OS. If some DOS/Windows based os, issue something like 
this as the first line of the script...
set  C:\EnvVars.txt
and then login to review what vars you have available to you. With the DOS 
client, no server related vars are set / available. Win2K OTOH has several.
--
Michael Lueck
Lueck Data Systems
Remove the upper case letters NOSPAM to contact me directly.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2004-12-20 Thread Jim C.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Type 'set' in any dos window to see the list of environment variables
for a windows user.  Pay particular attention to %USERNAME%.
Jim C.
- --
- -
| I can be reached on the following Instant Messenger services: |
|---|
| MSN: j_c_llings @ hotmail.com  AIM: WyteLi0n  ICQ: 123291844  |
|---|
| Y!: j_c_llingsJabber: jcllings @ njs.netlab.cz|
- -
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBx69b57L0B7uXm9oRAlDAAJ9at2dEUxjspe6fy8f+87V/Unj7CACeI4Gm
/KZxs5ScUT7HHljEJAx4rzc=
=BX3v
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba