HomeSort by: relevance | last modified time | path
    Searched refs:bv_val (Results 1 - 25 of 409) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/bsd/openldap/dist/servers/slapd/pwmods/
argon2.c 93 salt.bv_val = ber_memalloc( salt.bv_len );
95 if ( salt.bv_val == NULL ) {
99 if ( lutil_entropy( (unsigned char*)salt.bv_val, salt.bv_len ) ) {
100 ber_memfree( salt.bv_val );
104 p = hash->bv_val = ber_memalloc( scheme->bv_len + encoded_length );
106 ber_memfree( salt.bv_val );
110 AC_MEMCPY( p, scheme->bv_val, scheme->bv_len );
117 passwd->bv_val, passwd->bv_len,
118 salt.bv_val, salt_length, hash_length,
123 ber_memfree( salt.bv_val );
    [all...]
  /src/external/bsd/openldap/dist/servers/slapd/
referral.c 52 return targetDN ? ch_strdup( targetDN->bv_val ) : NULL;
56 bvin.bv_val = (char *)refDN;
71 return nrefDN.bv_len ? nrefDN.bv_val : ch_strdup( baseDN->bv_val );
77 ch_free( nrefDN.bv_val );
85 ch_free( nrefDN.bv_val );
86 ch_free( ntargetDN.bv_val );
91 ch_free( nrefDN.bv_val );
92 ch_free( nbaseDN.bv_val );
93 return ntargetDN.bv_val;
    [all...]
saslauthz.c 143 u = id->bv_val[ 0 ];
154 user->bv_val = ber_bvchr( id, ':' );
158 user->bv_val[ 0 ] = '\0';
159 user->bv_val++;
160 user->bv_len = id->bv_len - ( user->bv_val - id->bv_val );
162 if ( id->bv_val[1] == '.' ) {
163 id->bv_val[1] = '\0';
164 mech->bv_val = id->bv_val + 2
    [all...]
schema_init.c 259 if ( in->bv_val[0] != LBER_SEQUENCE ) return LDAP_INVALID_SYNTAX;
435 bvdn.bv_val = in->bv_val + len;
442 bvtu.bv_val = (char *)ber->ber_ptr;
498 thisUpdate.bv_val = tubuf;
507 issuer_dn.bv_val, thisUpdate.bv_val );
511 ber_memfree( issuer_dn.bv_val );
662 : memcmp( value->bv_val, asserted->bv_val, value->bv_len )
    [all...]
slapdn.c 77 dn.bv_val, rc,
87 printf( "%s\n", pdn.bv_val );
91 printf( "%s\n", ndn.bv_val );
98 dn.bv_val,
99 ndn.bv_val, pdn.bv_val );
103 ch_free( ndn.bv_val );
104 ch_free( pdn.bv_val );
slapacl.c 58 desc->ad_cname.bv_val,
62 "****" : val->bv_val ) : "",
105 bd->be_suffix ? bd->be_suffix[0].bv_val : "" );
136 authcID.bv_val, authcDN.bv_val );
145 authcID.bv_val, rc,
157 authcDN.bv_val, rc,
162 ch_free( authcDN.bv_val );
170 authzID.bv_val, authzDN.bv_val );
    [all...]
aci.c 174 switch ( *bv.bv_val ) {
262 if ( strncasecmp( val->bv_val, left.bv_val, left.bv_len ) == 0 ) {
290 bv.bv_val, attr->bv_val );
297 bv.bv_val, attr->bv_val );
310 bv.bv_val, mask );
414 bv.bv_val = (char *)&buf;
426 slap_sl_free( ndn.bv_val, op->o_tmpmemctx )
    [all...]
filter.c 214 op->o_connid, type.bv_val, err );
390 ssa.sa_initial.bv_val = NULL;
392 ssa.sa_final.bv_val = NULL;
404 op->o_connid, desc.bv_val, (long) rc );
420 desc.bv_val );
434 if ( value.bv_val == NULL || value.bv_len == 0 ) {
441 if ( ssa.sa_initial.bv_val != NULL
443 || ssa.sa_final.bv_val != NULL )
452 if ( ssa.sa_final.bv_val != NULL ) {
460 if ( ssa.sa_final.bv_val != NULL )
    [all...]
schema.c 91 vals[0].bv_val = ber_bvchr( &rdn, '=' );
93 if( vals[0].bv_val == NULL ) {
98 vals[0].bv_val++;
99 vals[0].bv_len = rdn.bv_len - (vals[0].bv_val - rdn.bv_val);
110 nvals[0].bv_val = ber_bvchr( &frontendDB->be_schemandn, '=' );
111 assert( nvals[0].bv_val != NULL );
112 nvals[0].bv_val++;
114 (nvals[0].bv_val - frontendDB->be_schemandn.bv_val);
    [all...]
  /src/external/bsd/openldap/dist/servers/slapd/back-asyncmeta/
map.c 92 rc = ldap_url_parse( a_vals[ i ].bv_val, &ludp );
110 if ( olddn.bv_val != dn.bv_val )
114 ludp->lud_dn = dn.bv_val;
116 dc->op->o_tmpfree( dn.bv_val, dc->memctx );
123 ber_memfree_x( a_vals[ i ].bv_val, dc->op->o_tmpmemctx );
126 ludp->lud_dn = olddn.bv_val;
146 if ( bv.bv_val != a_vals[i].bv_val ) {
147 ber_memfree_x( a_vals[i].bv_val, dc->memctx )
    [all...]
  /src/external/bsd/openldap/dist/servers/slapd/overlays/
rwmdn.c 64 if ( mdn.bv_val == in->bv_val && !BER_BVISNULL( ndn ) ) {
70 if ( mdn.bv_val != in->bv_val ) {
71 ch_free( mdn.bv_val );
97 if ( mdn.bv_val == in->bv_val && !BER_BVISNULL( pdn ) ) {
103 if ( mdn.bv_val != in->bv_val ) {
104 ch_free( mdn.bv_val );
    [all...]
  /src/external/bsd/openldap/dist/servers/slapd/back-sock/
extended.c 41 op->ore_reqoid.bv_val, op->o_req_dn.bv_val );
54 fprintf( fp, "oid: %s\n", op->ore_reqoid.bv_val );
59 b64.bv_val = op->o_tmpalloc( b64.bv_len + 1, op->o_tmpmemctx );
62 (unsigned char *) op->ore_reqdata->bv_val, op->ore_reqdata->bv_len,
63 b64.bv_val, b64.bv_len );
66 assert( strlen(b64.bv_val) == b64.bv_len );
68 fprintf( fp, "value: %s\n", b64.bv_val );
70 op->o_tmpfree( b64.bv_val, op->o_tmpmemctx );
  /src/external/bsd/openldap/dist/include/
lber_pvt.h 157 ? 1 : strncmp((v1)->bv_val, (v2)->bv_val, (v1)->bv_len) ))
166 ? 1 : strncasecmp((v1)->bv_val, (v2)->bv_val, (v1)->bv_len) ))
169 ( (v1)->bv_len == 1 && (v1)->bv_val[0] == (c) )
175 ((char *) memchr( (bv)->bv_val, (c), (bv)->bv_len ))
178 ((char *) lutil_memrchr( (bv)->bv_val, (c), (bv)->bv_len ))
182 (dst)->bv_val = memchr( (bv)->bv_val, (c), (bv)->bv_len ); \
183 (dst)->bv_len = (dst)->bv_val ? (bv)->bv_len - ((dst)->bv_val - (bv)->bv_val) : 0;
    [all...]
  /src/external/bsd/openldap/dist/libraries/liblutil/
passwd.c 178 for( s=(struct pw_scheme *)pw_schemes_default; s->name.bv_val; s++) {
201 bv.bv_val = strchr( scheme, '}' );
202 if ( !bv.bv_val )
205 bv.bv_len = bv.bv_val - scheme + 1;
206 bv.bv_val = (char *) scheme;
250 if( !is_allowed_scheme( scheme->name.bv_val, allowed ) ) {
255 if( strncasecmp( passwd->bv_val, scheme->name.bv_val, scheme->name.bv_len ) == 0 ) {
256 bv->bv_val = &passwd->bv_val[scheme->name.bv_len]
    [all...]
passfile.c 51 passwd->bv_val = NULL;
70 passwd->bv_val = (char *) ber_memalloc( passwd->bv_len + 1 );
71 if( passwd->bv_val == NULL ) {
82 char *p = (char *) ber_memrealloc( passwd->bv_val,
85 ber_memfree( passwd->bv_val );
86 passwd->bv_val = NULL;
93 passwd->bv_val = p;
96 nr = fread( &passwd->bv_val[nread], 1, nleft, f );
99 ber_memfree( passwd->bv_val );
100 passwd->bv_val = NULL
    [all...]
  /src/external/bsd/openldap/dist/contrib/slapd-modules/nssov/
service.c 64 buf->bv_len = snprintf(buf->bv_val, buf->bv_len, "(&%s(%s=%s)(%s=%s))",
65 mi->mi_filter.bv_val,
66 mi->mi_attrs[0].an_desc->ad_cname.bv_val, bv2.bv_val,
67 mi->mi_attrs[2].an_desc->ad_cname.bv_val, bv3.bv_val );
72 buf->bv_len = snprintf(buf->bv_val, buf->bv_len, "(&%s(%s=%s))",
73 mi->mi_filter.bv_val, mi->mi_attrs[0].an_desc->ad_cname.bv_val,
74 bv2.bv_val );
    [all...]
group.c 84 buf->bv_len = snprintf(buf->bv_val, buf->bv_len, "(&%s(%s=%s))",
85 cbp->mi->mi_filter.bv_val, cbp->mi->mi_attrs[UID_KEY].an_desc->ad_cname.bv_val,
86 cbp->user.bv_val );
91 buf->bv_len = snprintf(buf->bv_val, buf->bv_len, "(&%s(|(%s=%s)(%s=%s)))",
92 cbp->mi->mi_filter.bv_val,
93 cbp->mi->mi_attrs[UID_KEY].an_desc->ad_cname.bv_val, cbp->user.bv_val,
94 cbp->mi->mi_attrs[MEM_KEY].an_desc->ad_cname.bv_val, dn.bv_val );
    [all...]
passwd.c 84 char *name = bv->bv_val;
123 if (!strncmp(dn->bv_val,ad->ad_cname.bv_val,ad->ad_cname.bv_len) &&
124 dn->bv_val[ad->ad_cname.bv_len] == '=')
129 bv.bv_val = dn->bv_val + ad->ad_cname.bv_len + 1;
156 op->o_tmpfree( bv->bv_val, op->o_tmpmemctx );
189 op2.ors_filter = str2filter_x( op, filter.bv_val );
230 entry->e_name.bv_val, cbp->mi->mi_attrs[UID_KEY].an_desc->ad_cname.bv_val );
    [all...]
  /src/external/bsd/openldap/dist/servers/slapd/back-meta/
suffixmassage.c 76 ( dn->bv_val ? dn->bv_val : dmy ),
77 dc->conn, &res->bv_val ) )
80 if ( res->bv_val != NULL ) {
81 res->bv_len = strlen( res->bv_val );
88 BER_BVISNULL( dn ) ? "" : dn->bv_val,
89 BER_BVISNULL( res ) ? "" : res->bv_val );
110 if ( res->bv_val == dmy ) {
map.c 76 return ( strcasecmp( map1->src.bv_val, map2->src.bv_val ) );
85 return ( ( strcasecmp( map1->src.bv_val, map2->src.bv_val ) == 0 ) ? -1 : 0 );
219 na[j++] = mapped.bv_val;
234 na[j++] = mapped.bv_val;
292 if ( vtmp.bv_val != value->bv_val ) {
329 ber_memfree( vtmp.bv_val );
332 ber_memfree_x( vtmp.bv_val, memctx )
    [all...]
  /src/external/bsd/openldap/dist/contrib/slapd-modules/rbac/
rbacreq.c 66 ber_memfree( reqp->sessid.bv_val );
69 ber_memfree( reqp->tenantid.bv_val );
73 ber_memfree( reqp->uid.bv_val );
76 ber_memfree( reqp->authtok.bv_val );
83 ber_memfree( reqp->opname.bv_val );
86 ber_memfree( reqp->objname.bv_val );
89 ber_memfree( reqp->objid.bv_val );
  /src/external/bsd/openldap/dist/servers/slapd/back-sql/
util.c 80 assert( dest->bb_val.bv_val == NULL
81 || dest->bb_val.bv_len == strlen( dest->bb_val.bv_val ) );
88 if ( dest->bb_val.bv_val == NULL || dest->bb_len == 0 ) {
89 dest->bb_val.bv_val = (char *)ber_memalloc_x( BACKSQL_STR_GROW * sizeof( char ), memctx );
107 tmp_dest = (char *)ber_memrealloc_x( dest->bb_val.bv_val,
115 dest->bb_val.bv_val = tmp_dest;
124 AC_MEMCPY( dest->bb_val.bv_val + cdlen, cstr, cslen + 1 );
131 dest->bb_val.bv_val );
148 assert( dest->bb_val.bv_val == NULL
149 || dest->bb_val.bv_len == strlen( dest->bb_val.bv_val ) );
    [all...]
  /src/external/bsd/openldap/dist/libraries/librewrite/
escapemap.c 58 len = ldap_pvt_filter_value_unescape( output->bv_val );
60 ber_memfree( output->bv_val );
86 p = strchr( dnstr.bv_val, '=' );
89 output->bv_len = dnstr.bv_len - ( p - dnstr.bv_val );
90 output->bv_val = malloc( output->bv_len + 1 );
91 if ( output->bv_val == NULL ) {
92 free( dnstr.bv_val );
95 memcpy( output->bv_val, p, output->bv_len );
96 output->bv_val[output->bv_len] = '\0';
98 free( dnstr.bv_val );
    [all...]
  /src/external/bsd/openldap/dist/contrib/slapd-modules/ppm/
ppm_test.c 31 pEntry.e_nname.bv_val=argv[1];
32 pEntry.e_name.bv_val=argv[1];
49 pArg.bv_val = fcontent;
64 printf("Password failed checks : %s\n", errmsg.bv_val);
71 if (errmsg.bv_val != errbuf)
72 ber_memfree(errmsg.bv_val);
  /src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/sha2/
slapd-sha2.c 57 digest.bv_val = (char *) hash256;
59 salt.bv_val = saltdata;
62 if (lutil_entropy((unsigned char *)salt.bv_val, salt.bv_len) < 0) {
67 SHA256_Update(&ct, (const uint8_t*)passwd->bv_val, passwd->bv_len);
68 SHA256_Update(&ct, (const uint8_t*)salt.bv_val, salt.bv_len);
83 digest.bv_val = (char *) hash256;
87 SHA256_Update(&ct, (const uint8_t*)passwd->bv_val, passwd->bv_len);
105 digest.bv_val = (char *) hash384;
107 salt.bv_val = saltdata;
110 if (lutil_entropy((unsigned char *)salt.bv_val, salt.bv_len) < 0)
    [all...]

Completed in 116 milliseconds

1 2 3 4 5 6 7 8 91011>>