VMware Horizon Community
kbh4
Contributor
Contributor

Cannot add domain admin account to View Composer

Hello,

I'm evaluating VMware View, but I cannot add my domain admin account to the View Composer Settings - it just complains that it is a "Bad user or password" (which is not the case).

If I look into the viewcomposer.log it says:

2008-12-18 10:01:33,721 | 3 | INFO | Sim.ServiceCore.SimServiceApiVal - Call EnumerateAdConfigEntries.

2008-12-18 10:01:55,142 | 3 | FATAL | Sim.ServiceCore.SimServiceApiImpl - Error: fail to execute web service call: AddAdConfig

VMware.Sim.CommonLib.Exception.SimAdsException: The server is not operational.

---> System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational.

at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)

at System.DirectoryServices.DirectoryEntry.Bind()

at System.DirectoryServices.DirectoryEntry.get_IsContainer()

at System.DirectoryServices.DirectoryEntries.CheckIsContainer()

at System.DirectoryServices.DirectoryEntries.get_SchemaFilter()

at VMware.Sim.ServiceCore.ActiveDirectory.AdUtil.ValidateAdConnection(AdConfigEntryDo adConfigDo, String containerDn)

--- End of inner exception stack trace ---

at VMware.Sim.ServiceCore.ActiveDirectory.AdUtil.ValidateAdConnection(AdConfigEntryDo adConfigDo, String containerDn)

at VMware.Sim.ServiceCore.SimServiceApiVal.AddAdConfig(AdConfigEntry adConfigEntry)

at VMware.Sim.ServiceCore.SimServiceApiImpl.AddAdConfig(AdConfigEntry adConfigEntry), Machine Name: NJORD, Timestamp: 18-12-2008 09:01:55, App Domain Name: SviWebService.exe, Thread Identity: , Windows Identity: NT AUTHORITY\SYSTEM, OS Version: Microsoft Windows NT 5.2.3790 Service Pack 2, Reason: AdsComError, AdConfigId: , ContainerDN: , Fqdn: oss.dk

Which I really don't understand. Smiley Sad

Can anyone here help?

Thanks,

Kent

Tags (3)
Reply
0 Kudos
6 Replies
mmarinov
VMware Employee
VMware Employee

Hi Kent,

Can you ping the Active Directory by name (the one you are specifying) ?

Martin Marinov

VMware Software Engineer

Martin Marinov VMware Software Engineer If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points
kbh4
Contributor
Contributor

Hi Martin,

Thanks! You put me on the right track - We had 10 IP addresses associated with the domain, two of witch no longer is in service - I removed the old retired IP's and everything worked fine! Smiley Happy

Regards,

Kent

Reply
0 Kudos
philforrest
Contributor
Contributor

Hello,

I am having a similar problem to that of the original poster.

I can ping the Active Directory by name (i.e. "ping domain.tld") but I still fail with the error listed in the original poster's entry.

Must the Virtual Center machine be a Domain Controller? (I hope not)

Based upon the log entry, it seems like View Composer is trying to contact the Virtual Center for domain administrator credentials:

VMware.Sim.CommonLib.Exception.SimAdsException: The server is not operational.
---> System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_IsContainer()
at System.DirectoryServices.DirectoryEntries.CheckIsContainer()
at System.DirectoryServices.DirectoryEntries.get_SchemaFilter()
at VMware.Sim.ServiceCore.ActiveDirectory.AdUtil.ValidateAdConnection(AdConfigEntryDo adConfigDo, String containerDn)
--- End of inner exception stack trace ---
at VMware.Sim.ServiceCore.ActiveDirectory.AdUtil.ValidateAdConnection(AdConfigEntryDo adConfigDo, String containerDn)
at VMware.Sim.ServiceCore.SimServiceApiVal.AddAdConfig(AdConfigEntry adConfigEntry)
at VMware.Sim.ServiceCore.SimServiceApiImpl.AddAdConfig(AdConfigEntry adConfigEntry), Machine Name: COSAM-VCENTER, Timestamp: 2/10/2009 3:20:23 AM, App Domain Name: SviWebService.exe, Thread Identity: , Windows Identity: NT AUTHORITY\SYSTEM, OS Version: Microsoft Windows NT 5.1.2600 Service Pack 3, Reason: AdsComError, AdConfigId: , ContainerDN: , Fqdn: MYDOMAIN.TLD

All other VMware services on both the Virtual Center and View machines are running fine.

How can I resolve this?

Thanks,

Phil

Reply
0 Kudos
cbieri
VMware Employee
VMware Employee

Hi Phil

once I run into a similar challenge. In that case the user had domain admin rights, but did not have the Administrator rights at VC for some reasons.

Afterwards, within the View Manager the connection to the View Composer could be done immediately.

Hope it helps

Chris

Reply
0 Kudos
philforrest
Contributor
Contributor

I solved my own problem by modifying the C:\WINDOWS\system32\drivers\etc\host file as describer in this KB note:

http://kb.vmware.com/selfservice/viewContent.do?externalId=1007837&sliceId=2

Thanks,

Phil

Reply
0 Kudos
VMDonP
Contributor
Contributor

Thanks Phil That link fixed my problem also.

Reply
0 Kudos