license checking in PAM

Marcin Krzysztof Porwit mporwit at centeris.com
Fri Dec 22 19:34:41 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm working on a pam module for a commercial product, and as part of the
pam_sm_authenticate call, my module does a license check -- to make sure
the product is licensed, the license is not expired, and the like. I'm
trying to find a facility that will let me communicate some information
about the license status to the user attempting the login -- either
saying that there are X days remaining on the license, or that the
authentication failed due to license expiration issues.

So far I'm not finding a mechanism for passing this back to the caller.
Does such a beast exist?
- --
Marcin Krzysztof Porwit
mporwit at centeris.com

#include <stddisclaimer.h>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFjDNR4OZU6cX5VBERApf6AJ91WjcCXE1zCdrZ6obxv6lQRcY1pQCfdgcm
5sXZlw5L92QEsPSU0MMaqrA=
=ZbY+
-----END PGP SIGNATURE-----




More information about the Pam-list mailing list