<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can't get to authenticate my user through AD in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/can-t-get-to-authenticate-my-user-through-ad/m-p/95550#M28123</link>
    <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;I recently installed alfresco, and i'm trying to syncronyze and authenticate through my AD with the help of this documentation :&lt;/P&gt;&lt;P&gt;&lt;A title="Topic link" href="https://docs.alfresco.com/3.4/tasks/auth-example-oneldap-ad.html" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/3.4/tasks/auth-example-oneldap-ad.html&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have succeded in adding all of my user to my alfresco system, but i can't get to authenticate on it. It always return an error as if i had mistaken the creditential which i know are right.&lt;BR /&gt;&lt;BR /&gt;I tried debugging using the alfresco log located in /alfresco/tomcat/logs/alfresco.log, but the file was not there. I created it just in case but it stays empty ! I also read the logs located in alfresco/logs/alfresco.log but i don't feel like it is returning anything interesting.&lt;/P&gt;&lt;P&gt;The alfresco-global.properties has been modified as the topic below said.&lt;/P&gt;&lt;PRE&gt;authentication.chain=alfinst:alfrescoNtlm,ldap1:ldap-ad

ntlm.authentication.sso.enabled=false

ldap.authentication.allowGuestLogin=false
ldap.authentication.userNameFormat=%s@domain.com
ldap.authentication.java.naming.provider.url=ldap://domaincontroller.domain.com:389
ldap.authentication.defaultAdministratorUserNames=Administrator,alfresco
ldap.synchronization.java.naming.security.principal=alfresco@domain.com
ldap.synchronization.java.naming.security.credentials=secret
ldap.synchronization.groupSearchBase=ou=Security Groups,ou=Alfresco\
,dc=domain,dc=com

ldap.synchronization.userSearchBase=ou=User Accounts,ou=Alfresco,dc=domain,dc=com&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Can anyone help me ?&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2020 07:19:31 GMT</pubDate>
    <dc:creator>Rituels</dc:creator>
    <dc:date>2020-10-23T07:19:31Z</dc:date>
    <item>
      <title>Can't get to authenticate my user through AD</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/can-t-get-to-authenticate-my-user-through-ad/m-p/95550#M28123</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;I recently installed alfresco, and i'm trying to syncronyze and authenticate through my AD with the help of this documentation :&lt;/P&gt;&lt;P&gt;&lt;A title="Topic link" href="https://docs.alfresco.com/3.4/tasks/auth-example-oneldap-ad.html" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/3.4/tasks/auth-example-oneldap-ad.html&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have succeded in adding all of my user to my alfresco system, but i can't get to authenticate on it. It always return an error as if i had mistaken the creditential which i know are right.&lt;BR /&gt;&lt;BR /&gt;I tried debugging using the alfresco log located in /alfresco/tomcat/logs/alfresco.log, but the file was not there. I created it just in case but it stays empty ! I also read the logs located in alfresco/logs/alfresco.log but i don't feel like it is returning anything interesting.&lt;/P&gt;&lt;P&gt;The alfresco-global.properties has been modified as the topic below said.&lt;/P&gt;&lt;PRE&gt;authentication.chain=alfinst:alfrescoNtlm,ldap1:ldap-ad

ntlm.authentication.sso.enabled=false

ldap.authentication.allowGuestLogin=false
ldap.authentication.userNameFormat=%s@domain.com
ldap.authentication.java.naming.provider.url=ldap://domaincontroller.domain.com:389
ldap.authentication.defaultAdministratorUserNames=Administrator,alfresco
ldap.synchronization.java.naming.security.principal=alfresco@domain.com
ldap.synchronization.java.naming.security.credentials=secret
ldap.synchronization.groupSearchBase=ou=Security Groups,ou=Alfresco\
,dc=domain,dc=com

ldap.synchronization.userSearchBase=ou=User Accounts,ou=Alfresco,dc=domain,dc=com&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Can anyone help me ?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 07:19:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/can-t-get-to-authenticate-my-user-through-ad/m-p/95550#M28123</guid>
      <dc:creator>Rituels</dc:creator>
      <dc:date>2020-10-23T07:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get to authenticate my user through AD</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/can-t-get-to-authenticate-my-user-through-ad/m-p/95551#M28124</link>
      <description>&lt;P&gt;Update : I found a relevant information in the log, it says :&lt;/P&gt;&lt;PRE&gt;2020-10-23 10:54:34,948 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-22] Exception from executeScript: 09230005 Wrapped Exception (with status template): A valid SecureContext was not provided in the RequestContext
org.springframework.extensions.webscripts.WebScriptException: 09230005 Wrapped Exception (with status template): A valid SecureContext was not provided in the RequestContext
	at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1138)
	at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
	at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:519)
	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)
	at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:587)
	at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:656)
	at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:355)
	at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:308)
	at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:399)
	at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210)
	at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.alfresco.module.aosmodule.service.ContextRootFilter.doFilter(ContextRootFilter.java:93)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1152)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)&lt;BR /&gt;Caused by: net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: A valid SecureContext was not provided in the RequestContext&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Oct 2020 09:00:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/can-t-get-to-authenticate-my-user-through-ad/m-p/95551#M28124</guid>
      <dc:creator>Rituels</dc:creator>
      <dc:date>2020-10-23T09:00:43Z</dc:date>
    </item>
  </channel>
</rss>

