cancel
Showing results for 
Search instead for 
Did you mean: 

Is alfresco labs 3.0 support both LDAP and FTP, CIFS?

javauser007
Champ in-the-making
Champ in-the-making
Hi team,
i'm using alfresco labs 3.0 stable version. Now i'm trying to integrate LDAP (open LDAP) with alfresco.
when i'm trying to integrate it with alfresco i'm getting the following error even i'm entering into the alfresco with the users ceated in alfresco.
10:54:43,330 User:System INFO  [repo.module.ModuleServiceImpl] Starting module '
org.alfresco.module.vti' version 1.0.
10:54:45,722 User:System ERROR [smb.protocol.auth] No valid CIFS authentication
combination available
10:54:45,722 User:System ERROR [smb.protocol.auth] Either enable Kerberos suppor
t or use an authentication component that supports MD4 hashed passwords
10:54:45,722 User:System ERROR [alfresco.smb.protocol] CIFS server configuration
error, Invalid CIFS authenticator configuration
org.alfresco.error.AlfrescoRuntimeException: Invalid CIFS authenticator configur
ation
        at org.alfresco.filesys.auth.cifs.EnterpriseCifsAuthenticator.initialize
(EnterpriseCifsAuthenticator.java:389)
        at org.alfresco.jlan.smb.server.CIFSConfigSection.setAuthenticator(CIFSC
onfigSection.java:607)
        at org.alfresco.filesys.ServerConfigurationBean.processCIFSServerConfig(
ServerConfigurationBean.java:881)
        at org.alfresco.filesys.ServerConfigurationBean.init(ServerConfiguration
Bean.java:546)
        at org.alfresco.filesys.ServerConfigurationBean.onApplicationEvent(Serve
rConfigurationBean.java:3098)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$1
.run(SimpleApplicationEventMulticaster.java:77)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecut
or.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.m
ulticastEvent(SimpleApplicationEventMulticaster.java:75)
        at org.springframework.context.support.AbstractApplicationContext.publis
hEvent(AbstractApplicationContext.java:246)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:355)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:244)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:187)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
342)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)

        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719
)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
16)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
10:54:45,738 User:System ERROR [alfresco.smb.protocol] FTP server configuration
error, Wrong authentication setup for alfresco authenticator
org.alfresco.error.AlfrescoRuntimeException: Wrong authentication setup for alfr
esco authenticator
        at org.alfresco.filesys.ServerConfigurationBean.processFTPServerConfig(S
erverConfigurationBean.java:1833)
        at org.alfresco.filesys.ServerConfigurationBean.init(ServerConfiguration
Bean.java:580)
        at org.alfresco.filesys.ServerConfigurationBean.onApplicationEvent(Serve
rConfigurationBean.java:3098)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$1
.run(SimpleApplicationEventMulticaster.java:77)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecut
or.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.m
ulticastEvent(SimpleApplicationEventMulticaster.java:75)
        at org.springframework.context.support.AbstractApplicationContext.publis
hEvent(AbstractApplicationContext.java:246)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:355)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:244)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:187)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
342)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)

        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719
)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
16)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
10:54:47,067 User:System WARN  [alfresco.util.OpenOfficeConnectionTester] An ini
tial OpenOffice connection could not be established.

if i'm disabling the CIFS and FTP in file-servers.xml then everything working great without errors.
If i disabled the CIFS and FTP i'm not using those features. But i want those features. To avoid this how can i do it?

Any help is appriciated. thanks for your support.
6 REPLIES 6

javauser007
Champ in-the-making
Champ in-the-making
10:54:45,738 UserSmiley Frustratedystem ERROR [alfresco.smb.protocol] FTP server configuration
error, Wrong authentication setup for alfresco authenticator
org.alfresco.error.AlfrescoRuntimeException: Wrong authentication setup for alfr
esco authenticator
        at org.alfresco.filesys.ServerConfigurationBean.processFTPServerConfig(S
erverConfigurationBean.java:1833)
        at org.alfresco.filesys.ServerConfigurationBean.init(ServerConfiguration
Bean.java:580)

ok belmekki,
I'm getting the same problem with FTP also see the above one. CIFS is having a problem then what happen to FTP??
do you have any idea on this??

thanks for ur support.

manish17
Champ in-the-making
Champ in-the-making
Please provide the complete environment on which you are deploying the Alfresco Stable 3.0
Accordingly, I will tell you the resolution.

javauser007
Champ in-the-making
Champ in-the-making
Hi Manish,
my Enviroment is as follows.

OS: Windows XP
Alfresco: LAbs 3.0 stable version
LDAP: Open ldap 2.2.29

I don't know how belmekki did this ?
But still i'm facing the same problem.
Any help is appriciated.

manish17
Champ in-the-making
Champ in-the-making
Let me know if you are facing the same issue.

javauser007
Champ in-the-making
Champ in-the-making
Hi manish,
yes, still i'm facing the same issue.

itsard
Champ in-the-making
Champ in-the-making
Hi all,
I need to configure LDAP with alfresco labs 3.0
My ldap-authentication.properties is like :
#
# This properties file brings together the common options for LDAP authentication rather than editing the bean definitions
#

# How to map the user id entered by the user to taht passed through to LDAP
# - simple
#    - this must be a DN and would be something like
#      CN=%s,DC=company,DC=com
# - digest
#    - usually pass through what is entered
#      %s    
ldap.authentication.userNameFormat=cn=EMP_MST,dc=iwas,dc=in

# The LDAP context factory to use
ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory

# The URL to connect to the LDAP server
ldap.authentication.java.naming.provider.url=ldap://172.26.145.123:389

# The authentication mechanism to use
ldap.authentication.java.naming.security.authentication=SIMPLE

# The default principal to use (only used for LDAP sync)
ldap.authentication.java.naming.security.principal=cn=ldapadmin

# The password for the default principal (only used for LDAP sync)
ldap.authentication.java.naming.security.credentials=ldapadminpwd

# Escape commas entered by the user at bind time
# Useful when using simple authentication and the CN is part of the DN and contains commas
ldap.authentication.escapeCommasInBind=false

# Escape commas entered by the user when setting the authenticated user
# Useful when using simple authentication and the CN is part of the DN and contains commas, and the escaped \, is
# pulled in as part of an LDAP sync
# If this option is set to true it will break the default home folder provider as space names can not contain \
ldap.authentication.escapeCommasInUid=false


I am not able to login into  alfresco with either admin or any other user. At the server the error is :
org.alfresco.error.AlfrescoRuntimeException: Wrong authentication setup for alfresco authenticator.

I need neither a CFS nor a FTP configuration.
In the file-servers.properties there is an entry :
cifs.localname=${localname}
cifs.domain=
cifs.broadcast=255.255.255.255

Do I delete it as i dont need it.
Plz let me know where the prob is as I cant login into Alfresco????