~ubuntu-branches/ubuntu/warty/openafs/warty

« back to all changes in this revision

Viewing changes to src/pam/afs_util.h

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2004-01-10 16:37:33 UTC
  • Revision ID: james.westby@ubuntu.com-20040110163733-jvr0n1uahshlb1uu
Tags: upstream-1.2.11
ImportĀ upstreamĀ versionĀ 1.2.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2000, International Business Machines Corporation and others.
 
3
 * All Rights Reserved.
 
4
 * 
 
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
 
8
 */
 
9
 
 
10
#ifndef PAM_AFS_UTIL_H
 
11
#define PAM_AFS_UTIL_H
 
12
 
 
13
 
 
14
extern  char    *pam_afs_ident;
 
15
extern  char    *pam_afs_lh;
 
16
 
 
17
 
 
18
void lc_cleanup(
 
19
        pam_handle_t    *pamh,
 
20
        void            *data,
 
21
        int             pam_end_status);
 
22
 
 
23
void nil_cleanup(
 
24
        pam_handle_t    *pamh,
 
25
        void            *data,
 
26
        int             pam_end_status);
 
27
 
 
28
extern char*    cv2string();
 
29
 
 
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
 
34
 
 
35
#if     defined(AFS_HPUX_ENV)
 
36
 
 
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
 
43
 
 
44
#endif  /* AFS_HPUX_ENV */
 
45
 
 
46
#endif