~ubuntu-branches/debian/stretch/nfs-utils/stretch

« back to all changes in this revision

Viewing changes to utils/gssd/gssd.h

  • Committer: Package Import Robot
  • Author(s): Luk Claes
  • Date: 2012-05-25 20:41:58 UTC
  • mfrom: (1.2.22)
  • Revision ID: package-import@ubuntu.com-20120525204158-fte9hh32egwbk5g3
Tags: 1:1.2.6-1
* New upstream version
  - Remove 18-dont-use-PAGE_SIZE.patch: merged upstream.
  - Update other patches.
  - Install osd_login (part of the autologin feature).
    - Add open-iscsi and watchdog to Recommends.
* Check for blank exports file (Closes: #673798).
* Add 18-osd_login-sbindir.patch to avoid FTBFS
* Add 19-iscsiadm-path.patch so osd_login works

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
#define DNOTIFY_SIGNAL          (SIGRTMIN + 3)
46
46
 
47
47
#define GSSD_DEFAULT_CRED_DIR                   "/tmp"
 
48
#define GSSD_USER_CRED_DIR                      "/run/user"
48
49
#define GSSD_DEFAULT_CRED_PREFIX                "krb5cc_"
49
50
#define GSSD_DEFAULT_MACHINE_CRED_SUFFIX        "machine"
50
51
#define GSSD_DEFAULT_KEYTAB_FILE                "/etc/krb5.keytab"
55
56
/*
56
57
 * The gss mechanisms that we can handle
57
58
 */
58
 
enum {AUTHTYPE_KRB5, AUTHTYPE_SPKM3, AUTHTYPE_LIPKEY};
 
59
enum {AUTHTYPE_KRB5, AUTHTYPE_LIPKEY};
59
60
 
60
61
 
61
62
 
80
81
        char                    *protocol;
81
82
        int                     krb5_fd;
82
83
        int                     krb5_poll_index;
83
 
        int                     spkm3_fd;
84
 
        int                     spkm3_poll_index;
85
84
        int                     gssd_fd;
86
85
        int                     gssd_poll_index;
87
86
        struct sockaddr_storage addr;
98
97
void init_client_list(void);
99
98
int update_client_list(void);
100
99
void handle_krb5_upcall(struct clnt_info *clp);
101
 
void handle_spkm3_upcall(struct clnt_info *clp);
102
100
void handle_gssd_upcall(struct clnt_info *clp);
103
101
void gssd_run(void);
104
102