How do i correctly set up PAM for kdewallet?

For pam_autologin, I found this thread on the forums. Maybe it will help: