> I have a little big question. The authentication is done to MIT KDCs, so > I will gain the necessary tickets (I will gain afs/cell@REALM > indirectly), but I don't know how how to gain the token from the > tickets. > > Can anyone point me to a document? The afslog program in Heimdal does ticket->token. It might help you to look at the Heimdal functions used by afslog. Harald.