cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring 2.0 - NTLM authentication

jayas
Champ in-the-making
Champ in-the-making
Hello,

I have downloaded 2.0 comunitiy edition and tried to configure NTLM authentication based on wiki documentation - no luck.

Would appreciate if someone can post the exact steps required to get this to work.

Also would like to import AD users.

Thanks
4 REPLIES 4

jayas
Champ in-the-making
Champ in-the-making
Ok, got NTLM authentication to work.
Following changes were made:

web.xml
Switched to NTLMAuthenticationFilter
<filter>
  <filter-name>Authentication Filter</filter-name>
  <filter-class>org.alfresco.web.app.servlet.NTLMAuthenticationFilter</filter-class>
</filter>

<filter>
  <filter-name>WebDAV Authentication Filter</filter-name>
  <filter-class>org.alfresco.repo.webdav.auth.NTLMAuthenticationFilter</filter-class>
</filter>

Un-commented the following 3 mappings
<filter-mapping>
  <filter-name>Authentication Filter</filter-name>
  <url-pattern>/navigate/*</url-pattern>
</filter-mapping>

<filter-mapping>
  <filter-name>Authentication Filter</filter-name>
  <url-pattern>/command/*</url-pattern>
</filter-mapping>

<filter-mapping>
  <filter-name>Authentication Filter</filter-name>
  <url-pattern>/template/*</url-pattern>
</filter-mapping>


In \Alfresco\tomcat\shared\classes\alfresco\extension folder
rename ntlm-authentication-context.xml.sample to ntlm-authentication-context.xml

Replace the following with
<property name="useLocalServer">
  <value>true</value>
</property>

with
<property name="domain">
  <value>VALUE OF YOUR DOMAIN</value>
</property>

schneika
Champ in-the-making
Champ in-the-making
Do i have to change the bean-id from authenticationComponentImpl to authenticationComponent for Version 2.0 CE?

andy
Champ on-the-rise
Champ on-the-rise
Yes

Andy

jayas
Champ in-the-making
Champ in-the-making
CIFS server configuration error - resolved:

In \Alfresco\tomcat\shared\classes\alfresco\extension folder
rename file-servers-custom.xml.sample to file-servers-custom.xml

Add the following tag at the end (make sure </alfresco-config> is the last line)

<config evaluator="string-compare" condition="Filesystem Security">
<authenticator type="alfresco">
</authenticator>
</config>