We have many files in /usr/etc/pam.d already, including login. They all work fine. Must be something special with the xdm configuration.