directory-kerby mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng, Kai" <>
Subject RE: How to request a forwardable ticket?
Date Wed, 18 Nov 2015 02:32:50 GMT
Hi Marc,

There're recent contribution fixes related to this from Steve. Would you checkout and update
to the latest codes?

commit c3c778f3af0fe2a187c10447682bf12b9bed7c6d
Author: plusplusjiajia <>
Date:   Tue Nov 17 15:08:59 2015 +0800

    DIRKRB-449 Fix the bit manipulation functions in KrbFlags. Contributed by Steve.


-----Original Message-----
From: Marc Boorshtein [] 
Sent: Wednesday, November 18, 2015 10:27 AM
Subject: How to request a forwardable ticket?

I can't seem to workout how to specify any options for a ticket.  For s4u the TGT and SGTs
need to be forwardable.  Here's my code so far:

KOptions requestOptions = new KOptions();


        requestOptions.add(KrbOption.USE_KEYTAB, true);

        requestOptions.add(KrbOption.KEYTAB_FILE, new File( "/Users/mlb/Documents/localdev.keytab"));


TgtTicket tgt = kerb.requestTgtWithOptions(requestOptions);

Looking at the code it doesn't look like the options are ever picked up.
Any thoughts on how to set the forwardable flag?


View raw message