[Samba] how to get a qemu Windows XP guest to connect to a Samba domain

Gary Dale garydale at rogers.com
Fri Dec 25 15:25:37 MST 2009


I'm running Debian/Squeeze on my desktop and have installed a qemu 
virtual machine (actually the qemu-kvm fork) with a tap interface to the 
network. The guest operating system is Windows XP. It can see my Samba 
shares and connect to them but I can't get the virtual machine to join 
the Samba domain (Debian/Lenny server).

Because of this, I also can't log on using a domain user account - just 
local accounts - which means that I have to manually reconnect to a 
share (to establish my credentials) in order to get access to the 
network resources.

I note that the samba shares I connect to shows that I am connecting to 
the server string from smb.conf. Interestingly, Windows XP thinks its ip 
address is 10.0.2.15 with a default gateway of 10.0.2.2 while my network 
uses 192.168.1.x. I surmise that tap uses some form of NAT to handle to 
the routing. However, this pushing the limits of my networking expertise.

Any ideas on how to get a virtual machine to join a domain?

p.s. Merry Christmas everyone.


More information about the samba mailing list