Lines Matching refs:ndn
56 meta_subtree_match( metatarget_t *mt, struct berval *ndn, int scope ) in meta_subtree_match() argument
63 if ( dnIsSuffix( ndn, &ms->ms_dn ) ) { in meta_subtree_match()
69 if ( dnIsSuffix( ndn, &ms->ms_dn ) && in meta_subtree_match()
70 ( ndn->bv_len > ms->ms_dn.bv_len || scope != LDAP_SCOPE_BASE ) ) in meta_subtree_match()
78 if ( regexec( &ms->ms_regex, ndn->bv_val, 0, NULL, 0 ) == 0 ) { in meta_subtree_match()
96 struct berval *ndn, in meta_back_is_candidate() argument
100 int d = ndn->bv_len - mt->mt_nsuffix.bv_len; in meta_back_is_candidate()
103 if ( !dnIsSuffix( ndn, &mt->mt_nsuffix ) ) { in meta_back_is_candidate()
119 int match = ( meta_subtree_match( mt, ndn, scope ) != NULL ); in meta_back_is_candidate()
144 rdn.bv_val = ndn->bv_val; in meta_back_is_candidate()
161 if ( !dnIsSuffix( &mt->mt_nsuffix, ndn ) ) { in meta_back_is_candidate()
197 struct berval *ndn ) in meta_back_select_unique_candidate() argument
204 if ( meta_back_is_candidate( mt, ndn, LDAP_SCOPE_BASE ) ) { in meta_back_select_unique_candidate()