Unsigned integers of 32 bit length are not always normalised as signed ones. Especially then not when they are set over the LDAP server. In a concrete example that means that values over the 2 billions threshold don't become negative. The bug happens solely on x86_64 and comparable 64bit platforms.
This should have been fixed by commit 4ede333f468b36fb7435c9de1216da3b66bf0490.