[Samba] windows env variable for USERDOMAIN is wrong

Doug VanLeuven roamdad at sonic.net
Sun Dec 18 12:26:00 GMT 2005


Greg Fischer wrote:
> Hi all,
> 
> I just setup my Samba PDC.  Mostly everything works, but I am wondering why
> on some clients, they have the wrong USERDOMAIN environment variable.  (when
> you run 'set' in win xp cmd)
> 
> The domain name is MEIDLING, and the user and computer are joined ok.  But
> in set, it shows USERDOMAIN as the Server name. Which is MAIN.
> 
> How do I change that?

As far as I know, when the environment variable USERDOMAIN is set to the machine
name, it means you have logged in locally to the machine instead of on the domain.

Not a samba problem.

Regards, Doug


More information about the samba mailing list