Kris Kennaway <[EMAIL PROTECTED]> writes:
> I've just updated bento to 5.0, and sshd is now giving the following
> error every few seconds:
>
> <auth.err> bento sshd[55737]: in _openpam_check_error_code():
> pam_sm_setcred(): unexpected return value 24
>
> Peter says he's seen this elsewhere on the cluster.  What's going on?

*grumble* it's a bug in one of our PAM modules (krb5, I think), which
I never got around to fixing it because it isn't really important.
Error 24 is PAM_NO_MODULE_DATA, which isn't an allowed return value
for pam_setcred() according to the XSSO, but nobody really cares
because anything else than PAM_SUCCESS is an error, so the bug doesn't
have any adverse effect other than making OpenPAM bitch so I remember
to fix it :)

Workaround until I fix the module: in src/lib/libpam/libpam/Makefile,
add

CFLAGS          += -DOPENPAM_RELAX_CHECKS

somewhere around the other CFLAGS stuff, then make clean && make &&
make install.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to