I need to authenticate xrdp users against an Active Directory server. It's all related with PAM libraries but, unfortunately, I can't write the right one.

Where I can find PAM file to do this?

Thanks