Home
last modified time | relevance | path

Searched refs:BER_BVISEMPTY (Results 1 – 25 of 109) sorted by relevance

12345

/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/nssov/
H A Dpam.c140 if (BER_BVISEMPTY(&pi->dn) && (ni->ni_pam_opts & NI_PAM_UID2DN)) { in pam_uid2dn()
142 if (!BER_BVISEMPTY(&pi->dn)) { in pam_uid2dn()
147 if (BER_BVISEMPTY(&pi->dn)) { in pam_uid2dn()
169 if (BER_BVISEMPTY(&pi->pwd)) { in pam_do_bind()
260 !BER_BVISEMPTY(&ni->ni_pam_password_prohibit_message)) { in pam_authc()
271 if (BER_BVISEMPTY(&pi.uid)) { in pam_authc()
272 if (BER_BVISEMPTY(&ni->ni_pam_pwdmgr_dn)) { in pam_authc()
293 if (BER_BVISEMPTY(&pi.pwd)) { in pam_authc()
294 if (BER_BVISEMPTY(&ni->ni_pam_pwdmgr_pwd)) { in pam_authc()
411 if (BER_BVISEMPTY(&hostdn) && in pam_authz()
[all …]
/netbsd-src/external/bsd/openldap/dist/servers/slapd/
H A Dbind.c65 if ( !BER_BVISEMPTY( &op->o_conn->c_dn ) ) { in do_bind()
256 if( BER_BVISNULL( &op->orb_mech ) || BER_BVISEMPTY( &op->orb_mech ) ) { in fe_op_bind()
306 if ( BER_BVISEMPTY( &op->orb_cred ) || BER_BVISEMPTY( &op->o_req_ndn ) ) { in fe_op_bind()
309 if( !BER_BVISEMPTY( &op->orb_cred ) && in fe_op_bind()
315 } else if ( !BER_BVISEMPTY( &op->o_req_ndn ) && in fe_op_bind()
525 if( !BER_BVISEMPTY( &op->orb_edn ) ) { in fe_op_bind_success()
534 if( !BER_BVISEMPTY( &op->o_conn->c_dn ) && op->o_conn->c_sb != 0 ) { in fe_op_bind_success()
H A Daclparse.c205 if ( BER_BVISEMPTY( &dn ) ) { in check_scope()
209 if ( !BER_BVISEMPTY( &a->acl_dn_pat ) || in check_scope()
360 if ( !BER_BVISEMPTY( &a->acl_dn_pat ) || in parse_acl()
385 if ( !BER_BVISEMPTY( &a->acl_dn_pat ) || in parse_acl()
488 if ( !BER_BVISEMPTY( &a->acl_attrval ) ) { in parse_acl()
494 if ( a->acl_attrs == NULL || !BER_BVISEMPTY( &a->acl_attrs[1].an_name ) ) in parse_acl()
656 if ( !BER_BVISEMPTY( &a->acl_dn_pat ) || in parse_acl()
931 if ( !BER_BVISEMPTY( &bdn->a_pat ) ) { in parse_acl()
1111 if ( !BER_BVISEMPTY( &b->a_group_pat ) ) { in parse_acl()
1272 if ( !BER_BVISEMPTY( &b->a_peername_pat ) ) { in parse_acl()
[all …]
H A Daci.c327 if ( attr == NULL || BER_BVISEMPTY( attr ) ) { in aci_list_get_rights()
545 if ( BER_BVISNULL( &op->o_ndn ) || BER_BVISEMPTY( &op->o_ndn ) ) { in aci_mask()
827 if ( BER_BVISEMPTY( &e->e_nname ) ) { in dynacl_aci_mask()
868 while ( !BER_BVISEMPTY( &parent_ndn ) ){ in dynacl_aci_mask()
1005 if ( BER_BVISEMPTY( bv ) ) { in bv_getcaseidx()
1264 len = nattrs.bv_len + ( !BER_BVISEMPTY( &nattrs ) ? STRLENOF( "," ) : 0 ) in OpenLDAPaciNormalizeRight()
1268 if ( !BER_BVISEMPTY( &nattrs ) ) { in OpenLDAPaciNormalizeRight()
1417 if ( BER_BVISEMPTY( val ) ) { in OpenLDAPaciValidate()
1536 if ( BER_BVISEMPTY( &subject ) ) { in OpenLDAPaciValidate()
1576 if ( BER_BVISEMPTY( val ) ) { in OpenLDAPaciPrettyNormal()
[all …]
H A Dbackend.c220 if ( !BER_BVISEMPTY( &be->be_rootndn ) in backend_startup_one()
770 if ( BER_BVISEMPTY( ndn ) || BER_BVISEMPTY( &be->be_rootndn ) ) { in be_isroot_dn()
797 if ( BER_BVISEMPTY( ndn ) || BER_BVISEMPTY( &be->be_update_ndn ) ) { in be_isupdate_dn()
854 if ( BER_BVISEMPTY( &op->o_bd->be_rootpw ) ) { in be_rootdn_bind()
1296 BER_BVISEMPTY( &op->o_ndn ) ) in backend_check_restrictions()
1305 ! ( op->o_conn->c_listener->sl_perms & ( !BER_BVISEMPTY( &op->o_ndn ) in backend_check_restrictions()
1324 || BER_BVISEMPTY( &op->o_dn ) ) in backend_check_restrictions()
1333 if( op->o_authtype != LDAP_AUTH_SASL || BER_BVISEMPTY( &op->o_dn ) ) { in backend_check_restrictions()
1341 if( BER_BVISEMPTY( &op->o_dn ) ) { in backend_check_restrictions()
1372 if ( !starttls && BER_BVISEMPTY( &op->o_dn ) ) { in backend_check_restrictions()
[all …]
H A Dacl.c758 if ( !BER_BVISEMPTY( opndn ) ) { in acl_mask_dn()
763 if ( BER_BVISEMPTY( opndn ) ) { in acl_mask_dn()
771 if ( BER_BVISEMPTY( opndn ) || BER_BVISNULL( &e->e_nname ) ) { in acl_mask_dn()
787 if ( BER_BVISEMPTY( &ndn ) ) { in acl_mask_dn()
793 if ( BER_BVISEMPTY( &ndn ) || !dn_match( &ndn, &selfndn ) ) in acl_mask_dn()
988 if ( BER_BVISEMPTY( &ndn ) ) { in acl_mask_dn()
1037 if ( BER_BVISEMPTY( opndn ) ) { in acl_mask_dnattr()
1181 if ( BER_BVISEMPTY( &op->o_ndn ) ) { in slap_acl_mask()
1197 if ( !BER_BVISEMPTY( &b->a_dn_pat ) ) { in slap_acl_mask()
1219 if ( !BER_BVISEMPTY( &b->a_realdn_pat ) ) { in slap_acl_mask()
[all …]
H A Dschema_init.c335 if ( BER_BVISNULL( in ) || BER_BVISEMPTY( in )) in certificateValidate()
880 if ( BER_BVISEMPTY( &sub->sa_any[i] ) ) { in octetStringSubstringsMatch()
1364 if( BER_BVISEMPTY( in ) ) return LDAP_SUCCESS; in nameUIDValidate()
1403 if( BER_BVISEMPTY( val ) ) { in nameUIDPretty()
1477 if ( BER_BVISEMPTY( &out ) ) { in uniqueMemberNormalize()
1552 if ( !BER_BVISEMPTY( asserted ) ) { in uniqueMemberMatch()
1568 if ( !BER_BVISEMPTY( value ) ) { in uniqueMemberMatch()
1638 if ( !BER_BVISEMPTY( &assertedDN ) ) { in uniqueMemberIndexer()
1680 if ( !BER_BVISEMPTY( asserted ) ) { in uniqueMemberFilter()
1823 if( BER_BVISEMPTY( in ) && syntax == slap_schema.si_syn_directoryString ) { in UTF8StringValidate()
[all …]
H A Dsearch.c145 !BER_BVISEMPTY( &op->ors_filterstr ) ? op->ors_filterstr.bv_val : "empty" ); in do_search()
306 if ( BER_BVISEMPTY( &op->o_req_ndn ) ) { in fe_op_search()
368 if( BER_BVISEMPTY( &op->o_req_ndn ) && !BER_BVISEMPTY( &default_search_nbase ) ) { in fe_op_search()
H A Dcontrols.c1193 && BER_BVISEMPTY( &op->o_ndn ) ) in parseProxyAuthz()
1208 if ( BER_BVISEMPTY( &ctrl->ldctl_value )) { in parseProxyAuthz()
1312 if ( BER_BVISEMPTY( &ctrl->ldctl_value ) ) { in parsePagedResults()
1395 if ( BER_BVISEMPTY( &ctrl->ldctl_value ) ) { in parseSortedResults()
1428 if ( BER_BVISEMPTY( &ctrl->ldctl_value )) { in parseAssert()
1499 if ( BER_BVISEMPTY( &ctrl->ldctl_value ) ) { in parseReadAttrs()
1612 if ( BER_BVISEMPTY( &ctrl->ldctl_value )) { in parseValuesReturnFilter()
1725 if ( !BER_BVISEMPTY( &ctrl->ldctl_value )) { in parseDomainScope()
1775 if ( BER_BVISEMPTY( &ctrl->ldctl_value )) { in parseSearchOptions()
1866 if ( BER_BVISEMPTY( &ctrl->ldctl_value ) ) { in parseSessionTracking()
[all …]
H A Dslapadd.c146 if( BER_BVISEMPTY( &e->e_nname ) && in getrec0()
147 !BER_BVISEMPTY( be->be_nsuffix )) in getrec0()
242 if ( BER_BVISEMPTY( &be->be_rootndn ) ) { in getrec0()
H A Dslapmodify.c220 if( BER_BVISEMPTY( &ndn ) && in slapmodify()
221 !BER_BVISEMPTY( be->be_nsuffix )) in slapmodify()
495 if ( BER_BVISEMPTY( &be->be_rootndn ) ) { in slapmodify()
H A Dextended.c285 BER_BVISEMPTY( ext_oid ) ) in load_extop2()
346 BER_BVISEMPTY( ext_oid ) ) in unload_extop()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-meta/
H A Dmap.c218 if ( !BER_BVISNULL( &mapped ) && !BER_BVISEMPTY( &mapped ) ) { in ldap_back_map_attrs()
233 if ( !BER_BVISNULL( &mapped ) && !BER_BVISEMPTY( &mapped ) ) { in ldap_back_map_attrs()
263 if ( BER_BVISNULL( mapped_attr ) || BER_BVISEMPTY( mapped_attr ) ) { in map_attr_value()
269 if ( BER_BVISNULL( mapped_attr ) || BER_BVISEMPTY( mapped_attr ) ) { in map_attr_value()
317 if ( BER_BVISNULL( &vtmp ) || BER_BVISEMPTY( &vtmp ) ) { in map_attr_value()
615 ( !BER_BVISEMPTY( &f->f_mr_rule_text ) ? f->f_mr_rule_text.bv_len + 1 : 0 ) + in ldap_back_int_filter_map_rewrite()
626 !BER_BVISEMPTY( &f->f_mr_rule_text ) ? ":" : "", in ldap_back_int_filter_map_rewrite()
627 !BER_BVISEMPTY( &f->f_mr_rule_text ) ? f->f_mr_rule_text.bv_val : "", in ldap_back_int_filter_map_rewrite()
700 ( !BER_BVISEMPTY( &ftmp ) ? ftmp.bv_val : dmy ), in ldap_back_filter_map_rewrite()
H A Dcompare.c88 if ( BER_BVISNULL( &mapped_value ) || BER_BVISEMPTY( &mapped_value ) ) { in meta_back_compare()
99 if ( BER_BVISNULL( &mapped_attr ) || BER_BVISEMPTY( &mapped_attr ) ) { in meta_back_compare()
H A Dconn.c621 if ( !BER_BVISEMPTY( &op->o_ndn ) in meta_back_init_one_conn()
782 !BER_BVISEMPTY( &msc->msc_bound_ndn ) ) in meta_back_retry()
1101 if ( ( !BER_BVISEMPTY( &op->o_ndn ) && META_BACK_PROXYAUTHZ_ALWAYS( mi ) ) in meta_back_getconn()
1102 || ( BER_BVISEMPTY( &op->o_ndn ) && META_BACK_PROXYAUTHZ_ANON( mi ) ) in meta_back_getconn()
1109 } else if ( BER_BVISEMPTY( &op->o_ndn ) && META_BACK_PROXYAUTHZ_NOANON( mi ) ) in meta_back_getconn()
1119 if ( !BER_BVISEMPTY( &op->o_ndn ) in meta_back_getconn()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-asyncmeta/
H A Dbind.c480 && !BER_BVISEMPTY( &op->o_req_ndn ) ) in asyncmeta_single_bind()
697 if ( !BER_BVISNULL( &ndn ) && !BER_BVISEMPTY( &ndn ) ) { in asyncmeta_back_proxy_authz_cred()
698 if ( !BER_BVISNULL( &mt->mt_idassert_authcDN ) && !BER_BVISEMPTY( &mt->mt_idassert_authcDN ) ) in asyncmeta_back_proxy_authz_cred()
902 if ( !BER_BVISEMPTY( binddn ) ) { in asyncmeta_back_proxy_authz_cred()
990 if ( ( BER_BVISNULL( &si->si_bc.sb_authcId ) || BER_BVISEMPTY( &si->si_bc.sb_authcId ) ) in asyncmeta_back_proxy_authz_ctrl()
991 && ( BER_BVISNULL( &si->si_bc.sb_binddn ) || BER_BVISEMPTY( &si->si_bc.sb_binddn ) ) in asyncmeta_back_proxy_authz_ctrl()
1503 BER_BVISEMPTY( &msc->msc_bound_ndn ) || in asyncmeta_dobind_init()
1550 if ( !BER_BVISEMPTY( &binddn ) && BER_BVISEMPTY( &cred ) ) { in asyncmeta_dobind_init()
1557 } else if ( BER_BVISEMPTY( &binddn ) && !BER_BVISEMPTY( &cred ) ) { in asyncmeta_dobind_init()
H A Dconn.c413 if ( !BER_BVISEMPTY( &op->o_ndn ) in asyncmeta_init_one_conn()
555 if ( ( !BER_BVISEMPTY( &op->o_ndn ) && META_BACK_PROXYAUTHZ_ALWAYS( mi ) ) in asyncmeta_getconn()
556 || ( BER_BVISEMPTY( &op->o_ndn ) && META_BACK_PROXYAUTHZ_ANON( mi ) ) in asyncmeta_getconn()
562 } else if ( BER_BVISEMPTY( &op->o_ndn ) && META_BACK_PROXYAUTHZ_NOANON( mi ) ) in asyncmeta_getconn()
569 if ( !BER_BVISEMPTY( &op->o_ndn ) in asyncmeta_getconn()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/slapi/
H A Dslapi_dn.c275 return ( BER_BVISEMPTY( &sdn->dn ) && BER_BVISEMPTY( &sdn->ndn ) ); in slapi_sdn_isempty()
581 return ( BER_BVISEMPTY( &rdn->bv ) ); in slapi_rdn_isempty()
590 if ( !BER_BVISEMPTY( &rdn->bv ) ) { in slapi_rdn_add()
596 if ( BER_BVISEMPTY( &rdn->bv ) ) { in slapi_rdn_add()
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/authzid/
H A Dauthzid.c184 if ( !BER_BVISEMPTY( &op->orb_edn ) ) { in authzid_response()
187 } else if ( !BER_BVISEMPTY( &op->o_conn->c_dn ) ) { in authzid_response()
191 if ( !BER_BVISEMPTY( &edn ) ) { in authzid_response()
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/rbac/
H A Drbacaudit.c177 if ( reqp && !BER_BVISEMPTY( &reqp->opname ) ) { in rbac_audit()
181 if ( reqp && !BER_BVISEMPTY( &reqp->objname ) ) { in rbac_audit()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-dnssrv/
H A Dbind.c61 !BER_BVISEMPTY( &op->orb_cred ) ) in dnssrv_back_bind()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/
H A Drefint.c175 if ( !BER_BVISEMPTY( &dd->nothing )) { in refint_cf_gen()
186 if ( !BER_BVISEMPTY( &dd->refint_dn )) { in refint_cf_gen()
518 if ( BER_BVISEMPTY( &rq->newdn ) ) in refint_search_cb()
545 if ( !BER_BVISEMPTY( &rq->newdn ) ) { in refint_search_cb()
679 if ( ra->dont_empty || !BER_BVISEMPTY( &rq->newdn ) ) { in refint_repair()
699 if ( BER_BVISEMPTY( &rq->newdn ) ) { in refint_repair()
H A Drwmconf.c349 if ( BER_BVISEMPTY( pvnc ) ) { in rwm_suffix_massage_config()
372 if ( BER_BVISEMPTY( prnc ) ) { in rwm_suffix_massage_config()
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/proxyOld/
H A DproxyOld.c90 if ( BER_BVISEMPTY( &dn )) { in proxyOld_parse()
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/samba4/
H A Drdnval.c63 && !BER_BVISEMPTY( value ) ) in rdnval_is_valid()
312 if ( BER_BVISEMPTY( &op->ora_e->e_nname ) ) { in rdnval_op_add()
398 if ( BER_BVISNULL( &be->be_rootndn ) || BER_BVISEMPTY( &be->be_rootndn ) ) { in rdnval_db_init()

12345