su in shadow-4.0.[5-7] shows "System error"

[email protected] Wed, 26 Jan 2005 18:38:18 +0300
Newsgroups gmane.linux.pld.shadow.general
Message-ID <[email protected]>
Hello!

I have the following problem running su from current shadow:

It exits with "System error" message.
And the following line in syslog: su[NNNN]: pam_open_session: System error

su from shadow-4.0.4.1 works fine.

Version info:
Linux 2.6.x
GCC 3.4.3
Linux-PAM-0.78-Beta1
shadow-4.0.7

Best Regards,
Igor