Alfresco ignoring ldap.synchronization.timestampFormat?

cancel
Showing results for 
Search instead for 
Did you mean: 
PeS
Active Member

Alfresco ignoring ldap.synchronization.timestampFormat?

Jump to solution

Hello commmunity,

I'm new here and realitively new admin of our system using Alfresco Community Edition (v. 6 at this location). On one instalation we want to connect to Lotus Domino LDAP to have synchronized users and group. We had to set BatchSize parameters to be able to connect to that Domino. 

ldap.synchronization.queryBatchSize=0
ldap.synchronization.attributeBatchSize=0

But now, it returns error Unparsable date even with setting timeStampFormat

alfresco | Caused by: java.text.ParseException: Unparseable date: "20230207081111Z"

ldap.synchronization.timestampFormat="yyyyMMddHHmmss'Z'"

I tried to test this pattern at online checker and it is able to parse that date correctly. Whan am I doing wrong, that we still have that error?

 

Best regards

Petr Sindelar

1 Solution

Accepted Solutions
ash_saxena10
Partner

Re: Alfresco ignoring ldap.synchronization.timestampFormat?

Jump to solution

Could you please try remove inverted commas from below property and try setting it as below :

ldap.synchronization.timestampFormat=yyyyMMddHHmmss'Z'

In our case we set it as below as it is active directory not an Openldap 

ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'

Below link will help out in setting timestamp format based on your Ldap server 

https://docs.alfresco.com/content-services/5.2/admin/auth-sync/

View solution in original post

3 Replies
PeS
Active Member

Re: Alfresco ignoring ldap.synchronization.timestampFormat?

Jump to solution

Hi all,

does anyone use that settings with another LDAP or does anyone have Domino as LDAP provider for Alfresco? How to test, if running Alfresco have this parameter set/write out all currectly set parameters?

Thank you for any hint.

Best regards,

Petr Sindelar

ash_saxena10
Partner

Re: Alfresco ignoring ldap.synchronization.timestampFormat?

Jump to solution

Could you please try remove inverted commas from below property and try setting it as below :

ldap.synchronization.timestampFormat=yyyyMMddHHmmss'Z'

In our case we set it as below as it is active directory not an Openldap 

ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'

Below link will help out in setting timestamp format based on your Ldap server 

https://docs.alfresco.com/content-services/5.2/admin/auth-sync/

PeS
Active Member

Re: Alfresco ignoring ldap.synchronization.timestampFormat?

Jump to solution

Hi Ash,

thank you very much your hint. You nailed it! Those double quotes was the problem, after deleting them we can synchronize users from Lotus Domino. I was testing it without it with wrong format, than added doublequotes. And then trying every possible format but all enclosed in double quotes. My bad mistake.

Best regards,

Petr Sindelar