2
* Copyright 2000, International Business Machines Corporation and others.
5
* This software has been released under the terms of the IBM Public
6
* License. For details, see the LICENSE file in the top-level source
7
* directory or online at http://www.openafs.org/dl/license10.html
10
#ifndef PAM_AFS_UTIL_H
11
#define PAM_AFS_UTIL_H
14
extern char *pam_afs_ident;
15
extern char *pam_afs_lh;
28
extern char* cv2string();
30
#define KLOG "/usr/afsws/bin/klog"
31
#define KLOGKRB "/usr/afsws/bin/klog.krb"
32
#define UNLOG "/usr/afsws/bin/unlog"
33
#define IGNORE_MAX 1000
35
#if defined(AFS_HPUX_ENV)
37
#if !defined(AFS_HPUX110_ENV)
38
#define PAM_NEW_AUTHTOK_REQD PAM_AUTHTOKEN_REQD
39
#endif /* ! AFS_HPUX110_ENV */
40
#define vsyslog(a,b,c) syslog(a,b,c)
41
#define pam_get_user(a,b,c) pam_get_item(a, PAM_USER, (void **)b)
42
#define pam_putenv(a,b) !PAM_SUCCESS
44
#endif /* AFS_HPUX_ENV */