By: Kateryna Mokliakova user 29 Mar 2021 at 8:39 a.m. CDT

3 Responses
Kateryna Mokliakova gravatar
Hi, I've configured cache refresh by video tutorial from docs page: https://www.gluu.org/docs/gluu-server/4.2/user-management/ldap-sync/ My OS is Windows Server 2019 with AD. Key attribute: sAMAccountName source attribute to destination attribute mapping: sAMAccountName =uid After sync no updates made. Could you, please, help me with that? P.S. i also used IP:port at field Server:port as my gluu-server doesn't resolve AD controller.

By Mohit Mali staff 29 Mar 2021 at 10:24 a.m. CDT

Mohit Mali gravatar
Hi Kateryna Mokliakova, Can you provide your cache refresh logs ? Thanks and Regads Mohit Mali.

By Kateryna Mokliakova user 30 Mar 2021 at 5:02 a.m. CDT

Kateryna Mokliakova gravatar
Hi, this is what i have in /opt/gluu/jetty/identity/logs/oxtrust_cache_refresh.log ``` 2021-03-30 08:17:24,163 INFO [Thread-14515] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:468) - Removed '0' persons from target server 2021-03-30 08:17:24,163 INFO [Thread-14515] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:485) - There are '0' entries before updating inum list 2021-03-30 08:17:24,164 INFO [Thread-14515] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:489) - There are '0' entries after removal '0' entries 2021-03-30 08:17:24,164 INFO [Thread-14515] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:493) - There are '0' entries after adding '0' entries 2021-03-30 08:20:24,089 INFO [Thread-14556] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:1158) - Created Cache Refresh PersistenceEntryManager: org.gluu.persist.ldap.impl.LdapEntryManager@4e260b4c 2021-03-30 08:20:24,089 INFO [Thread-14556] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:339) - Attempting to load entries from source server 2021-03-30 08:20:24,091 INFO [Thread-14556] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:348) - Found '0' entries in source server 2021-03-30 08:20:24,091 INFO [Thread-14556] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:352) - Found '0' unique entries in source server 2021-03-30 08:20:24,097 INFO [Thread-14556] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:404) - Found '0' changed entries 2021-03-30 08:20:24,097 INFO [Thread-14556] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:409) - Loaded '0' problem entries from problem file 2021-03-30 08:20:24,148 INFO [Thread-14556] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:423) - Updated '0' entries 2021-03-30 08:20:24,148 INFO [Thread-14556] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (CacheRefreshTimer.java:425) - Failed to update '0' entries ```

By Kateryna Mokliakova user 30 Mar 2021 at 7:20 a.m. CDT

Kateryna Mokliakova gravatar
Ok, i resolve the issue by adding attribute mapping e.g. cn=cn, sn=sn. Thank you anyway :)