The attached document explains how to configure PAM to connect to Citrix and how to configure Citrix to run the PAM Client.