By: Akshat Agarwal user 18 Oct 2024 at 1:06 a.m. CDT

1 Response
Akshat Agarwal gravatar
I have several services that currently authenticate using a single LDAP server. I would like to use Gluu to REPLACE single LDAP server and also to PULL in user information from one additional LDAP server. I have properly configured cache refresh as explained here: https://gluu.org/docs/gluu-server/4.3/user-management/ldap-sync/ but it's not working. The data is not getting synced. when I run "Test Ldap connection" I get "LDAP Connection Test succeeded!" message. when I run "Update and validate script" I'm getting below response `Script has been executed successfully.Sample source entry is:uid: 'Test value'mail: 'Test value'.Sample result entry is:dn: 'inum=0000!427A.028E,ou=people,o=gluu'inum: '0000!427A.028E',gluuStatus: 'active'inum: '0000!427A.028E'gluuStatus: 'active'mail: 'Test value'uid: 'Test value'preferredLanguage: 'en-us'userPassword: 'test'` This is my snapshot folder: /var/gluu/identity/cr-snapshots. There are no files here. It's empty. I have given polling interval as 1 minute. I can see in the logs that cache refresh custom script is getting triggered every minute. log from /opt/gluu/jetty/identity/logs/oxtrust_script.log ``` 2024-10-18 06:01:30,833 INFO [ForkJoinPool.commonPool-worker-3] [org.gluu.service.PythonService$PythonLoggerOutputStream] (PythonService.java:243) - Cache refresh. Is start process method 2024-10-18 06:02:30,824 INFO [ForkJoinPool.commonPool-worker-11] [org.gluu.service.PythonService$PythonLoggerOutputStream] (PythonService.java:243) - Cache refresh. Is start process method ``` Also, it's not showing any data for Last run, Updates at last run, Problems at last run. Is cache refresh not possible for this case or what could be the possible error?

By Mohib Zico Account Admin 18 Oct 2024 at 1:15 a.m. CDT

Mohib Zico gravatar
Hello, Gluu CE is behind paywall now. You have to purchase subscription to continue with Gluu CE. You can use [Janssen](https://docs.jans.io/v1.1.5/). Regarding your Cache Refresh issue: most probably you are not using proper ObjectClasses for the LDAP server which you are pulling information from. You can get more info in log if you make oxTrust logging to DEBUG / TRACE.