mirror of
				https://github.com/samba-team/samba.git
				synced 2025-10-31 12:23:52 +03:00 
			
		
		
		
	s3-libnet: Allow the keytab function to use a relative path
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
		
				
					committed by
					
						 Stefan Metzmacher
						Stefan Metzmacher
					
				
			
			
				
	
			
			
			
						parent
						
							c2f5c30bea
						
					
				
				
					commit
					eb880ccc7c
				
			| @@ -81,7 +81,10 @@ krb5_error_code libnet_keytab_init(TALLOC_CTX *mem_ctx, | ||||
| 		return ret; | ||||
| 	} | ||||
|  | ||||
| 	ret = smb_krb5_open_keytab(context, keytab_name, true, &keytab); | ||||
| 	ret = smb_krb5_open_keytab_relative(context, | ||||
| 					    keytab_name, | ||||
| 					    true, /* write_access */ | ||||
| 					    &keytab); | ||||
| 	if (ret) { | ||||
| 		DEBUG(1,("keytab_init: smb_krb5_open_keytab failed (%s)\n", | ||||
| 			error_message(ret))); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user