added getallitem support in rhel5 ldtpd