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? Thanks in advance. -- Greg Fischer 1st Byte Solutions http://www.1stbyte.com
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
Jesse Spangenberger
2005-Dec-18 23:52 UTC
[Samba] windows env variable for USERDOMAIN is wrong
Quote: 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? Thanks in advance. ================= Same problem i have. Not sure if its deals with WINS or not. but I get my domain showing up on XP boxes along with a domain named after my server showing up. When logging in both Domain\username and PDC\username work. (sighs)