cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco LDAP CIFS and AD Integration

cheacox
Champ in-the-making
Champ in-the-making
Has anyone ran into the same error and know how to fix it:

PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'domain' threw exception; nested exception is org.alfresco.error.AlfrescoRuntimeException: Failed to set passthru domain, java.io.IOException: Failed to find domain controller or browse master for SMUMN …  (this seemed to be the most pertinent error; if there are other errors that I should be looking for and posting, please let me know)

This error is spured from many others in a giant peragraph, which points to the following files:
core-services-context.xml
node-services-context.xml
model-specific-services-context.xml
public-services-security-context.xml
ntlm-authentication-context.xml



I think I have configured this server to use CIFS and LDAP, pointing the appropriate files to our domain, and domain controllers as in all the documentation that we've found on the subject, and I can't seem to get past this error.

I have also tried many other ways of passing the domain name, such as smumn.edu, smumn, dc=smumn,dc=edu, etc…  in ntlm-authentication-context.xml and file-servers.xml.

Which files need to be changed from "default" in order to get Alfresco to authenticate against an Active Directory domain?

I've referenced the following and haven't found a solution:
http://wiki.alfresco.com/wiki/Configuring_NTLM
http://issues.alfresco.com/browse/AR-1555
http://wiki.alfresco.com/wiki/CIFS_linux

Does anyone have other suggestions, or pages we could look to for help with this?

Any and all help will be much appreciated!
4 REPLIES 4

schneika
Champ in-the-making
Champ in-the-making

cheacox
Champ in-the-making
Champ in-the-making
Thank you SCHNEIKA for referring me to that web page; it was very helpful!

I have made some progress  Smiley Happy and my error messages have changed. 

As always, I've done some research before posting this, but have not found an answer to the errors I'm getting.  Hopefully someone has experience with them, or has seen a fix for any of them.

ERROR [org.alfresco.smb.protocol] File server configuration error, Desktop action class not found, org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction
ERROR [org.alfresco.smb.protocol] CIFS and FTP servers not started due to filesystem initialization error
ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Exception starting filter Authentication Filter
javax.servlet.ServletException: Failed to get local server name
ERROR [org.springframework.beans.factory.support.DisposableBeanAdapter] Couldn't invoke destroy method 'closeConfiguration' of bean with name 'fileServerConfiguration'

schneika
Champ in-the-making
Champ in-the-making
Please check you file-servers.xml.
You should name your Hostname with Domainname domain="yourdomain".

<alfresco-config area="file-servers">
<config evaluator="string-compare" condition="CIFS Server">
  <serverEnable enabled="true" />
  <host name="SERVERNAME" domain="DOMAIN" />
  <comment>VSA CIFS Server</comment>
<!–  Set to the broadcast mask for the subnet
  –>
  <broadcast>255.255.255.255</broadcast>
—————————————————————————


What authenicator-type to you use in file-servers-custom.xml?
You should prefer "alfresco"

cheacox
Champ in-the-making
Champ in-the-making
I entered in the host name (server name that alfresco resides on) and the domain name as you pointed out. 

The authenticator type had been set to "alfresco," in file-servers-custom.xml as well.

The errors have not changed at all.  What do you think I could be missing?