A client process can request that its credentials be forwarded to the target by setting the GSS_C_DELEG_FLAG at context initialization.
However this is not desirable if gssproxy is being used to prevent the caller from getting access to credentials, because in that case, normally the caller should also be prevented from exposing them to the target.
A default list of flags forcibly on or forcibly off should be created and a configuration option to forcibly add or forcibly remove flags should be created.
The option should be something like:
init_flags = +GSS_C_DELEG_FLAG or also init_flags = +0x0001
The second notation can be used in in future new flags that do not have a name in the binry are introduced that needs tweaking.
Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1031710
Reviewed & pushed to master. Thanks.
Fixed in 6a096c0 and 3df6ac8
Metadata Update from @simo: - Issue assigned to gd - Issue set to the milestone: 2013 November