It isn't possible to use non-default credentials to init a context with a mechanism for which the credential doesn't have an element. That's exactly what was happening here. The code was left commented out to describe how one might use SPNEGO with delegated credentials: store them with gss_store_cred(), then acquire them back.
		
			
				
	
	
	
		
			31 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			31 KiB