04-06-2011 12:08 PM
15:50:00,090 ERROR [org.quartz.core.JobRunShell] Job DEFAULT.ldapPeopleJobDetail threw an unhandled Exception:
java.lang.NullPointerException
at org.alfresco.repo.importer.ExportSourceImporter.doImport(ExportSourceImporter.java:218)
at org.alfresco.repo.importer.ImporterJob.execute(ImporterJob.java:44)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
15:50:00,093 ERROR [org.quartz.core.ErrorLogger] Job (DEFAULT.ldapPeopleJobDetail threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: java.lang.NullPointerException
at org.alfresco.repo.importer.ExportSourceImporter.doImport(ExportSourceImporter.java:218)
at org.alfresco.repo.importer.ImporterJob.execute(ImporterJob.java:44)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
… 1 more
#
# This properties file brings together the common options for LDAP authentication rather than editing the bean definitions
#
ldap.authentication.active=true
# 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=%s
ldap.authentication.userNameFormat=cn\=%s,ou\=people,dc\=alfresco,dc\=sample,dc\=sm
# 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://openldap.domain.com:389
ldap.authentication.java.naming.provider.url=ldap://192.168.2.30:389
# The authentication mechanism to use
#ldap.authentication.java.naming.security.authentication=DIGEST-MD5
ldap.authentication.java.naming.security.authentication=simple
# The default principal to use (only used for LDAP sync)
#ldap.authentication.java.naming.security.principal=reader
#ldap.authentication.java.naming.security.principal=admin
ldap.authentication.java.naming.security.principal=cn=admin,dc=alfresco,dc=sample,dc=sm
# The password for the default principal (only used for LDAP sync)
ldap.authentication.java.naming.security.credentials=secret
# 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
#
# This properties file is used to configure LDAP syncronisation
#
ldap.synchronization.active=true
# The query to find the people to import
#ldap.synchronisation.personQuery=(objectclass=inetOrgPerson)
ldap.synchronisation.personQuery=(objectclass\=inetOrgPerson)
# The search base of the query to find people to import
#ldap.synchronisation.personSearchBase=dc=company,dc=com
#ldap.synchronisation.personSearchBase=ou\=people,dc\=alfresco,dc\=sample,dc\=sm
ldap.synchronisation.personSearchBase=dc\=alfresco,dc\=sample,dc\=sm
# The attribute name on people objects found in LDAP to use as the uid in Alfresco
#ldap.synchronisation.userIdAttributeName=uid
ldap.synchronisation.userIdAttributeName=cn
# The attribute on person objects in LDAP to map to the first name property in Alfresco
ldap.synchronisation.userFirstNameAttributeName=givenName
# The attribute on person objects in LDAP to map to the last name property in Alfresco
ldap.synchronisation.userLastNameAttributeName=sn
# The attribute on person objects in LDAP to map to the email property in Alfresco
ldap.synchronisation.userEmailAttributeName=mail
# The attribute on person objects in LDAP to map to the organizational id property in Alfresco
ldap.synchronisation.userOrganizationalIdAttributeName=o
# The default home folder provider to use for people created via LDAP import
#ldap.synchronisation.defaultHomeFolderProvider=personalHomeFolderProvider
ldap.synchronisation.defaultHomeFolderProvider=userHomesHomeFolderProvider
# The query to find group objects
#ldap.synchronisation.groupQuery=(objectclass=groupOfNames)
ldap.synchronisation.groupQuery=(objectclass\=groupOfUniqueNames)
# The search base to use to find group objects
#ldap.synchronisation.groupSearchBase=dc=company,dc=com
#ldap.synchronisation.groupSearchBase=ou\=groups,dc\=alfresco,dc\=sample,dc\=sm
ldap.synchronisation.groupSearchBase=dc\=alfresco,dc\=sample,dc\=sm
# The attribute on LDAP group objects to map to the gid property in Alfrecso
ldap.synchronisation.groupIdAttributeName=cn
# The group type in LDAP
#ldap.synchronisation.groupType=groupOfNames
ldap.synchronisation.groupType=groupOfUniqueNames
# The person type in LDAP
ldap.synchronisation.personType=inetOrgPerson
# The attribute in LDAP on group objects that defines the DN for its members
#ldap.synchronisation.groupMemberAttributeName=member
ldap.synchronisation.groupMemberAttributeName=uniqueMember
# The cron expression defining when people imports should take place
ldap.synchronisation.import.person.cron=0 */10 * * * ?
# The cron expression defining when group imports should take place
ldap.synchronisation.import.group.cron=0 */20 * * * ?
# Should all groups be cleared out at import time?
# - this is safe as groups are not used in Alfresco for other things (unlike person objects which you should never clear out during an import)
# - setting this to true means old group definitions will be tidied up.
#ldap.synchronisation.import.group.clearAllChildren=true
ldap.synchronisation.import.group.clearAllChildren=true
synchronization.synchronizeChangesOnly=false
synchronization.syncOnStartup=true
synchronization.syncWhenMissingPeopleLogIn=true
synchronization.autoCreatePeopleOnLogin=false
04-07-2011 02:27 AM
04-07-2011 06:51 AM
<property name="authenticationComponent">
<ref bean="authenticationComponent"/>
</property>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.