Lines Matching refs:subtree
491 * Deduce the subtree information from the context. A realm can have
497 * actual subtree/s associated with the realm. The conditions are as
499 * 1. If the subtree information of the Realm is [Root] or NULL (that
500 * is internal a [Root]) then the realm has only one subtree
502 * 2. If the subtree information of the Realm is missing/absent, then the
505 * one subtree.
506 * 3. The subtree information of the realm is overlapping the realm
507 * container of the realm, then the realm has only one subtree and
508 * it is the subtree information associated with the realm.
516 char **subtree=NULL, *realm_cont_dn=NULL;
522 subtree = ldap_context->lrparams->subtree;
534 /* get the complete subtree list */
535 for (i=0; i<subtreecount && subtree[i]!=NULL; i++) {
536 subtarr[i] = strdup(subtree[i]);
1573 char **subtree = NULL, *ptr = NULL;
1606 if ((st = krb5_get_subtree_info(ldap_context, &subtree, &ntrees)) != 0)
1612 LDAP_SEARCH(subtree[i],
1639 if (subtree != NULL) {
1641 free (subtree[i]);
1642 free (subtree);
1786 /* remove overlapping and repeated subtree entries from the list of subtrees */
1793 char **subtree = listop;
1841 subtree[k] = strdup(listin[k]);
1842 if (subtree[k] == NULL) {