Gary Dale
2009-Dec-25 22:25 UTC
[Samba] how to get a qemu Windows XP guest to connect to a Samba domain
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.
Adam
2009-Dec-26 13:34 UTC
[Samba] how to get a qemu Windows XP guest to connect to a Samba domain
what error messages do you get? anything in samba's log file? did you create a machine account with the computername$ of the XP computer? are you using either/or root and root's password, or a user in the Domain Admin's group? If using root, did you do smbpasswd -a root? Gary Dale wrote:> 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.