917 |
>>> is_ldap_base('cn=foo,c=ZZ,dc=foo,dc=bar') |
917 |
>>> is_ldap_base('cn=foo,c=ZZ,dc=foo,dc=bar') |
921 |
return match is not None and not any(part.upper().startswith('C=') and not part.upper()[2:] in is_ldap_base.CC for part in ldap.dn.explode_dn(ldap_base)) |
923 |
return match is not None and not any(part.upper().startswith('C=') and not part.upper()[2:] in is_ldap_base.CC for part in ldap.dn.explode_dn(ldap_base)) |