Cannot login to Clo...
 

Cannot login to CloudPanel after Exchange 2016 upgrade to CU12  

  RSS

dol587
Active Member
Joined: 2 years ago
Posts: 11
2019-08-27 16:02  

Hi,

today I installed the Exchange 2016 CU12 and now I cannot login to CloudPanel.
The error I'm getting in the web browser is:
Unknown error (0x80005000)

In the CloudPanel.txt log i see this error (I replaced the domain name with MYDOMAIN):
2019-08-27 22:42:12,000 [DEBUG] CloudPanel.ActiveDirectory.ADUsers - Retrieving the PrincipalContext...
2019-08-27 22:42:12,006 [DEBUG] CloudPanel.ActiveDirectory.ADUsers - Searching for user MYDOMAIN\Administrator
2019-08-27 22:42:12,008 [ERROR] CloudPanel.ActiveDirectory.ADUsers - Error authenticating user MYDOMAIN\Administrator. Exception: System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, String identityValue)
at System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(PrincipalContext context, String identityValue)
at CloudPanel.ActiveDirectory.ADUsers.AuthenticateUser(String username, String password, String[] superAdminGroups, String[] billingAdmins, Boolean& isSuperAdmin, Boolean& isBillingAdmin)
2019-08-27 22:42:12,009 [ERROR] CloudPanel.UserMapper - Error logging in user MYDOMAIN\Administrator: System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, String identityValue)
at System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(PrincipalContext context, String identityValue)
at CloudPanel.ActiveDirectory.ADUsers.AuthenticateUser(String username, String password, String[] superAdminGroups, String[] billingAdmins, Boolean& isSuperAdmin, Boolean& isBillingAdmin)
at CloudPanel.UserMapper.Validate(String username, String password)
2019-08-27 22:42:12,009 [ERROR] CloudPanel.Modules.LoginModule - Error logging in: System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, String identityValue)
at System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(PrincipalContext context, String identityValue)
at CloudPanel.ActiveDirectory.ADUsers.AuthenticateUser(String username, String password, String[] superAdminGroups, String[] billingAdmins, Boolean& isSuperAdmin, Boolean& isBillingAdmin)
at CloudPanel.UserMapper.Validate(String username, String password)
at CloudPanel.Modules.LoginModule.<.ctor>b__1_1(Object _)

I tried to run the repair installation of the CloudPanel, but no luck. Any idea?

Thanks


Quote
Jacob Dixon
Noble Member Admin
Joined: 5 years ago
Posts: 1033
2019-08-27 16:04  

It wasn't able to bind to your domain controller. You may want to double check the username/password in the /admin/setup page and also try another user other than Administrator as a test.


ReplyQuote
dol587
Active Member
Joined: 2 years ago
Posts: 11
2019-08-27 16:13  

Hi Jacob,

thank you very much for your quick answer. I checked the username and password on /admin/setup and tried to replace it with administrator@mydomain.local but still no luck.

Can I try to replace it with an non admin user or do I have to create a new admin user in the AD and replace it with it?

Thanks


ReplyQuote
Jacob Dixon
Noble Member Admin
Joined: 5 years ago
Posts: 1033
2019-08-27 16:15  

It would need to be an admin user but you can try a different user that is a member of Domain Admins. When you try that make sure you change the IIS application pool that CloudPanel uses too. They should match.

The thing is upgrading Exchange shouldn't of done this because this is talking directly to your domain controller and not Exchange during this process. It was working before the upgrade right?


ReplyQuote
dol587
Active Member
Joined: 2 years ago
Posts: 11
2019-08-27 16:31  

I created a new user, modified the username and password in the /admin/setup and now I can login with every user normally.

I tried even to change the username and password back to MYDOMAIN\Administrator and is still working, so it's solved, thanks again!


ReplyQuote
Jacob Dixon
Noble Member Admin
Joined: 5 years ago
Posts: 1033
2019-08-27 16:36  

That is odd. Maybe recycling the application pool made it start working. When you change a password it restarts that application pool.


ReplyQuote
dol587
Active Member
Joined: 2 years ago
Posts: 11
2019-08-27 16:41  

Maybe 🙂

I’am still happy that it works now 🙂

Thanks again!


ReplyQuote
Share:

Please Login or Register