VMware Cloud Community
VMBrandon
Contributor
Contributor

vCenter Appliance 5.1 Active Directory no longer functioning

I had a vCenter appliance in my home lab running 5.0 and I had AD working just fine.  I upgraded to the 5.1 appliance according to the documentation and now it seems that my AD integration isn't functioning.  I have verified I can ping the domain name from the appliance, I have re enered my user name and password and restarted the appliance.

The messages log says 0x7f2e0599f700: Failed ldap search on x.x.x.x error=40290

Search via the web didn't come up with any help.  Anyone else have this issue?  Recommendations on how to fix?

0 Kudos
31 Replies
emma234
Contributor
Contributor

Hello VMBrandon,

Welcome to the communities.

Could you please telnet ldap port ?

as per message not able to communicate with LDAP.

"He Conquers, Who Conquers Himself".
0 Kudos
VMBrandon
Contributor
Contributor

I am a little bit of a newbie to the appliance.  I try to run the telnet command and I get Command not found trying to run it from the appliance.

0 Kudos
actixsupport
Contributor
Contributor

We're getting the same issues after upgrade. In fact, when I first upgraded the new VM threw up all sorts of errors, then after a weekend switched off it worked. Still today I'm unable to get the AD integration working...

Matt

0 Kudos
VMBrandon
Contributor
Contributor

At least I know I am not the only one.  I am not having much luck at all with this.

0 Kudos
actixsupport
Contributor
Contributor

We've actually reverted back to 5.0 today. It even broke some of our customization in vSphere which in turn messed up our lab environment autodeployment, luckily it's a relatively new environment so there wasn't a huge outage.

Going to wait for 5.1 update 1 I think.. Smiley Happy

Matt

0 Kudos
jaliospb
Contributor
Contributor

Same problem here : I'm able to telnet our global catalog servers on LDAP port, and Active Directory appears to be available in vCenter Web administration.

Still, my domain doesn't appear when I want to add rights for AD users. Strangely, there are 3 choices : (Server), Empty and SYSTEM DOMAIN. The 2 firsts seem to be identical.

0 Kudos
sa1x
Contributor
Contributor

Exactly the same here.

The Upgrade failed until I deactivated the AD feature in my old Appliance. In the upgrade.log was something about "Error code: 40008". I don't have the exact error message anymore, but you can recreate that error.

And now after switching AD back on I have the same problems as everyone else.

0 Kudos
VMBrandon
Contributor
Contributor

I am currently out of the office. I will return Monday September 24th.. Please expect a delay in my response.

Thank you

Brandon Schaffer

0 Kudos
actixsupport
Contributor
Contributor

Third time lucky! I nuked the VM and started again for the third time and this one went without a hitch. The only issue I had is that I had to re-add the domain\domain admins group permissions to vcenter. I was then able to log in using my domain account. It would appear these settings aren't brought over when you upgrade from an earlier appliance...

Happy days..

Matt

0 Kudos
jaliospb
Contributor
Contributor

Personnally, I haven't upgraded any older appliance. I started with a new fresh one.

Nice for you that it work, I don't have the time to delete and create the vCenter a couple of times as it's being used to backup the VMs.

0 Kudos
AshNZ
Contributor
Contributor

Hey, same issue here. Though in this instance it's a new install of VCSA, in fact multiple, reviewed many posts noting similar behaviour with 5.1 - though most of these relate to the inability to create the computer account in the AD domain and due to people overlooking DNS settings etc.

We see the same thing, SYSTEM DOMAIN, BLANK and SERVER. The computer account is successfully created, can ping the DC, no time skews between VCenter and DC...

Have tried various install methods to no avail. Will post if we determine the cause.

Cheers

Ash

0 Kudos
kopper27
Hot Shot
Hot Shot

same thing here I am only able to log in to my vCenter 5.1 using a local user administrator named viadmin and afdministrator.

I have a local group in my vCenter server where I add all users that need administrator access to vCenter but I have there some AD users and my local users and only my local users are able to login

any idea

0 Kudos
VMBrandon
Contributor
Contributor

I am currently out of the office. I will return Friday, September 28th.. Please expect a delay in my response.

Thank you

Brandon Schaffer

0 Kudos
kopper27
Hot Shot
Hot Shot

no ones knows? I mean this is kinda of important to set this new vmware feature sso?

anybody help?

0 Kudos
mclark
Expert
Expert

I replied to your other post. I got AD working on a fresh 5.1 VC appliance install.

0 Kudos
wertj
Contributor
Contributor

All,

I had the same problem, I followed the upgrade procedure from 5.0.0 to 5.1.0 (appliance to appliance) and I could no longer login with my active directory credentials.  I tried disabling active directory support ( then rebooting), and then enabling it again (and rebooting) and no change.

I had been logging in with just my username, but when I tried DOMAIN\user (substitute DOMAIN for your domain) and it worked!  Not sure if this will help you.

0 Kudos
JamesBurke1201
Contributor
Contributor

I'm having this issue also.

I've tried with DOMAIN\username and just username.  I get a message returned "incorrect username or password", which I know is a bad error as my username and password are correct. 

the SLDAP process is running a query every 10 seconds and the ldapmessages log is up to 12megs.

Here's a section from the log:

to Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1943 SRCH base="ou=Privileges,dc=virtualcenter,dc=vmware,dc=int" scope=1 deref=0 filter="(objectClass=*)"

Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1943 SRCH attr=vmw-vc-PrivGroup cn vmw-vc-PrivIsOnParent isDeleted modifyTimestamp entryUUID lastKnownParent

Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1943 SEARCH RESULT tag=101 err=0 nentries=278 text=

Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1944 SRCH base="ou=UserRoles,dc=virtualcenter,dc=vmware,dc=int" scope=1 deref=0 filter="(objectClass=*)"

Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1944 SRCH attr=vmw-vc-PrivilegeList cn vmw-vc-RoleName isDeleted modifyTimestamp entryUUID lastKnownParent

Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1944 SEARCH RESULT tag=101 err=0 nentries=6 text=

Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1945 SRCH base="ou=Licenses,ou=Licensing,dc=virtualcenter,dc=vmware,dc=int" scope=1 deref=0 filter="(objectClass=*)"

Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1945 SRCH attr=cn revision isDeleted modifyTimestamp entryUUID lastKnownParent

Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1945 SEARCH RESULT tag=101 err=0 nentries=272 text=

Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1946 SRCH base="ou=LicenseEntities,ou=Licensing,dc=virtualcenter,dc=vmware,dc=int" scope=1 deref=0 filter="(objectClass=*)"

Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1946 SRCH attr=cn revision isDeleted modifyTimestamp entryUUID lastKnownParent

Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1946 SEARCH RESULT tag=101 err=0 nentries=4 text=

Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1947 SRCH base="ou=Licenses,ou=Licensing,dc=virtualcenter,dc=vmware,dc=int" scope=1 deref=0 filter="(objectClass=*)"

Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1947 SRCH attr=cn vmw-vc-LicenseFileContent vmw-vc-LicenseFileName objectClass isDeleted modifyTimestamp entryUUID lastKnownParent

Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1947 SEARCH RESULT tag=101 err=0 nentries=272 text=

Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1943 SRCH base="ou=Privileges,dc=virtualcenter,dc=vmware,dc=int" scope=1 deref=0 filter="(objectClass=*)"
Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1943 SRCH attr=vmw-vc-PrivGroup cn vmw-vc-PrivIsOnParent isDeleted modifyTimestamp entryUUID lastKnownParent
Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1943 SEARCH RESULT tag=101 err=0 nentries=278 text=
Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1944 SRCH base="ou=UserRoles,dc=virtualcenter,dc=vmware,dc=int" scope=1 deref=0 filter="(objectClass=*)"
Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1944 SRCH attr=vmw-vc-PrivilegeList cn vmw-vc-RoleName isDeleted modifyTimestamp entryUUID lastKnownParent
Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1944 SEARCH RESULT tag=101 err=0 nentries=6 text=
Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1945 SRCH base="ou=Licenses,ou=Licensing,dc=virtualcenter,dc=vmware,dc=int" scope=1 deref=0 filter="(objectClass=*)"
Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1945 SRCH attr=cn revision isDeleted modifyTimestamp entryUUID lastKnownParent
Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1945 SEARCH RESULT tag=101 err=0 nentries=272 text=
Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1946 SRCH base="ou=LicenseEntities,ou=Licensing,dc=virtualcenter,dc=vmware,dc=int" scope=1 deref=0 filter="(objectClass=*)"
Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1946 SRCH attr=cn revision isDeleted modifyTimestamp entryUUID lastKnownParent
Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1946 SEARCH RESULT tag=101 err=0 nentries=4 text=
Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1947 SRCH base="ou=Licenses,ou=Licensing,dc=virtualcenter,dc=vmware,dc=int" scope=1 deref=0 filter="(objectClass=*)"
Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1947 SRCH attr=cn vmw-vc-LicenseFileContent vmw-vc-LicenseFileName objectClass isDeleted modifyTimestamp entryUUID lastKnownParent
Oct  1 16:44:33 vcenter slapd[6392]: conn=1002 op=1947 SEARCH RESULT tag=101 err=0 nentries=272 text=
0 Kudos
VMBrandon
Contributor
Contributor

I have been able to resolve my issue but not 100% how.  I used this document from Vmware to help.  I also went in and added my domain to the default domain.  I also removed and readded my groups in at the VC level and now I am able to login using my credentials from AD.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=203374...

0 Kudos
jaliospb
Contributor
Contributor

I've also benn able to resolve the issue by doing the following :

1) Verify that vCenter's time was close to my Domain controller's

2) Removing the vCenter record in Active Directory

3) Putting my DC IP adresses in vCenters /etc/hosts

4) Issueing the following command : /opt/likewise/bin/domainjoin-cli --loglevel verbose --logfile . join  <domain>  <account> <password>

5) And then verifying that the domain was joined correctly via this command : /opt/likewise/bin/lw-get-status

6) Restart the vCenter

7) Profit Smiley Wink

The domain should be available if you want to add authorisations to specific users and/or groups.

--

Philippe Bérard

JALIOS

0 Kudos