char realm[REALM_SZ];
};
+
/*
** Free the space used by the opaque mechanism state pointer.
*/
free(state);
}
+
/*
** Check whether a file is a valid ticket for our user of interest. Returns
** a Kerberos status code (KSUCCESS on success).
return IDENT_USER_CANT_AUTH;
}
+
/*
** Start the responder side of an authentication exchange. This function
** doesn't send any data to the remote system. It just makes sure that we
return IDENT_AUTH_OKAY;
}
+
/*
** Perform responder-side authentication protocol exchange for Kerberos v4.
** It does mutual authentication if needed and then returns the status of the
return IDENT_AUTH_FAIL;
}
+
/*
** Send a traditional ident response, either the username or the UID
** depending on our flags if trivial authentication is enabled. If it's not,