cancel
Showing results for 
Search instead for 
Did you mean: 

Error LDAP sync 3.4

pbb
Champ in-the-making
Champ in-the-making
Hi there!

I'm currently stuck with my LDAP configuration… I mean, I'm trying to get an LDAD authentication / sync'ing, but I have this error. I can't figure out what it means.
I'm working on Alfresco 3.4-d Community, WinXP. By the way, I never try to configure CIFS..

09:07:01,030  ERROR [org.alfresco.fileserver] CIFS server configuration error, Error creating bean with name 'authenticationComponent' defined in file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\ldap\common-ldap-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'boolean' for property 'active'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [${ldap.authentication.active}]
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationComponent' defined in file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\ldap\common-ldap-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'boolean' for property 'active'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [${ldap.authentication.active}]
It seems there is a problem with an invalid boolean, but I swear, there isnt typo in my properties file (C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\ldap\ldap1\ldap-authentication.properties):
# This flag enables use of this LDAP subsystem for authentication. It may be
# that this subsytem should only be used for synchronization, in which case
# this flag should be set to false.
ldap.authentication.active=true
I really dunno what the heck is wrong…

Please heeeelp meeee! Smiley Wink See ya
1 REPLY 1

pbb
Champ in-the-making
Champ in-the-making
Oh by the way, I found what happened…
First, I disabled cifs (cifs.enebled=false I guess) and then I added my ldap-properties to alfresco-global.properties. Indeed, this file overwrites the others… Now it's working!

Hope that helps for somebody else!