By: Gerald Korea user 06 Dec 2022 at 3:21 p.m. CST

4 Responses
Gerald Korea gravatar
Cache refresh should bring all users in my active directory over to the local ldap. When setup it only brought my user over no others, I have connection to the ad server I can check that through ldapsearch. I am using a generic user as the bind user that has full permissions on the active directory. the oxauth_cache_refresh.log shows 2022-12-06 21:20:48,214 INFO [Thread-164] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] ( - Found '1' entries in source server 2022-12-06 21:20:48,214 INFO [Thread-164] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] ( - Found '1' unique entries in source server 2022-12-06 21:20:48,215 INFO [Thread-164] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] ( - Found '0' changed entries 2022-12-06 21:20:48,216 INFO [Thread-164] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] ( - Loaded '0' problem entries from problem file 2022-12-06 21:20:48,276 INFO [Thread-164] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] ( - Updated '0' entries 2022-12-06 21:20:48,276 INFO [Thread-164] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] ( - Failed to update '0' entries 2022-12-06 21:20:48,276 INFO [Thread-164] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] ( - Removed '0' persons from target server 2022-12-06 21:20:48,276 INFO [Thread-164] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] ( - There are '1' entries before updating inum list 2022-12-06 21:20:48,277 INFO [Thread-164] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] ( - There are '1' entries after removal '0' entries 2022-12-06 21:20:48,277 INFO [Thread-164] [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] ( - There are '1' entries after adding '0' entries

By Michael Schwartz Account Admin 06 Dec 2022 at 3:25 p.m. CST

Michael Schwartz gravatar
Best to show all the screens and we can probably spot the config error.

By Mobarak Hosen Shakil staff 06 Dec 2022 at 10:39 p.m. CST

Mobarak Hosen Shakil gravatar
Hi, Gerald! It seems `Cache Refresh` server is running well. Did you check how many users are there in the given `base DN`? Regards ~ Shakil

By Gerald Korea user 07 Dec 2022 at 8:18 a.m. CST

Gerald Korea gravatar
Here is a count of the staff OU under CurrentUsers -- I also tried to narrow the search using a basedn of "ou=staff,ou=CurrentUsers,dc=wilkesu,dc=wilkes,dc=edu" but still no users being added but here is a count run from the server running gluu root@idp:/opt/gluu/jetty/identity/logs# ldapsearch -h -p 636 -Z -D "cn=ldapauth2,ou=CurrentUsers,dc=wilkesu,dc=wilkes,dc=edu" -w Wilkes2go -b "ou=staff,ou=CurrentUsers,dc=wilkesu,dc=wilkes,dc=edu" "(objectclass=person)" | grep "^dn:" | wc -l 1110 root@idp:/opt/gluu/jetty/identity/logs#

By Gerald Korea user 08 Dec 2022 at 8:14 a.m. CST

Gerald Korea gravatar
Fixed -- the issue was I needed to have samaccountname in the customer backend key attribute field