blob: bf0fa7158a2bf408402d13da8616177c7cff40cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ad,v 1.1 2005/05/25 22:09:40 gendalia Exp $
--- src/pam/afs_password.c.orig 2005-05-24 08:59:15.000000000 -0500
+++ src/pam/afs_password.c
@@ -134,7 +134,7 @@ pam_sm_chauthtok(pam_handle_t * pamh, in
RET(PAM_AUTH_ERR);
}
#else
-#if defined(AFS_LINUX20_ENV) || defined(AFS_FBSD_ENV)
+#if defined(AFS_LINUX20_ENV) || defined(AFS_FBSD_ENV) || defined(AFS_NBSD_ENV)
upwd = getpwnam(user);
#else
upwd = getpwnam_r(user, &unix_pwd, upwd_buf, sizeof(upwd_buf));
|