Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpam/modules/pam_afslog Declare what we services provi...
details: https://anonhg.NetBSD.org/src/rev/91bf59260b5c
branches: trunk
changeset: 587322:91bf59260b5c
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 20 16:51:15 2006 +0000
description:
Declare what we services provide, otherwise pam assumes that we provide
everything and this breaks static linking.
diffstat:
lib/libpam/modules/pam_afslog/pam_afslog.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 1ece00db751d -r 91bf59260b5c lib/libpam/modules/pam_afslog/pam_afslog.c
--- a/lib/libpam/modules/pam_afslog/pam_afslog.c Fri Jan 20 15:41:28 2006 +0000
+++ b/lib/libpam/modules/pam_afslog/pam_afslog.c Fri Jan 20 16:51:15 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pam_afslog.c,v 1.1 2005/09/21 14:19:08 tsarna Exp $ */
+/* $NetBSD: pam_afslog.c,v 1.2 2006/01/20 16:51:15 christos Exp $ */
/*-
* Copyright 2005 Tyler C. Sarna <tsarna%netbsd.org@localhost>
@@ -30,11 +30,13 @@
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pam_afslog.c,v 1.1 2005/09/21 14:19:08 tsarna Exp $");
+__RCSID("$NetBSD: pam_afslog.c,v 1.2 2006/01/20 16:51:15 christos Exp $");
#include <krb5/krb5.h>
#include <krb5/kafs.h>
+#define PAM_SM_AUTH
+#define PAM_SM_CRED
#include <security/pam_appl.h>
#include <security/pam_modules.h>
#include <security/pam_mod_misc.h>
Home |
Main Index |
Thread Index |
Old Index