X-Git-Url: http://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fpam%2Fafs_setcred.c;h=a6f73920f8d12edb66903e293ed6550fb8b8d66b;hp=5fa060f7d480f4f1a5c1ceeb54a076697119ac77;hb=e4c2810f;hpb=a4e3c3be697bb99ee4846c99550cd2b52929cdca diff --git a/src/pam/afs_setcred.c b/src/pam/afs_setcred.c index 5fa060f..a6f7392 100644 --- a/src/pam/afs_setcred.c +++ b/src/pam/afs_setcred.c @@ -60,7 +60,7 @@ pam_sm_setcred(pam_handle_t * pamh, int flags, int argc, const char **argv) struct passwd unix_pwd, *upwd = NULL; char upwd_buf[2048]; /* size is a guess. */ -#ifndef AFS_SUN56_ENV +#ifndef AFS_SUN5_ENV openlog(pam_afs_ident, LOG_CONS, LOG_AUTH); #endif origmask = setlogmask(logmask); @@ -150,8 +150,8 @@ pam_sm_setcred(pam_handle_t * pamh, int flags, int argc, const char **argv) /* enhanced: use "ignore_uid " to specify the largest uid * which should be ignored by this module */ -#if defined(AFS_HPUX_ENV) || defined(AFS_DARWIN100_ENV) || defined(AFS_SUN58_ENV) -#if defined(AFS_HPUX110_ENV) || defined(AFS_DARWIN100_ENV) || defined(AFS_SUN58_ENV) +#if defined(AFS_HPUX_ENV) || defined(AFS_DARWIN100_ENV) || defined(AFS_SUN5_ENV) +#if defined(AFS_HPUX110_ENV) || defined(AFS_DARWIN100_ENV) || defined(AFS_SUN5_ENV) i = getpwnam_r(user, &unix_pwd, upwd_buf, sizeof(upwd_buf), &upwd); #else /* AFS_HPUX110_ENV */ i = getpwnam_r(user, &unix_pwd, upwd_buf, sizeof(upwd_buf)); @@ -352,7 +352,7 @@ pam_sm_setcred(pam_handle_t * pamh, int flags, int argc, const char **argv) if (password && torch_password) memset(torch_password, 0, strlen(torch_password)); (void)setlogmask(origmask); -#ifndef AFS_SUN56_ENV +#ifndef AFS_SUN5_ENV closelog(); #endif return retcode;