The following will be the causes for Intermittently prompted for credentials while using NTLM SSO in liferay.
- Configuration issue(Session key negotiation failed issue): To fix the issue find the following steps.
- see the link Session key negotiation failed issue in NTLM with Liferay 6.2
- Add the site URL in trusted sites and update the authentication type to windows authentication in Advanced settings. Configuring Internet Explorer for Integrated Windows Authentication
- update network security:LAN Manager authentication Level. see the link NTLM authentication issue with session
- On heavy load you may get Unable to authenticate due to communication failure with server caused by : jcifs.smb.SmbException: All pipe instances are busy. To fix this issue we have to upgrade the jcifs jar
- also we need to update the server configuration.see below links.
Hi, i have big problem w ntlm and liferay 6.2 ce ga 2.
ReplyDeleteIn liferay i configured ldap and it is OK.
Now i configure NTLM and i think it is not working. No error logs, nothing.
in portal-ext.properties i have:
auto.login.hooks=com.liferay.portal.security.auth.NtlmAutoLogin
company.security.auth.type=screenName
ntlm.auth.enabled=true
ntlm.auth.domain=AB
ntlm.auth.domain.controller=ip
ntlm.auth.domain.controller.name=ab-domain
ntlm.auth.negotiate.flags=0x600FFFFF
ntlm.auth.service.account=XXX$@bleh.local
ntlm.auth.service.password=************
In AD we have computer account CN=Computers which name is XXX$.
My users are in OU=AB
now i open IE, i have windows window to login. No matter what i do, at the end result is the same. Blank empty IE and no error in logs. In firebug i see only 401 Not authorized.
liferay site redirect to http://www.liferay.com/community/wiki/-/wiki/Main/Integration+with+NTLM+plus+ADS but there is no images available.
Can You help me?
Please contact me, we can pay for your time.
Hi,
ReplyDeleteFirst check where you have connected properly with LDAP?
you have to check where you have done proper LDAP configuration.
if you have ldap configuration,you should login with out ntlm
then enable NTLM ,check you are able to do or not
Hi,
ReplyDeleteI did the same step with @Konrad Czerkas
I could login by LDAP successfully. But when I enable NTLM then facing the issue:
07:07:49,405 ERROR [http-bio-8080-exec-11][NtlmFilter:235] Unable to perform NTLM authentication
com.liferay.portal.security.ntlm.NtlmLogonException: Session key negotiation failed
at com.liferay.portal.security.ntlm.NetlogonConnection.connect(NetlogonConnection.java:128)
at com.liferay.portal.security.ntlm.Netlogon.logon(Netlogon.java:49)
at com.liferay.portal.security.ntlm.NtlmManager.authenticate(NtlmManager.java:69)
at com.liferay.portal.servlet.filters.sso.ntlm.NtlmFilter.processFilter(NtlmFilter.java:230)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
Kindly help me :(
clean road unlimited mod
ReplyDeleteI Love your article. You cant visit my website : chaitib
ReplyDeleteThanks for the post...
ReplyDeletebest salesforce training in hyderabad
devops training
full stack network engineer training