Added compatability for 32-Bit servers (use of string instead of int for PASREF)