X-Git-Url: http://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fpam%2Fafs_auth.c;h=8bdc1074f25c4860310457b6ed2d5a675111f753;hp=9051cc4df42006ab656452f1ae58095a248e0007;hb=e4c2810f;hpb=a4e3c3be697bb99ee4846c99550cd2b52929cdca diff --git a/src/pam/afs_auth.c b/src/pam/afs_auth.c index 9051cc4..8bdc107 100644 --- a/src/pam/afs_auth.c +++ b/src/pam/afs_auth.c @@ -69,7 +69,7 @@ pam_sm_authenticate(pam_handle_t * pamh, int flags, int argc, struct sigaction newAction, origAction; -#ifndef AFS_SUN56_ENV +#ifndef AFS_SUN5_ENV openlog(pam_afs_ident, LOG_CONS | LOG_PID, LOG_AUTH); #endif origmask = setlogmask(logmask); @@ -171,8 +171,8 @@ pam_sm_authenticate(pam_handle_t * pamh, int flags, int argc, /* 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)); @@ -413,7 +413,7 @@ pam_sm_authenticate(pam_handle_t * pamh, int flags, int argc, memset(torch_password, 0, strlen(torch_password)); } (void)setlogmask(origmask); -#ifndef AFS_SUN56_ENV +#ifndef AFS_SUN5_ENV closelog(); #endif return retcode;