Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 4.x > Installation and deployment > Windows Authentication and Mixed Mode do not Work. View modes: 
User avatar
Member
Member
vablonde25-aol - 12/11/2009 1:00:52 PM
   
Windows Authentication and Mixed Mode do not Work.
Is there anyone else who has had issues authenticating to AD? Even just doing Windows authentication presents a whole different set of issues.

I can see successful ldap connections, the string is correct in mixed mode authentication and I keep getting this error:
Event code: 4006
Event message: Membership credential verification failed.
Event time: 12/11/2009 1:25:45 PM
Event time (UTC): 12/11/2009 6:25:45 PM
Event ID: be4e242092d74a96882445f78c349bec
Event sequence: 81
Event occurrence: 4
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/ROOT-24-129050284915055660
Trust level: Full
Application Virtual Path: /
Application Path: C:\Inetpub\wwwroot\NIAKENT\
Machine name: NIA-CMS

Process information:
Process ID: 3500
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Request information:
Request URL: http://nia-cms.nianet.org/CMSPages/logon.aspx?ReturnUrl=Membership credential verification failed.fCMSSiteManagerMembership credential verification failed.fDefault.aspx
Request path: /CMSPages/logon.aspx
User host address: 192.42.142.50
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Name to authenticate: wendy.murray


With just plain Windows authentication, the users do automatically import from AD and the inline tool bars disappear in CMS Desk:


Windows Login with Global Admin and Full Editor Rights:

No Inline Toolbar


Local Forms Authentication:

Inline Tool Bar appears no problem




User avatar
Member
Member
vablonde25-aol - 12/15/2009 9:40:13 AM
   
RE:Windows Authentication and Mixed Mode do not Work.
Anyone?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/15/2009 1:00:05 PM
   
RE:Windows Authentication and Mixed Mode do not Work.
Hi,

I sent you the information in an e-mail message, but I will post it here as well for other users reference.

The problem is that the application name is not matching in the web.config file. For more details please see these articles:
www.aspnettricks.com/archives/membership-credential-verification-failed/
peterkellner.net/2006/10/20/loginfailswithiisnotcasini/

The issue with the WYSIWYG toolbar disappearing is still being solved...

Best Regards,
Juraj Ondrus

User avatar
Member
Member
vablonde25-aol - 12/15/2009 1:10:25 PM
   
RE:Windows Authentication and Mixed Mode do not Work.
Thanks Juraj!

I don't see the Here is the solution: The “ApplicationName” value in “aspnet_Applications” database tables in the default Kentico database so can you tell me which table holds the application name so I can verify that it matches in the web.config file?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/21/2009 1:41:51 AM
   
RE:Windows Authentication and Mixed Mode do not Work.
Hi,

We have been solving this over the e-mails, but I will post it also here for others.

We found this forum and there is a post where the guy is talking about how he fixed this problem:

"Got the problem fixed. The problem was in my connection string. It was
connectionString="LDAP://Client.local/CN=Users,DC=Client,DC=Local" I needed
to drop the 'CN=Users' -> "LDAP://Client.local/DC=Client,DC=Local"..."


Best Regards,
Juraj Ondrus