From: Derrick Brashear Date: Tue, 10 Oct 2006 04:23:39 +0000 (+0000) Subject: STABLE14-revert-aix5-curpag-20061009 X-Git-Tag: openafs-stable-1_4_2~16 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=19370fde66457d03d86dde9509eb362ea8cdb829;p=packages%2Fo%2Fopenafs.git STABLE14-revert-aix5-curpag-20061009 (cherry picked from commit 763dc42ff054dfd12c60aaf184271aedfffe589a) --- diff --git a/src/pam/afs_util.c b/src/pam/afs_util.c index c8c5f343e..e98618e7c 100644 --- a/src/pam/afs_util.c +++ b/src/pam/afs_util.c @@ -180,13 +180,6 @@ do_klog(const char *user, const char *password, const char *lifetime, static afs_int32 curpag(void) { -#if defined(AFS_AIX51_ENV) - afs_int32 pag; - - if (kcred_getpag(cred, PAG_AFS, &pag) < 0 || pag == 0) - pag = NOPAG; - return pag; -#else gid_t groups[NGROUPS_MAX]; afs_uint32 g0, g1; afs_uint32 h, l, ret;