0 Replies Latest reply on Feb 19, 2010 10:48 PM by 843810

    Communicating with server in C

      I am making java client application for one on school project, our server is written in C and uses kerberos authentication. On serverside is running function krb5_recvauth, which is expecting "Authentication Message Stream"
      (probably service ticket, but I can't be 100% sure). Other clients communicating with server are in C and they just use function krb5_sendauth and they are fine, however in java, I am not quite sure how to make it work.

      Basically I need same functionality as provides C function krb5_sendauth, but in java. So far I managed to authenticate, receive tgt, get tgs, but whatever I send to server (tgs), gets rejected. I don't want to use JNI unless I absolutely have to. Sorry for my english :)
      Does anyone have experience in this area? I would greatly appreciate any information and/or hints.