f71e3dc Add extension to set allowable enctypes

Authored and Committed by simo 11 years ago
    Add extension to set allowable enctypes
    
    The krb5 mechanism has a non standard extention to allow setting a list
    of allowed enctypes to use with a particular set of crdentials.
    This patch adds an extension, registerd by a client as a gssx_cred's
    option, so that at the first use of this crdentials the proxy can try
    to set the requsted options.
    
    For now failure to set the option is only logged in debug mode and
    the operation to import credentials does not fail if the allowed
    enctypes cannot be set.
    
    Signed-off-by: Simo Sorce <simo@redhat.com>
    Reviewed-by: Günther Deschner <gdeschner@redhat.com>
    
        
file modified
+39 -0