Lines Matching defs:be
22 * may not be used to endorse or promote products derived from this
71 static void print_acl(Backend *be, AccessControl *a);
74 static int check_scope( BackendDB *be, AccessControl *a );
196 check_scope( BackendDB *be, AccessControl *a )
201 dn = be->be_nsuffix[0];
221 AC_MEMCPY( dnbuf, be->be_nsuffix[0].bv_val,
222 be->be_nsuffix[0].bv_len );
223 dnbuf[be->be_nsuffix[0].bv_len] = '$';
224 dnbuf[be->be_nsuffix[0].bv_len + 1] = '\0';
237 while ( rebuflen > be->be_nsuffix[0].bv_len && rebuf[rebuflen - 1] == ')' ) {
240 if ( rebuflen == be->be_nsuffix[0].bv_len ) {
263 /* a style of one can be wrong if there is
325 Backend *be,
978 && be != NULL
979 && !BER_BVISNULL( &be->be_rootndn )
980 && dn_match( &bdn->a_pat, &be->be_rootndn ) )
1030 "%s: line %d: \"onelevel\" should be used "
1035 "%s: line %d: \"base\" should be used "
1255 "must be " SLAPD_DN_SYNTAX " (DN), "
1937 print_acl( be, a );
1948 if ( be != NULL ) {
1949 if ( be->be_nsuffix == NULL ) {
1954 } else if ( !BER_BVISNULL( &be->be_nsuffix[ 1 ] ) ) {
1961 switch ( check_scope( be, a ) ) {
1971 "ACL could be out of scope within backend naming context\n",
1977 "ACL appears to be partially out of scope within "
1984 "ACL appears to be out of scope within "
1993 acl_append( &be->be_acl, a, pos );
2315 * too much space should be an error if we are pedantic
2861 print_acl( Backend *be, AccessControl *a )
2867 be == NULL ? "Global" : "Backend", bv.bv_val );