//no cookie known, although the offset is not 0. Maybe cache run out. We need to start all over *sigh* (btw, Dear Reader, did you need LDAP paged searching was designed by MSFT?)
//no cookie known, although the offset is not 0. Maybe cache run out. We need to start all over *sigh* (btw, Dear Reader, did you need LDAP paged searching was designed by MSFT?)
$reOffset=($offset-$limit)<0?0:$offset-$limit;
$reOffset=($offset-$limit)<0?0:$offset-$limit;
//a bit recursive, $offset of 0 is the exit
//a bit recursive, $offset of 0 is the exit
\OCP\Util::writeLog('user_ldap','Looking for cookie L/O '.$limit.'/'.$reOffset,\OCP\Util::INFO);
\OCP\Util::writeLog('user_ldap','Looking for cookie L/O '.$limit.'/'.$reOffset,\OCP\Util::INFO);