kdc: Pass in HDB_F_ARMOR_PRINCIPAL when fetching armor ticket client principal
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:
		 Joseph Sutton
					Joseph Sutton
				
			
				
					committed by
					
						 Nico Williams
						Nico Williams
					
				
			
			
				
	
			
			
			 Nico Williams
						Nico Williams
					
				
			
						parent
						
							79f47ab3f3
						
					
				
				
					commit
					1b954faeeb
				
			| @@ -845,6 +845,7 @@ _kdc_fast_check_armor_pac(astgs_request_t r, int flags) | |||||||
|     hdb_entry *armor_client = NULL; |     hdb_entry *armor_client = NULL; | ||||||
|     char *armor_client_principal_name = NULL; |     char *armor_client_principal_name = NULL; | ||||||
|  |  | ||||||
|  |     flags |= HDB_F_ARMOR_PRINCIPAL; | ||||||
|     if (_kdc_synthetic_princ_used_p(r->context, r->armor_ticket)) |     if (_kdc_synthetic_princ_used_p(r->context, r->armor_ticket)) | ||||||
| 	flags |= HDB_F_SYNTHETIC_OK; | 	flags |= HDB_F_SYNTHETIC_OK; | ||||||
|     if (r->req.req_body.kdc_options.canonicalize) |     if (r->req.req_body.kdc_options.canonicalize) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user