cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling Ldap working on Alfresco Co 2.9.0

subemontes
Champ in-the-making
Champ in-the-making
Good Morning.
I configured a running alfresco 2.9.0 in 2008 against a Microsoft DC (Ldap) with quite difficulty and looking in the forums for help. Much of the threads help me a lot, and after some figth, it worked nice.

That alfresco still runs cos it's used to internal document storage but we have a problem now… The domain is going to dissapear (we have been adquired).

So, I have spend the last 6 hours of work searching old threads and docs for "diabling NTLM", and I think i found them, but not as I would like. I'll explain:

There's only a few files modified on 2008, located in alfresco\web-inf and shared\…\extensions
In one post, tolds that for enabling NTLM u have to modify web.xml with parameters… I have it modified.
Current web.xml is:
<filter>
      <filter-name>Authentication Filter</filter-name>
      <filter-class>org.alfresco.web.app.servlet.NTLMAuthenticationFilter</filter-class>
      </filter>
Expected web.xml with Ntlm is
<filter>
      <filter-name>Authentication Filter</filter-name>
      <filter-class>org.alfresco.web.app.servlet.AuthenticationFilter</filter-class>
      </filter>
The same filters are configured for WebDav (but it isn't used)
The problem with that web.xml modified is that I cant enter… no admin/admin no old accounts of the domain… no old users…
¿Any Advice?

[size=150]The second option[/size] is "changing" the DC at the new domain, I have done so modifing:
ntlm-authentication-context.xml and ldap-authentication.properties… and it works! but then another strange thing happens:

After configured to a new DC, and added a user to "authority-services-context.xml" so I can log as admin… I can see the spaces and the docs, but the application that use it cant Smiley Sad
The parameters of the app are:

Alfresco=http://localhost:80/alfresco/api
user=genericApp
pass=XXX
The same code, with another used, pointing to the old domain works, but it didnt work to the new domain (and the user is admin)

I'm a bit lost in this option. ¿Any advice?
1 REPLY 1

subemontes
Champ in-the-making
Champ in-the-making
Well, I still didnt managed to disable Ldap and access alfresco with another user… but I found something interesting that maybe someone searching will use.

In w2008, with the Ipv6 disabled, Alfresco 2.9 still binds to ::1, so it's accesible via IE and firerox, but not by app expecting localhost… the solution I found is use address in the conector in server.xml to bind to the ip4 address… and change the code to use IP and not localhost.