diff options
| author | Ken Smith <kensmith@FreeBSD.org> | 2005-07-07 14:16:38 +0000 |
|---|---|---|
| committer | Ken Smith <kensmith@FreeBSD.org> | 2005-07-07 14:16:38 +0000 |
| commit | 2672e71736bc2f7d0e5d289320b486b646710342 (patch) | |
| tree | 710b8b002dddd551dd4f24a9841dfdb5fa2d4ee6 /lib | |
| parent | 8b3676f1a1a155a58e6ee111cd0b0125ac7d7303 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libpam/modules/pam_krb5/Makefile | 3 | ||||
| -rw-r--r-- | lib/libpam/modules/pam_krb5/pam_krb5.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lib/libpam/modules/pam_krb5/Makefile b/lib/libpam/modules/pam_krb5/Makefile index 9bbe345353a9..8d33284ffef5 100644 --- a/lib/libpam/modules/pam_krb5/Makefile +++ b/lib/libpam/modules/pam_krb5/Makefile @@ -27,6 +27,9 @@ LIB= pam_krb5 SRCS= pam_krb5.c MAN= pam_krb5.8 +.if defined(_FREEFALL_CONFIG) +CFLAGS+=-D_FREEFALL_CONFIG +.endif DPADD= ${LIBKRB5} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR} ${LIBCRYPT} ${LIBCRYPTO} LDADD= -lkrb5 -lasn1 -lroken -lcom_err -lcrypt -lcrypto diff --git a/lib/libpam/modules/pam_krb5/pam_krb5.c b/lib/libpam/modules/pam_krb5/pam_krb5.c index 2cfddbcb89a8..0ed57f93208a 100644 --- a/lib/libpam/modules/pam_krb5/pam_krb5.c +++ b/lib/libpam/modules/pam_krb5/pam_krb5.c @@ -333,6 +333,9 @@ PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh, int flags, int argc __unused, const char *argv[] __unused) { +#ifdef _FREEFALL_CONFIG + return (PAM_SUCCESS); +#else krb5_error_code krbret; krb5_context pam_context; @@ -570,6 +573,7 @@ cleanup3: free(cache_name_buf); return (retval); +#endif } /* |
