cancel
Showing results for 
Search instead for 
Did you mean: 

Auth to Alfresco/Active Directory

talexander
Champ in-the-making
Champ in-the-making
So, I have followed the quick start guide and have got OWD loading up and supposedly connecting to our Alfresco 4 repository.  This was achieved by ammending the bootstrap xml file and removing the cloud and other WSDL connectors and leaving the localhost option.

All looking good so far.  Problem I am now hitting is logging in to the thing.  the page loads and entering Admin/admin allows me in to the back end by trying to expand the Master Repository fails with a "could not connect to node" warning.  Checking catalina.out for the OWD tomcat shows an auth failure. 

A suggestion here was to use the admin username and password for the alfresco site.  That is fine in principle but I was wondering long term how users will gain access?  We have Alfresco authenticating against Active Directory but none of the usernames and passwords specified seem to work.  The documentation seems to suggest that OWD performs no authentication and offloads this to ECM (which I am guessing is Alfresco in this case).  Is the only way to use OWD with the admin account of Alfresco?
2 REPLIES 2

d_evil
Champ in-the-making
Champ in-the-making
Hello talexander,

The problem you facing sounds like a configuration issue.
Simple test if AD (Active Directory) is correct configured, try to login with the same user in Alfresco Explorer or Share.

Version information of your System would help, and I could test it also on my system. I have a 4.0e with AD and could connect with the AD users after the synchronization of AD Users/Groups was done.

To answer your question, the authentication is done through SOAP where user credentials are provided to Alfresco-CMIS connectionpoint. If the user is valid the Call succeed and a the corresponding response is returned, else an exception is thrown.

If you would like to verify that the OWD is working correct, try to fire a search.
Is there the same issue?
Can the search-templates be displayed?

Should the search-templates be displayed, and search executed successfully
please look into your configuration
<WSDLObject>http://localhost:8080/alfresco/cmis/ObjectService?wsdl</WSDLObject>
maybe a typo in the URL.

Regards,
D.evil

talexander
Champ in-the-making
Champ in-the-making
Ah, your line "maybe a typo" was spot on.  Had not commented out the default repository correctly.  Also the permissions issue was related to file permissions with the generation of the settings files etc.  Essentially I had been staring at the trees and could not see the wood.  A quick chown command later and everything is plugged in and hooked up.  Thanks for you patience.

Regards
Tim