INCFILES =\
$(INCFILEDIR)\auth.h \
$(INCFILEDIR)\cellconfig.h \
- $(INCFILEDIR)\keys.h
+ $(INCFILEDIR)\keys.h \
+ $(INCFILEDIR)\token.h
+
+############################################################################
+# rxgen on token.xg
+
+token.xdr.c: token.xg token.h
+ $(RXGEN) -x -c -o $@ token.xg
+
+token.h: token.xg
+ $(RXGEN) -x -h -u -o $@ token.xg
############################################################################
$(OUT)\acfg_errors.obj \
$(OUT)\ktc_errors.obj \
$(OUT)\ktc_nt.obj \
+ $(OUT)\token.obj \
+ $(OUT)\token.xdr.obj \
$(OUT)\AFS_component_version_number.obj
AFSDOBJS =\
#include <afs/vice.h>
#include "auth.h"
#include <afs/afsutil.h>
+#include "token.h"
/* TBUFFERSIZE must be at least 512 larger than KTCMAXTICKETSIZE */
#define TBUFFERSIZE 12512
}
int
+ktc_SetTokenEx(struct ktc_setTokenData *token)
+{
+ /* Not yet implemented */
+ return KTC_PIOCTLFAIL;
+}
+
+int
ktc_GetToken(struct ktc_principal *server, struct ktc_token *token,
int tokenLen, struct ktc_principal *client)
{
return 0;
}
+/*!
+ * Get a token, given the cell that we need to get information for
+ *
+ * @param cellName
+ * The name of the cell we're getting the token for - if NULL, we'll
+ * get information for the primary cell
+ */
+int
+ktc_GetTokenEx(char *cellName, struct ktc_setTokenData **tokenSet) {
+ return KTC_PIOCTLFAIL;
+}
+
int
ktc_ListTokens(int cellNum, int *cellNumP, struct ktc_principal *server)
{
ugen_ClientInit @140
afsconf_BuildServerSecurityObjects @141
afsconf_ClientAuthToken @142
-
+ ktc_GetTokenEx @143
+ ktc_SetTokenEx @144
+ token_extractRxkad @145
+ token_FreeSet @146
+ xdr_ktc_tokenUnion @147
+ xdr_ktc_setTokenData @148