Quantcast
Channel: Software Communities : Popular Discussions - All Things Unix
Viewing all articles
Browse latest Browse all 1046

URGENT: Accepting the same token using vas_gss_spnego_accept()

$
0
0
vas_gss_spnego_accept() is used to accept an excatly same token multiple times, passing the same parameters vas_ctx_t and vas_id_t. I assume that except the first time, all following times, vas_gss_spnego_accept() should return

GSS_S_DUPLICATE_TOKEN, but all the times, it just returns

GSS_S_COMPLETE


The same token is agenerated also by VAS API vas_gss_spnego_initiate() with the following bit turned on:

OM_uint32 flag = GSS_C_REPLAY_FLAG | // 4

GSS_C_SEQUENCE_FLAG | // 8

GSS_C_CONF_FLAG | // 16

GSS_C_INTEG_FLAG;// 32


In my code, how can i tell if the same token has been replayed?


Viewing all articles
Browse latest Browse all 1046

Trending Articles