#define GSSD_DEFAULT_CRED_PREFIX "krb5cc_"
#define GSSD_DEFAULT_MACHINE_CRED_SUFFIX "machine"
#define GSSD_DEFAULT_KEYTAB_FILE "/etc/krb5.keytab"
+#define GSSD_SERVICE_MGS "lustre_mgs"
#define GSSD_SERVICE_MDS "lustre_mds"
#define GSSD_SERVICE_OSS "lustre_oss"
#define GSSD_SERVICE_MDS_NAMELEN 10
-extern char pipefs_dir[PATH_MAX];
-extern char keytabfile[PATH_MAX];
-extern char ccachedir[PATH_MAX];
-extern char gethostname_ex[PATH_MAX];
-extern int use_memcache;
-
-TAILQ_HEAD(clnt_list_head, clnt_info) clnt_list;
+extern char *pipefs_dir;
+extern char *keytabfile;
+extern char *ccachedir;
+extern char gethostname_ex[PATH_MAX];
+extern int use_memcache;
struct clnt_info {
TAILQ_ENTRY(clnt_info) list;
void init_client_list(void);
int update_client_list(void);
void handle_krb5_upcall(struct clnt_info *clp);
-void handle_spkm3_upcall(struct clnt_info *clp);
void lgssd_run(void);
-
+struct clnt_info *clnt_list_first_entry(void);
extern int lgssd_mutex_downcall;