| /src/external/bsd/openldap/dist/servers/slapd/ |
| slapdn.c | 57 ndn = BER_BVNULL; local 67 rc = dnNormalize( 0, NULL, NULL, &dn, &ndn, NULL ); 71 rc = dnPrettyNormal( NULL, &dn, &pdn, &ndn, NULL ); 91 printf( "%s\n", ndn.bv_val ); 99 ndn.bv_val, pdn.bv_val ); 103 ch_free( ndn.bv_val );
|
| slapacl.c | 152 struct berval ndn; local 154 rc = dnNormalize( 0, NULL, NULL, &authcDN, &ndn, NULL ); 163 authcDN = ndn; 186 struct berval ndn; local 188 rc = dnNormalize( 0, NULL, NULL, &authzDN, &ndn, NULL ); 197 authzDN = ndn;
|
| limits.c | 103 struct berval *ndn = ndns[isthis]; local 108 if ( BER_BVISEMPTY( ndn ) ) { 113 ndn = &empty_dn; 120 &lm[0]->lm_pat, ndn, 127 if ( dn_match( &lm[0]->lm_pat, ndn ) ) { 138 /* ndn shorter than lm_pat */ 139 if ( ndn->bv_len < lm[0]->lm_pat.bv_len ) { 142 d = ndn->bv_len - lm[0]->lm_pat.bv_len; 151 if ( !DN_SEPARATOR( ndn->bv_val[d - 1] ) ) { 156 /* check that ndn ends with lm_pat * [all...] |
| passwd.c | 68 struct berval dn = BER_BVNULL, ndn = BER_BVNULL; local 112 rs->sr_err = dnPrettyNormal( NULL, &id, &dn, &ndn, op->o_tmpmemctx ); 120 op->o_req_ndn = ndn; 125 ber_dupbv_x( &ndn, &op->o_ndn, op->o_tmpmemctx ); 127 op->o_req_ndn = ndn; 344 if ( !BER_BVISNULL( &ndn ) ) { 345 op->o_tmpfree( ndn.bv_val, op->o_tmpmemctx );
|
| slapmodify.c | 148 struct berval ndn = BER_BVNULL; local 211 local_rc = dnNormalize( 0, NULL, NULL, &lr.lr_dn, &ndn, NULL ); 220 if( BER_BVISEMPTY( &ndn ) && 226 bd = select_backend( &ndn, nosubordinates ); 248 bd = select_backend( &ndn, nosubordinates ); 283 ber_dupbv( &e->e_nname, &ndn ); 289 id = be->be_dn2id_get( be, &ndn ); 302 progname, ndn.bv_val, lineno ); 584 rc = be->be_entry_delete( be, &ndn, &bvtext ); 591 "(line=%lu): %s\n", progname, request, ndn.bv_val [all...] |
| /src/external/bsd/openldap/dist/contrib/slapd-modules/allop/ |
| allop.c | 79 ndn; local 103 BER_BVZERO( &ndn ); 106 ber_str2bv( "", 0, 1, &ndn ); 112 rc = dnNormalize( 0, NULL, NULL, &dn, &ndn, NULL ); 120 if ( BER_BVISNULL( &ndn ) ) { 137 ao->ao_ndn = ndn;
|
| /src/external/bsd/openldap/dist/contrib/slapd-modules/samba4/ |
| pguid.c | 206 struct berval ndn; member in struct:pguid_mod_t 262 mod->ndn.bv_len = rs->sr_entry->e_nname.bv_len; 263 mod->ndn.bv_val = (char *)&mod[1]; 265 mod->pguid.bv_val = (char *)&mod->ndn.bv_val[mod->ndn.bv_len + 1]; 266 lutil_strncopy( mod->ndn.bv_val, rs->sr_entry->e_nname.bv_val, rs->sr_entry->e_nname.bv_len ); 358 op->o_req_dn = pmod->ndn; 359 op->o_req_ndn = pmod->ndn; 366 op->o_log_prefix, pmod->ndn.bv_val ); 371 op->o_log_prefix, pmod->ndn.bv_val, rs2.sr_err ) [all...] |
| rdnval.c | 187 struct berval *ndn, 213 if ( ldap_bv2rdn_x( ndn, &nrdn, 219 op->o_log_prefix, ndn->bv_val ); 408 struct berval ndn; member in struct:rdnval_mod_t 455 mod->ndn.bv_len = rs->sr_entry->e_nname.bv_len; 456 mod->ndn.bv_val = (char *)&mod[1]; 457 lutil_strncopy( mod->ndn.bv_val, rs->sr_entry->e_nname.bv_val, rs->sr_entry->e_nname.bv_len ); 550 op->o_req_dn = rmod->ndn; 551 op->o_req_ndn = rmod->ndn; 560 op->o_log_prefix, rmod->ndn.bv_val ) [all...] |
| vernum.c | 193 struct berval ndn; member in struct:vernum_mod_t 227 mod->ndn.bv_len = rs->sr_entry->e_nname.bv_len; 228 mod->ndn.bv_val = (char *)&mod[1]; 229 lutil_strncopy( mod->ndn.bv_val, rs->sr_entry->e_nname.bv_val, rs->sr_entry->e_nname.bv_len ); 324 op->o_req_dn = rmod->ndn; 325 op->o_req_ndn = rmod->ndn; 334 op->o_log_prefix, rmod->ndn.bv_val ); 339 op->o_log_prefix, rmod->ndn.bv_val, rs2.sr_err );
|
| /src/external/bsd/openldap/dist/contrib/slapd-modules/vc/ |
| vc.c | 193 struct berval ndn = BER_BVNULL; local 241 rc = dnNormalize( 0, NULL, NULL, &bdn, &ndn, op->o_tmpmemctx ); 312 conn->op->o_req_dn = ndn; 313 conn->op->o_req_ndn = ndn; 410 if ( !BER_BVISNULL( &ndn ) ) { 411 op->o_tmpfree( ndn.bv_val, op->o_tmpmemctx ); 412 BER_BVZERO( &ndn );
|
| /src/external/bsd/openldap/dist/servers/slapd/back-ldap/ |
| extended.c | 127 ndn = op->o_req_ndn; local 132 if ( BER_BVISNULL( &ndn ) && op->ore_reqdata != NULL ) { 171 &ndn, op->o_tmpmemctx ); 181 ndn = op->o_ndn; 185 isproxy = ber_bvcmp( &ndn, &op->o_ndn ); 281 op->o_tmpfree( ndn.bv_val, op->o_tmpmemctx );
|
| /src/external/bsd/openldap/dist/contrib/slapd-modules/rbac/ |
| rbacuser.c | 253 struct berval dn, ndn; local 255 rc = dnPrettyNormal( 0, &userp->dn, &dn, &ndn, NULL ); 270 op2.o_req_ndn = ndn; 303 ch_free( ndn.bv_val );
|
| /src/external/bsd/openldap/dist/servers/slapd/back-asyncmeta/ |
| conn.c | 459 struct berval *ndn ) 468 candidate = asyncmeta_select_unique_candidate( mi, ndn ); 543 struct berval ndn = op->o_req_ndn, local 586 dnParent( &ndn, &pndn ); 701 i = asyncmeta_get_candidate( op, rs, &ndn ); 738 "==>asyncmeta__getconn: got target=%d for ndn=\"%s\" from cache\n",
|
| bind.c | 646 struct berval ndn; local 671 ndn = op->o_req_ndn; 674 ndn = op->o_conn->c_ndn; 677 ndn = op->o_ndn; 706 if ( !BER_BVISNULL( &ndn ) && !BER_BVISEMPTY( &ndn ) ) { 718 if ( BER_BVISNULL( &ndn ) 740 if ( BER_BVISNULL( &ndn ) ) { 744 authcDN = ndn; 791 if ( BER_BVISNULL( &ndn ) ) { 1003 ndn; local [all...] |
| config.c | 710 struct berval ndn = BER_BVNULL; local 774 if ( dnNormalize( 0, NULL, NULL, &dn, &ndn, NULL ) 781 if ( !dnIsSuffix( &ndn, &mt->mt_nsuffix ) ) { 785 ber_memfree( ndn.bv_val ); 801 ms->ms_dn = ndn;
|
| /src/external/bsd/openldap/dist/servers/slapd/back-mdb/ |
| dn2id.c | 569 char dn[SLAP_LDAPDN_MAXLEN], ndn[SLAP_LDAPDN_MAXLEN], *ptr; local 584 nptr = ndn; 599 if (nptr > ndn) { 611 nname->bv_len = nptr - ndn; 616 memcpy( nname->bv_val, ndn, nname->bv_len );
|
| search.c | 64 struct berval ndn; local 101 if ( get_alias_dn(e, &ndn, &rs->sr_err, &rs->sr_text) ) { 106 rs->sr_err = mdb_dn2entry( op, txn, NULL, &ndn, &e, NULL, 0 );
|
| /src/external/bsd/openldap/dist/servers/slapd/back-wt/ |
| tools.c | 232 struct berval ndn = e->e_nname; local 238 if(ndn.bv_len == 0){ 243 rc = wt_dn2id(op, wc, &ndn, &id); 247 if ( !be_issuffix( op->o_bd, &ndn ) ) { 250 dnParent( &ndn, &npdn ); 255 e->e_nname = ndn; 610 struct berval *ndn, 626 assert ( ndn != NULL ); 627 assert ( ndn->bv_val != NULL ); 631 ndn->bv_val ) [all...] |
| /src/external/bsd/openldap/dist/servers/slapd/overlays/ |
| rwmmap.c | 908 ndn = BER_BVNULL; local 959 ndn = olddn; 961 &dn, &ndn ); 1006 ludp->lud_dn = ndn.bv_val; 1009 ch_free( ndn.bv_val ); 1067 ndn = BER_BVNULL; local 1103 ndn = (*pa_nvals)[i]; 1104 rc = rwm_dn_massage_pretty_normalize( &dc, &in[i], &dn, &ndn ); 1109 ndn = in[i]; 1110 rc = rwm_dn_massage_normalize( &dc, &in[i], &ndn ); 1258 struct berval pdn, ndn = BER_BVNULL; local [all...] |
| constraint.c | 390 struct berval dn, ndn; local 393 if (dnNormalize( 0, NULL, NULL, &dn, &ndn, NULL ) ) { 404 ap.lud->lud_dn = ndn.bv_val; 480 struct berval dn, ndn; local 484 if (dnNormalize(0, NULL, NULL, &dn, &ndn, NULL)) { 503 if (dnIsSuffix(&ndn, &c->be->be_nsuffix[j])) break; 515 ap.restrict_ndn = ndn;
|
| otp.c | 820 BerValue totpdn = BER_BVNULL, hotpdn = BER_BVNULL, ndn; local 854 ndn = totpdn; 864 ndn = hotpdn; 920 op2.o_req_dn = ndn; 921 op2.o_req_ndn = ndn;
|
| /src/external/bsd/openldap/dist/servers/slapd/back-meta/ |
| bind.c | 1300 struct berval ndn; local 1324 ndn = op->o_req_ndn; 1327 ndn = op->o_conn->c_ndn; 1330 ndn = op->o_ndn; 1359 if ( !BER_BVISNULL( &ndn ) && !BER_BVISEMPTY( &ndn ) ) { 1371 if ( BER_BVISNULL( &ndn ) 1393 if ( BER_BVISNULL( &ndn ) ) { 1397 authcDN = ndn; 1444 if ( BER_BVISNULL( &ndn ) ) { [all...] |
| conn.c | 902 struct berval *ndn ) 911 candidate = meta_back_select_unique_candidate( mi, ndn ); 926 /* try to get a unique match for the request ndn 929 op2.o_req_dn = *ndn; 930 op2.o_req_ndn = *ndn; 960 ndn, op->o_tag == LDAP_REQ_SEARCH ? op->ors_scope : LDAP_SCOPE_BASE ) ) 1047 struct berval ndn = op->o_req_ndn, local 1197 dnParent( &ndn, &pndn ); 1336 i = meta_back_get_candidate( op, rs, &ndn ); 1375 "==>meta_back_getconn: got target=%d for ndn=\"%s\" from cache\n" [all...] |
| /src/external/bsd/openldap/dist/contrib/slapd-modules/variant/ |
| variant.c | 68 struct berval dn, *ndn = &op->o_req_ndn; local 104 AC_MEMCPY( dest, ndn->bv_val + pmatch[i].rm_so, len ); 133 struct berval ndn = BER_BVNULL; local 159 rc = variant_build_dn( op, vai, nmatch, pmatch, &ndn ); 164 ndn = vai->dn; 172 db = select_backend( &ndn, 0 ); 175 rc = be_entry_get_rw( op, &ndn, NULL, vai->alternative, 0, &e ); 178 op, &ndn, NULL, vai->alternative, 0, &e, on ); 207 if ( backend_access( op, e, &ndn, vai->alternative, &nvals[i], 236 ch_free( ndn.bv_val ) 1070 struct berval dn, ndn; local [all...] |
| /src/external/bsd/openldap/dist/servers/slapd/back-sql/ |
| search.c | 2003 struct berval dn, pdn, ndn; local 2013 ret = dnPrettyNormal( NULL, &dn, &pdn, &ndn, op->o_tmpmemctx ); 2022 if ( bi->sql_baseObject && dn_match( &ndn, &bi->sql_baseObject->e_nname ) ) { 2045 c_id->eid_ndn = ndn; 2069 if ( !BER_BVISNULL( &ndn ) ) { 2070 op->o_tmpfree( ndn.bv_val, op->o_tmpmemctx ); 2657 struct berval *ndn, 2684 ndn,
|