-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Affects Version/s: None
-
Component/s: mysql-plugin
-
Security Level: Public (Visbile by non-authn users.)
-
None
VOMS MySQL plugin uses a signed long int for querying the user id, and return it to VOMS server, but an int should be used instead, as the MYSQL_LONG_TYPE is 4 bytes long.
The main consequence of this is that in the VOMS server log UID is logged using the wrong format:
LOG_INFO:REQUEST:makeAC (vomsd.cc:935):Userid = "-4294967169""
Probably the mistake in the type selection was caused by the misleading type name, see: