mirror of
				https://salsa.debian.org/freeipa-team/freeipa.git
				synced 2025-02-25 18:55:28 -06:00 
			
		
		
		
	ipatests: add fuzzy instances for CA ACL DN and RDN
https://fedorahosted.org/freeipa/ticket/57 Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
		
				
					committed by
					
						 Martin Basti
						Martin Basti
					
				
			
			
				
	
			
			
			
						parent
						
							26bfc914d9
						
					
				
				
					commit
					30f0a034e1
				
			| @@ -77,6 +77,14 @@ fuzzy_sudocmddn = Fuzzy( | ||||
|     '(?i)ipauniqueid=%s,cn=sudocmds,cn=sudo,%s' % (uuid_re, api.env.basedn) | ||||
| ) | ||||
|  | ||||
| # Matches caacl dn | ||||
| fuzzy_caacldn = Fuzzy( | ||||
|     '(?i)ipauniqueid=%s,cn=caacls,cn=ca,%s' % (uuid_re, api.env.basedn) | ||||
| ) | ||||
|  | ||||
| # Matches fuzzy ipaUniqueID DN group (RDN) | ||||
| fuzzy_ipauniqueid = Fuzzy('(?i)ipauniqueid=%s' % uuid_re) | ||||
|  | ||||
| # Matches a hash signature, not enforcing length | ||||
| fuzzy_hash = Fuzzy('^([a-f0-9][a-f0-9]:)+[a-f0-9][a-f0-9]$', type=six.string_types) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user