diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php
index 89b652ad4b50d2613fba80170bb6c3abe95aea82..422e43fc003469c98a2569e93c9eaf835e2e18a5 100644
--- a/apps/user_ldap/lib/access.php
+++ b/apps/user_ldap/lib/access.php
@@ -854,7 +854,7 @@ abstract class Access {
 		}
 		$offset -= $limit;
 		//we work with cache here
-		$cachekey = 'lc' . dechex(crc32($base)) . '-' . dechex(crc32($filter)) . '-' . $limit . '-' . $offset;
+		$cachekey = 'lc' . crc32($base) . '-' . crc32($filter) . '-' . $limit . '-' . $offset;
 		$cookie = $this->connection->getFromCache($cachekey);
 		if(is_null($cookie)) {
 			$cookie = '';