domain login fails for Vista Business SP2 VM

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
trio123
Posts: 4
Joined: 10. Apr 2010, 01:07
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Vista Business 32 bit

domain login fails for Vista Business SP2 VM

Post by trio123 »

I am able to join to my Windows Vista Business Virtual Machine to my domain using a (samba 3.0.22 openldap 2.2.26 on Ubuntu 6.06 server) PDC but whenver I try to log in with my DOMAINNAME\userid and password I get the message "user name or password is incorrect".

Logging in to my other Vista installs all work but they are dual booted via Bootcamp and I would love to get domain logins to work in VirtualBox.

I'm using the bridged networking so Vista has its own ip address in the same subnet as the host Mac and the PDC.

Any ideas?

Thanks

Kelly
trio123
Posts: 4
Joined: 10. Apr 2010, 01:07
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Vista Business 32 bit

Re: domain login fails for Vista Business SP2 VM

Post by trio123 »

Forgot to mention I'm using Virtualbox 3.1.6 on Snow Leopard.

Kelly
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: domain login fails for Vista Business SP2 VM

Post by Perryg »

Have you tried username@domain for the login name?
so it would be "joe@what-ever-you-called-the-domain.what-ever"
trio123
Posts: 4
Joined: 10. Apr 2010, 01:07
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Vista Business 32 bit

Re: domain login fails for Vista Business SP2 VM

Post by trio123 »

username@domain did not work.
trio123
Posts: 4
Joined: 10. Apr 2010, 01:07
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Vista Business 32 bit

Re: domain login fails for Vista Business SP2 VM

Post by trio123 »

For some reason the sambaSID in my PDC's sambaDomainName entry had taken on the same value as the BDC so when I added the computer on my PDC with the command

smbldap-useradd -w workstation

and then on the workstation joined the domain through Control Panel -> System -> Change Settings -> Change ...

the resulting sambaPrimaryGroupSID for the workstation had a value of PDC's original sambaSID-515 while the sambaSID had a value of BDC's sambaSID-2*uid+1000.

I changed the sambaSID of the PDC back to the original value using phpldapadmin,
deleted the workstation entry using phpldapadmin,
restart slapd on both the PDC and BDC with the command /etc/init.d/ldap restart,
added the workstation again on the PDC with the command smbldap-useradd -w workstation,
and joined the workstation to the domain through Control Panel -> System -> Change Settings -> Change ...

As a result the workstation's sambaPrimaryGroupSID and sambaSID both have values consisting of the PDC's original sambaSID.

Problem solved.
Post Reply